summaryrefslogtreecommitdiff
path: root/drumgizmo/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-01 08:17:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-01 08:17:07 +0100
commitd68de8155edee24280c68bf9e7a1ddca3dd4ebe4 (patch)
treeee6b31cc19020e1df5a7e1e03677e2c0f46f3364 /drumgizmo/Makefile.am
parent1907f24b9e727e814d37bd8c897e6e3bf05016d1 (diff)
Fix makefile to use the hugin and use the Makefile.am.drumgizmo sources instead of the hardcoded ones.
Diffstat (limited to 'drumgizmo/Makefile.am')
-rw-r--r--drumgizmo/Makefile.am27
1 files changed, 8 insertions, 19 deletions
diff --git a/drumgizmo/Makefile.am b/drumgizmo/Makefile.am
index 0cb26e9..202f6c7 100644
--- a/drumgizmo/Makefile.am
+++ b/drumgizmo/Makefile.am
@@ -2,35 +2,24 @@ DISTDIRS = input output
if ENABLE_CLI
+include $(top_srcdir)/src/Makefile.am.drumgizmo
+
SUBDIRS = input output
bin_PROGRAMS = drumgizmo
-drumgizmo_LDADD = $(SNDFILE_LIBS) $(PTHREAD_LIBS) $(EXPAT_LIBS) -ldl
+drumgizmo_LDADD = $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS) -ldl
-drumgizmo_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/src -DSSE -msse -msse2 -msse3
+drumgizmo_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) \
+ -I$(top_srcdir)/include -I$(top_srcdir)/src -DSSE -msse -msse2 -msse3 \
+ -I../hugin -DWITH_HUG_MUTEX
drumgizmo_SOURCES = \
audioinputenginedl.cc \
audiooutputenginedl.cc \
drumgizmoc.cc \
- $(top_srcdir)/src/audiofile.cc \
- $(top_srcdir)/src/channel.cc \
- $(top_srcdir)/src/channelmixer.cc \
- $(top_srcdir)/src/configuration.cc \
- $(top_srcdir)/src/drumgizmo.cc \
- $(top_srcdir)/src/drumkit.cc \
- $(top_srcdir)/src/drumkitparser.cc \
- $(top_srcdir)/src/events.cc \
- $(top_srcdir)/src/instrument.cc \
- $(top_srcdir)/src/instrumentparser.cc \
- $(top_srcdir)/src/midimapper.cc \
- $(top_srcdir)/src/mutex.cc \
- $(top_srcdir)/src/path.cc \
- $(top_srcdir)/src/sample.cc \
- $(top_srcdir)/src/saxparser.cc \
- $(top_srcdir)/src/thread.cc \
- $(top_srcdir)/src/velocity.cc
+ $(DRUMGIZMO_SOURCES) \
+ $(top_srcdir)/hugin/hugin.c
EXTRA_DIST = \
audioinputenginedl.h \