summaryrefslogtreecommitdiff
path: root/server/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'server/Makefile.am')
-rw-r--r--server/Makefile.am61
1 files changed, 61 insertions, 0 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
new file mode 100644
index 0000000..8d9acbd
--- /dev/null
+++ b/server/Makefile.am
@@ -0,0 +1,61 @@
+SUBDIRS = plugin
+
+bin_PROGRAMS = sound_server
+sound_server_SOURCES = mm_sound_mgr_codec.c \
+ mm_sound_mgr_ipc.c \
+ mm_sound_mgr_pulse.c \
+ mm_sound_mgr_asm.c \
+ mm_sound_mgr_device.c \
+ mm_sound_mgr_device_headset.c \
+ mm_sound_mgr_device_dock.c \
+ mm_sound_mgr_device_hdmi.c \
+ mm_sound_mgr_device_wfd.c \
+ mm_sound_mgr_session.c \
+ mm_sound_mgr_run.c \
+ mm_sound_plugin.c \
+ mm_sound_server.c \
+ mm_sound_thread_pool.c
+
+sound_server_CFLAGS = -I$(srcdir)/../include \
+ -I$(srcdir)/include \
+ $(MMCOMMON_CFLAGS) \
+ $(MMLOGSVR_CFLAGS) \
+ -DMMF_LOG_OWNER=0x002 \
+ -DMMF_DEBUG_PREFIX=\"MMF-SOUND\" \
+ -D__DEBUG_MODE__ -DUSE_VCONF -D__USE_LOGMANAGER__ \
+ $(MMSESSION_CFLAGS) \
+ $(AUDIOSESSIONMGR_CFLAGS) \
+ $(VCONF_CFLAGS) \
+ $(GLIB2_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(HEYNOTI_CFLAGS)
+
+sound_server_LDADD = $(MMLOGSVR_LIBS) \
+ -ldl \
+ $(MMCOMMON_LIBS) \
+ $(MMSESSION_LIBS) \
+ $(AUDIOSESSIONMGR_LIBS) \
+ $(GLIB2_LIBS) \
+ $(GIO_LIBS) \
+ $(VCONF_LIBS) \
+ $(HEYNOTI_LIBS) \
+ $(srcdir)/../libmmfsound.la \
+ $(srcdir)/../common/libmmfsoundcommon.la
+
+sound_server_CFLAGS += $(BLUETOOTH_API_CFLAGS)
+sound_server_LDADD += $(BLUETOOTH_API_LIBS)
+
+if SUPPORT_BT_SCO
+sound_server_CFLAGS += $(BLUETOOTH_CFLAGS)
+sound_server_LDADD += $(BLUETOOTH_LIBS)
+endif
+
+if USE_PULSE
+sound_server_CFLAGS += -DPULSE_CLIENT $(PULSE_CFLAGS)
+sound_server_LDADD += $(PULSE_LIBS)
+endif
+
+sound_server_DEPENDENCIES = $(srcdir)/../common/libmmfsoundcommon.la
+
+installsounddir = $(prefix)/share/sounds/sound-server
+installsound_DATA = sounds/dock.ogg sounds/undock.ogg sounds/Tizen_HW_Touch.ogg