1lib_LTLIBRARIES=libevdev.la 2 3AM_CPPFLAGS = $(GCC_CFLAGS) $(GCOV_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir) 4AM_LDFLAGS = $(GCOV_LDFLAGS) 5 6libevdev_la_SOURCES = \ 7 libevdev.h \ 8 libevdev-int.h \ 9 libevdev-util.h \ 10 libevdev-uinput.c \ 11 libevdev-uinput.h \ 12 libevdev-uinput-int.h \ 13 libevdev.c \ 14 libevdev-names.c \ 15 ../include/linux/input.h \ 16 ../include/linux/uinput.h \ 17 ../include/linux/@OS@/input-event-codes.h \ 18 ../include/linux/@OS@/input.h \ 19 ../include/linux/@OS@/uinput.h 20 21libevdev_la_LDFLAGS = \ 22 $(AM_LDFLAGS) \ 23 -version-info $(LIBEVDEV_LT_VERSION) \ 24 -Wl,--version-script="$(srcdir)/libevdev.sym" \ 25 $(GNU_LD_FLAGS) 26 27EXTRA_libevdev_la_DEPENDENCIES = $(srcdir)/libevdev.sym 28 29libevdevincludedir = $(includedir)/libevdev-1.0/libevdev 30libevdevinclude_HEADERS = libevdev.h libevdev-uinput.h 31 32event-names.h: Makefile make-event-names.py 33 $(PYTHON) $(srcdir)/make-event-names.py $(top_srcdir)/include/linux/@OS@/input.h $(top_srcdir)/include/linux/@OS@/input-event-codes.h > $@ 34 35 36EXTRA_DIST = make-event-names.py libevdev.sym 37CLEANFILES = event-names.h 38BUILT_SOURCES = event-names.h 39 40if GCOV_ENABLED 41CLEANFILES += *.gcno 42endif 43