summaryrefslogtreecommitdiff
path: root/server/plugin/tone/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'server/plugin/tone/Makefile.am')
-rw-r--r--server/plugin/tone/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/server/plugin/tone/Makefile.am b/server/plugin/tone/Makefile.am
new file mode 100644
index 0000000..8fa117b
--- /dev/null
+++ b/server/plugin/tone/Makefile.am
@@ -0,0 +1,21 @@
+lib_LTLIBRARIES = libsoundplugintone.la
+
+libsoundplugintone_la_SOURCES = mm_sound_plugin_codec_tone.c
+
+libsoundplugintone_la_CFLAGS = \
+ $(MMCOMMON_CFLAGS) \
+ -I$(srcdir)/../../../../common/include \
+ -I$(srcdir)/../../../include \
+ $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
+
+libsoundplugintone_la_LIBADD = \
+ $(MMCOMMON_LIBS) \
+ $(MMLOGSVR_LIBS)
+
+libsoundplugintone_la_CFLAGS += $(AVSYSTEM_CFLAGS)
+libsoundplugintone_la_LIBADD += $(AVSYSTEM_LIBS)
+
+install-exec-hook:
+ mkdir -p $(DESTDIR)$(libdir)/soundplugins
+ ln -sf /usr/lib/libsoundplugintone.so $(DESTDIR)$(libdir)/soundplugins/libsoundpluginktone.so
+