Also, xsetwacom only needs the library, not the server.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
This one should make the split more obvious.

 tools/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index a49380b..976dd24 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -21,16 +21,18 @@
 bin_PROGRAMS = xsetwacom isdv4-serial-debugger isdv4-serial-inputattach
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = $(XORG_CFLAGS) $(X11_CFLAGS)
-AM_LDFLAGS = $(X11_LIBS)
 
 shared_sources = tools-shared.h tools-shared.c
 
 isdv4_serial_debugger_SOURCES = isdv4-serial-debugger.c $(shared_sources)
+
 isdv4_serial_inputattach_SOURCES = isdv4-serial-inputattach.c $(shared_sources)
 isdv4_serial_inputattach_CFLAGS = $(UDEV_CFLAGS)
 isdv4_serial_inputattach_LDADD = $(UDEV_LIBS)
 
+xsetwacom_SOURCES = xsetwacom.c
+xsetwacom_CFLAGS = $(X11_CFLAGS)
+xsetwacom_LDADD = $(X11_LIBS)
 
 if UNITTESTS
 check_PROGRAMS = xsetwacom-test
-- 
1.8.5.3


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to