mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-08 01:10:16 +01:00
This tool will eventually replace the different libinput tools we ship atm with the various functionalities being commands to the single tool, rather than multiple tools. Right now, we still build both tools separately. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
54 lines
1.9 KiB
Makefile
54 lines
1.9 KiB
Makefile
noinst_PROGRAMS = event-debug ptraccel-debug
|
|
bin_PROGRAMS = libinput-list-devices libinput-debug-events libinput
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_builddir)/src # for libinput-version.h
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
AM_CXXFLAGS = $(GCC_CXXFLAGS)
|
|
|
|
shared_sources = \
|
|
shared.c \
|
|
shared.h
|
|
|
|
event_debug_SOURCES = libinput-debug-events.c $(shared_sources)
|
|
event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
|
event_debug_LDFLAGS = -no-install
|
|
event_debug_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) $(LIBEVDEV_CFLAGS)
|
|
|
|
ptraccel_debug_SOURCES = ptraccel-debug.c
|
|
ptraccel_debug_LDADD = ../src/libfilter.la ../src/libinput.la
|
|
ptraccel_debug_LDFLAGS = -no-install
|
|
|
|
libinput_list_devices_SOURCES = libinput-list-devices.c $(shared_sources)
|
|
libinput_list_devices_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
|
libinput_list_devices_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) $(LIBEVDEV_CFLAGS) \
|
|
-DTOOLS_BUILD_STANDALONE=1
|
|
dist_man1_MANS = libinput-list-devices.1
|
|
|
|
libinput_debug_events_SOURCES = $(event_debug_SOURCES)
|
|
libinput_debug_events_LDADD = $(event_debug_LDADD)
|
|
libinput_debug_events_CFLAGS = $(AM_CFLAGS) $(event_debug_CFLAGS)
|
|
dist_man1_MANS += libinput-debug-events.1
|
|
|
|
libinput_SOURCES = \
|
|
libinput-tool.c \
|
|
libinput-tool.h \
|
|
libinput-list-devices.c \
|
|
$(shared_sources)
|
|
libinput_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
|
libinput_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) $(LIBEVDEV_CFLAGS)
|
|
dist_man1_MANS += libinput.1
|
|
|
|
if BUILD_EVENTGUI
|
|
noinst_PROGRAMS += event-gui
|
|
|
|
event_gui_SOURCES = event-gui.c $(shared_sources)
|
|
event_gui_LDADD = ../src/libinput.la $(CAIRO_LIBS) $(GTK_LIBS) \
|
|
$(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
|
event_gui_CFLAGS = $(CAIRO_CFLAGS) $(GTK_CFLAGS) \
|
|
$(LIBUDEV_CFLAGS) $(LIBEVDEV_CFLAGS) $(AM_CFLAGS)
|
|
event_gui_LDFLAGS = -no-install
|
|
endif
|
|
|
|
EXTRA_DIST = make-ptraccel-graphs.sh
|