tools/event-gui: Silence a couple of compiler warnings
[platform/upstream/libinput.git] / tools / Makefile.am
1 noinst_PROGRAMS = event-debug
2
3 AM_CPPFLAGS = -I$(top_srcdir)/include \
4               -I$(top_srcdir)/src
5
6 event_debug_SOURCES = event-debug.c
7 event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS)
8 event_debug_LDFLAGS = -static
9 event_debug_CFLAGS = $(LIBUDEV_CFLAGS)
10
11 if BUILD_EVENTGUI
12 noinst_PROGRAMS += event-gui
13
14 event_gui_SOURCES = event-gui.c
15 event_gui_LDADD = ../src/libinput.la $(CAIRO_LIBS) $(GTK_LIBS) $(LIBUDEV_LIBS)
16 event_gui_CFLAGS = $(CAIRO_CFLAGS) $(GTK_CFLAGS) $(LIBUDEV_CFLAGS)
17 event_gui_LDFLAGS = -static
18 endif