mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 07:48:03 +02:00
tools: drop event-debug
It's the same thing as libinput-debug-events and the newer "libinput debug-events" command. The only reason it existed after we started providing libinput-debug-events is the -no-install libtool flag that makes debugging with gdb bearable. Now that we're slowly moving to meson, this isn't needed anymore. If you want to gdb directly in the source tree, build with meson. Or use "libtool --mode=execute gdb" for an autotools build. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
08c622aeb2
commit
67000f1ae6
3 changed files with 5 additions and 22 deletions
11
meson.build
11
meson.build
|
|
@ -342,16 +342,7 @@ endif
|
|||
############ tools ############
|
||||
tools_shared_sources = [ 'tools/shared.c',
|
||||
'tools/shared.h' ]
|
||||
event_debug_sources = [ 'tools/libinput-debug-events.c' ] + tools_shared_sources
|
||||
executable('event-debug',
|
||||
event_debug_sources,
|
||||
dependencies : dep_libinput,
|
||||
include_directories : include_directories('src'),
|
||||
c_args : [ '-DTOOLS_BUILD_STANDALONE=1' ],
|
||||
install : false
|
||||
)
|
||||
|
||||
libinput_debug_events_sources = event_debug_sources
|
||||
libinput_debug_events_sources = [ 'tools/libinput-debug-events.c' ] + tools_shared_sources
|
||||
executable('libinput-debug-events',
|
||||
libinput_debug_events_sources,
|
||||
dependencies : dep_libinput,
|
||||
|
|
|
|||
1
tools/.gitignore
vendored
1
tools/.gitignore
vendored
|
|
@ -1,4 +1,3 @@
|
|||
event-debug
|
||||
event-gui
|
||||
ptraccel-debug
|
||||
libinput-list-devices
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
noinst_PROGRAMS = event-debug ptraccel-debug
|
||||
noinst_PROGRAMS = ptraccel-debug
|
||||
bin_PROGRAMS = libinput-list-devices libinput-debug-events libinput
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include \
|
||||
|
|
@ -11,13 +11,6 @@ shared_sources = \
|
|||
shared.c \
|
||||
shared.h
|
||||
|
||||
event_debug_sources = libinput-debug-events.c $(shared_sources)
|
||||
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) \
|
||||
-DTOOLS_BUILD_STANDALONE=1
|
||||
|
||||
ptraccel_debug_SOURCES = ptraccel-debug.c
|
||||
ptraccel_debug_LDADD = ../src/libfilter.la ../src/libinput.la
|
||||
ptraccel_debug_LDFLAGS = -no-install
|
||||
|
|
@ -28,9 +21,9 @@ 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) \
|
||||
libinput_debug_events_SOURCES = libinput-debug-events.c $(shared_sources)
|
||||
libinput_debug_events_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
||||
libinput_debug_events_CFLAGS = $(AM_CFLAGS) $(LIBUDEV_CFLAGS) $(LIBEVDEV_CFLAGS) \
|
||||
-DTOOLS_BUILD_STANDALONE=1
|
||||
dist_man1_MANS += libinput-debug-events.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue