summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Z. Papp <gzp@papp.hu>2010-05-20 12:45:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-20 12:45:54 +1000
commit345e61fe9290d37b6309f920884a955fb62fa071 (patch)
tree1b7742ed5f0a0ad2a9c7f8823229acac0c1c8060
parentf539d676607d3a7566093e2bd54edc740db20426 (diff)
Building syndaemon and synclient needs $(XI_CFLAGS) and $(AM_CFLAGS)
Reported-by: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tools/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 1f8fe04..b1e851d 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -27,9 +27,11 @@ AM_CFLAGS = -I$(top_srcdir)/include $(XTST_1_1_CFLAGS) $(RECORDPROTO_1_13_CFLAGS
synclient_SOURCES = synclient.c
synclient_LDFLAGS = -lm $(XI_LIBS)
+synclient_CFLAGS = $(AM_CFLAGS) $(XI_CFLAGS)
syndaemon_SOURCES = syndaemon.c
syndaemon_LDFLAGS = $(XTST_1_1_LIBS) $(RECORDPROTO_1_13_LIBS) $(XI_LIBS)
+syndaemon_CFLAGS = $(AM_CFLAGS) $(XI_CFLAGS)
else
all:
@echo "Not building syndaemon and synclient."