summaryrefslogtreecommitdiff
path: root/drumgizmo/Makefile.am
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-21 18:44:56 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:15 +0100
commitc10190c511688ae0b17bfaf9a24b9debc94c06f7 (patch)
treec6b07272f8aedb87a9d3d9f6f23ed6fd8691bf01 /drumgizmo/Makefile.am
parent4b0af87c1edce20481b457a3dd4e0d92537a69a5 (diff)
Added enable/disable engine via configure
Diffstat (limited to 'drumgizmo/Makefile.am')
-rw-r--r--drumgizmo/Makefile.am18
1 files changed, 9 insertions, 9 deletions
diff --git a/drumgizmo/Makefile.am b/drumgizmo/Makefile.am
index 654ec77..4988b1c 100644
--- a/drumgizmo/Makefile.am
+++ b/drumgizmo/Makefile.am
@@ -29,24 +29,24 @@ drumgizmo_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/hugin/hugin_filter.c
-#if HAVE_INPUT_MIDIFILE
+if HAVE_INPUT_MIDIFILE
drumgizmo_CXXFLAGS += $(SMF_CFLAGS)
drumgizmo_LDADD += $(SMF_LIBS)
drumgizmo_SOURCES += input/midifile.cc
-#drumgizmo_CXXFLAGS += HAVE_INPUT_MIDIFILE
-#endif # HAVE_INPUT_MIDIFILE
+drumgizmo_CXXFLAGS += -DHAVE_INPUT_MIDIFILE
+endif # HAVE_INPUT_MIDIFILE
-#if HAVE_OUTPUT_WAVFILE
+if HAVE_OUTPUT_WAVFILE
drumgizmo_SOURCES += output/wavfile.cc
-#drumgizmo_CXXFLAGS += HAVE_OUTPUT_WAVFILE
-#endif # HAVE_OUTPUT_WAVFILE
+drumgizmo_CXXFLAGS += -DHAVE_OUTPUT_WAVFILE
+endif # HAVE_OUTPUT_WAVFILE
-#if HAVE_OUTPUT_ALSA
+if HAVE_OUTPUT_ALSA
drumgizmo_CXXFLAGS += $(ALSA_CFLAGS)
drumgizmo_LDFLAGS += $(ALSA_LIBS)
drumgizmo_SOURCES += output/alsa.cc
-#drumgizmo_CXXFLAGS += HAVE_OUTPUT_ALSA
-#endif # HAVE_OUTPUT_ALSA
+drumgizmo_CXXFLAGS += -DHAVE_OUTPUT_ALSA
+endif # HAVE_OUTPUT_ALSA
EXTRA_DIST = \
drumgizmoc.h \