summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c3dee8b..9baa62b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,4 +9,11 @@ libfan_la_CXXFLAGS =
libfan_la_SOURCES = \
utility.cpp
-SUBDIRS = . presence control
+SUBDIRS = .
+
+if WANT_PRESENCE
+SUBDIRS += presence
+endif
+if WANT_CONTROL
+SUBDIRS += control
+endif
OpenPOWER on IntegriCloud