summaryrefslogtreecommitdiff
path: root/drumgizmo/Makefile.am
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-21 18:00:28 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:02:18 +0100
commit6253e37c2f0219d61193d0d405e7f23a4bae3287 (patch)
tree28f687ca1327cec4cac848a80eb82cd8128ded27 /drumgizmo/Makefile.am
parent3ab30fd4168217894ee781cf93df522d3565cec8 (diff)
Added AlsaOutputEngine
Diffstat (limited to 'drumgizmo/Makefile.am')
-rw-r--r--drumgizmo/Makefile.am33
1 files changed, 25 insertions, 8 deletions
diff --git a/drumgizmo/Makefile.am b/drumgizmo/Makefile.am
index 7044303..654ec77 100644
--- a/drumgizmo/Makefile.am
+++ b/drumgizmo/Makefile.am
@@ -8,9 +8,11 @@ SUBDIRS = input output
bin_PROGRAMS = drumgizmo
-drumgizmo_LDADD = $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS) $(SMF_LIBS) -ldl $(JACK_LIBS)
+drumgizmo_LDADD = $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS) -ldl $(JACK_LIBS)
-drumgizmo_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(SMF_CFLAGS) $(EXPAT_CFLAGS) \
+drumgizmo_LDFLAGS =
+
+drumgizmo_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) \
-I$(top_srcdir)/include -I$(top_srcdir)/src \
-I$(top_srcdir)/hugin -DWITH_HUG_MUTEX -DWITH_HUG_FILTER \
$(JACK_CFLAGS) $(SSEFLAGS) \
@@ -23,17 +25,32 @@ drumgizmo_SOURCES = \
drumgizmoc.cc \
jackclient.cc \
enginefactory.cc \
- input/midifile.cc \
- output/wavfile.cc \
$(DRUMGIZMO_SOURCES) \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/hugin/hugin_filter.c
+#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
+
+#if HAVE_OUTPUT_WAVFILE
+drumgizmo_SOURCES += output/wavfile.cc
+#drumgizmo_CXXFLAGS += HAVE_OUTPUT_WAVFILE
+#endif # HAVE_OUTPUT_WAVFILE
+
+#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
+
EXTRA_DIST = \
drumgizmoc.h \
jackclient.h \
- enginefactory.h \
- input/midifile.h \
- output/wavfile.h
+ enginefactory.h
-endif
+endif # ENABLE_CLI