From c10190c511688ae0b17bfaf9a24b9debc94c06f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Thu, 21 Jan 2016 18:44:56 +0100 Subject: Added enable/disable engine via configure --- drumgizmo/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'drumgizmo') 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 \ -- cgit v1.2.3