summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-05 17:54:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-05 18:59:46 +0100
commit83ac2a8d259bb07f8cc754d8eacd0a63217d713c (patch)
treeffe220c05372b237623b4e8211262ccd6437b82f /src
parent50d510c6e66673849ff1eabbe9a8d6f9e363b1fc (diff)
Compile engine as a library.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c7cb8be..2277eeb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,50 @@
+noinst_LTLIBRARIES = libdg.la
+
+libdg_la_CPPFLAGS = \
+ -I$(top_srcdir)/include -I$(top_srcdir)/hugin \
+ $(SSEFLAGS) \
+ $(ZITA_CPPFLAGS) $(SNDFILE_CFLAGS) $(EXPAT_CFLAGS) $(SAMPLERATE_CFLAGS) \
+ $(PTHREAD_CFLAGS)
+
+libdg_la_LIBADD = \
+ $(ZITA_LIBS) $(SNDFILE_LIBS) $(EXPAT_LIBS) $(SAMPLERATE_LIBS) \
+ $(PTHREAD_LIBS)
+
+nodist_libdg_la_SOURCES = \
+ audiocachefile.cc \
+ audiocache.cc \
+ audiocacheeventhandler.cc \
+ audiocacheidmanager.cc \
+ audioinputenginemidi.cc \
+ audiofile.cc \
+ channel.cc \
+ channelmixer.cc \
+ chresampler.cc \
+ configfile.cc \
+ configparser.cc \
+ drumgizmo.cc \
+ drumkit.cc \
+ drumkitloader.cc \
+ drumkitparser.cc \
+ events.cc \
+ inputprocessor.cc \
+ instrument.cc \
+ instrumentparser.cc \
+ latencyfilter.cc \
+ memchecker.cc \
+ midimapparser.cc \
+ midimapper.cc \
+ mutex.cc \
+ path.cc \
+ powerlist.cc \
+ random.cc \
+ sample.cc \
+ semaphore.cc \
+ saxparser.cc \
+ staminafilter.cc \
+ thread.cc \
+ versionstr.cc
+
EXTRA_DIST = \
atomic.h \
audio.h \