tools: drop event-debug
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 24 May 2017 00:17:46 +0000 (10:17 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 2 Jun 2017 02:21:35 +0000 (12:21 +1000)
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>
meson.build
tools/.gitignore
tools/Makefile.am

index 93bdfb1ed19bb203312840106155bf84bcd2d32b..0a3028e05463fa0328cc9c32825321362bcae4d1 100644 (file)
@@ -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,
index cb9342986e779aa7c0bd7b8bce490591cdfe7397..2e4c93d324dad5ff34220e0e1b53d52e1959a4ef 100644 (file)
@@ -1,4 +1,3 @@
-event-debug
 event-gui
 ptraccel-debug
 libinput-list-devices
index 77b4e74c0012c9ea74f0a09ae9fe8c1c8ba0eae4..68d1fd452d2e05335d4aabbd418584ff2936b839 100644 (file)
@@ -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