mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-30 18:50:09 +01:00
Older kernels don't have UI_GET_SYSNAME, and upstream is adding a few more ioctls to the uinput code. So ship the header we're using to avoid compilation errors. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
33 lines
1,015 B
Makefile
33 lines
1,015 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 \
|
|
../include/linux/uinput.h
|
|
|
|
libevdev_la_LDFLAGS = \
|
|
-version-info $(LIBEVDEV_LT_VERSION) \
|
|
-Wl,--version-script="$(srcdir)/libevdev.sym" \
|
|
$(GNU_LD_FLAGS)
|
|
|
|
EXTRA_libevdev_la_DEPENDENCIES = $(srcdir)/libevdev.sym
|
|
|
|
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 $(top_srcdir)/include/linux/input.h > $@
|
|
|
|
EXTRA_DIST = make-event-names.py libevdev.sym
|
|
CLEANFILES = event-names.h
|
|
BUILT_SOURCES = event-names.h
|
|
|