Merge "Removed unused result variable from sound_codec_asm_callback" into tizen
[platform/core/multimedia/libmm-sound.git] / server / Makefile.am
1 SUBDIRS = plugin
2
3 bin_PROGRAMS = sound_server
4 sound_server_SOURCES = mm_sound_mgr_codec.c \
5                                                 mm_sound_mgr_ipc.c \
6                                                 mm_sound_mgr_pulse.c \
7                                                 mm_sound_mgr_asm.c \
8                                                 mm_sound_mgr_device.c \
9                                                 mm_sound_mgr_headset.c \
10                                                 mm_sound_mgr_dock.c \
11                                                 mm_sound_mgr_hdmi.c \
12                                                 mm_sound_mgr_wfd.c \
13                                                 mm_sound_mgr_session.c \
14                                                 mm_sound_mgr_run.c \
15                                                 mm_sound_plugin.c \
16                                                 mm_sound_server.c \
17                                                 mm_sound_thread_pool.c \
18                                                 mm_sound_hal.c
19
20 sound_server_CFLAGS = -I$(srcdir)/../include \
21                                           -I$(srcdir)/include \
22                                           $(MMCOMMON_CFLAGS) \
23                                           $(MMLOGSVR_CFLAGS) \
24                                           -DMMF_LOG_OWNER=0x020 \
25                                           -DMMF_DEBUG_PREFIX=\"MMF-SOUND\" \
26                                           -D__DEBUG_MODE__ -DUSE_VCONF -D__USE_LOGMANAGER__ \
27                                           -rdynamic \
28                                           $(MMSESSION_CFLAGS) \
29                                           $(AVSYSTEM_CFLAGS) \
30                                           $(AUDIOSESSIONMGR_CFLAGS) \
31                                           $(VCONF_CFLAGS) \
32                                           $(GLIB2_CFLAGS) \
33                                           $(HEYNOTI_CFLAGS)
34
35 sound_server_LDADD = $(MMLOGSVR_LIBS) \
36                      -ldl \
37                      $(MMCOMMON_LIBS) \
38                      $(MMSESSION_LIBS) \
39                      $(AVSYSTEM_LIBS) \
40                      $(AUDIOSESSIONMGR_LIBS) \
41                      $(GLIB2_LIBS) \
42                      $(VCONF_LIBS) \
43                      $(HEYNOTI_LIBS) \
44                      $(srcdir)/../libmmfsound.la \
45                      $(srcdir)/../common/libmmfsoundcommon.la 
46
47 if USE_PULSE
48 sound_server_CFLAGS += -DPULSE_CLIENT $(PULSE_CFLAGS)
49 sound_server_LDADD += $(PULSE_LIBS)
50 endif
51
52 if USE_SECURITY
53 sound_server_CFLAGS += $(SECURITY_CFLAGS) -DUSE_SECURITY
54 sound_server_LDADD += $(SECURITY_LIBS)
55 endif
56
57 sound_server_DEPENDENCIES = $(srcdir)/../common/libmmfsoundcommon.la
58
59 installdocksounddir = $(prefix)/share/sounds/sound-server
60 installdocksound_DATA = sounds/dock.wav sounds/undock.wav