summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2008-07-14 18:07:00 +0200
committerChristoph Brill <egore911@egore911.de>2008-07-14 18:07:00 +0200
commit63d2a8ce5b34c1d98798d44842b362c4ff77d526 (patch)
tree1c3e26fe216e26475337648a6d474e36582c27f6 /src/Makefile.am
parent2476f0d6c75e0a410307212e796ac72725b86931 (diff)
Build eventcomm on Linux systems only.
The old buildsystem defined "__LINUX" which enabled or disabled the complete sources for eventcomm. The new buildsystem now adds the files to build eventcomm dynamically if the host OS is Linux. This also fixes the bug reported by Christian Schmitt.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 98a14c0..04be371 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,11 +30,15 @@
@DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c @DRIVER_NAME@.h \
alpscomm.c alpscomm.h \
- eventcomm.c eventcomm.h \
ps2comm.c ps2comm.h \
psmcomm.c psmcomm.h \
synproto.h
+if BUILD_EVENTCOMM
+@DRIVER_NAME@_drv_la_SOURCES += \
+ eventcomm.c eventcomm.h
+endif
+
bin_PROGRAMS = \
synclient \
syndaemon