mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-28 17:50:08 +01:00
Directly compile libevdev sources
This avoids messing around with libtool for debugging. I may revert this once the library is actually slightly stable, but for now this makes things easier. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a2e058bc8b
commit
ad8e0d2857
1 changed files with 8 additions and 5 deletions
|
|
@ -2,16 +2,19 @@ noinst_PROGRAMS = test-event-names test-libevdev-init test-libevdev-has-event
|
|||
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
|
||||
common_sources = test-common-uinput.c test-common-uinput.h
|
||||
libevdev_sources = $(top_srcdir)/libevdev/libevdev.c \
|
||||
$(top_srcdir)/libevdev/libevdev.h \
|
||||
$(top_srcdir)/libevdev/libevdev-util.h \
|
||||
$(top_srcdir)/libevdev/libevdev-int.h
|
||||
common_sources = $(libevdev_sources) test-common-uinput.c test-common-uinput.h
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/libevdev $(CHECK_CFLAGS)
|
||||
libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la
|
||||
|
||||
test_event_names_SOURCES = test-event-names.c $(common_sources)
|
||||
test_event_names_LDADD = $(libevdev_ldadd) $(CHECK_LIBS)
|
||||
test_event_names_LDADD = $(CHECK_LIBS)
|
||||
|
||||
test_libevdev_init_SOURCES = test-libevdev-init.c $(common_sources)
|
||||
test_libevdev_init_LDADD = $(libevdev_ldadd) $(CHECK_LIBS)
|
||||
test_libevdev_init_LDADD = $(CHECK_LIBS)
|
||||
|
||||
test_libevdev_has_event_SOURCES = test-libevdev-has-event.c $(common_sources)
|
||||
test_libevdev_has_event_LDADD = $(libevdev_ldadd) $(CHECK_LIBS)
|
||||
test_libevdev_has_event_LDADD = $(CHECK_LIBS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue