We recompile the sources anyway in the tests and we have our own CFLAGS there. Drop them from the main library code so we don't leave gcov files everywhere. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
31 lines
923 B
Makefile
31 lines
923 B
Makefile
lib_LTLIBRARIES=libevdev.la
|
|
|
|
AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
|
|
|
|
libevdev_la_SOURCES = \
|
|
libevdev.h \
|
|
libevdev-int.h \
|
|
libevdev-util.h \
|
|
libevdev-uinput.c \
|
|
libevdev-uinput.h \
|
|
libevdev-uinput-int.h \
|
|
libevdev.c \
|
|
libevdev-names.c \
|
|
../include/linux/input.h
|
|
|
|
libevdev_la_LDFLAGS = \
|
|
-version-info $(LIBEVDEV_LT_VERSION) \
|
|
-export-symbols-regex '^libevdev_|^LIBEVDEV_' \
|
|
$(GNU_LD_FLAGS)
|
|
|
|
libevdevincludedir = $(includedir)/libevdev-1.0/libevdev
|
|
libevdevinclude_HEADERS = libevdev.h libevdev-uinput.h
|
|
|
|
event-names.h: Makefile make-event-names.py
|
|
$(PYTHON) $(srcdir)/make-event-names.py --output=c $(top_srcdir)/include/linux/input.h > $@
|
|
|
|
EXTRA_DIST = make-event-names.py
|
|
CLEANFILES = event-names.h
|
|
BUILT_SOURCES = event-names.h
|
|
|