Fix systemd path for b6 bit compatibility.
[platform/core/multimedia/libmm-sound.git] / Makefile.am
1 SUBDIRS = common \
2                 pkgconfig \
3                 . \
4                 server \
5                 testsuite
6
7 SUBDIRS += init
8                 
9 lib_LTLIBRARIES = libmmfsound.la
10
11 includelibmmfsounddir = $(includedir)/mmf
12 includelibmmfsound_HEADERS = include/mm_sound.h \
13                                                         include/mm_sound_private.h \
14                                                         server/include/mm_sound_plugin.h \
15                                                         server/include/mm_sound_plugin_hal.h
16
17 libmmfsound_la_SOURCES = mm_sound.c \
18                         mm_sound_client.c 
19
20 libmmfsound_la_DEPENDENCIES = common/libmmfsoundcommon.la
21                                                                 
22
23 libmmfsound_la_CFLAGS = -I$(srcdir)/include \
24                         $(MMCOMMON_CFLAGS) \
25                         $(VCONF_CFLAGS) \
26                         -I$(srcdir)/servertype/include \
27                         $(AVSYSTEM_CFLAGS) \
28                         $(GLIB2_CFLAGS) \
29                         $(MMSESSION_CFLAGS) \
30                         $(AUDIOSESSIONMGR_CFLAGS) \
31                         -D_USE_INTERNAL_SOUND_PATH_ \
32                         $(VCONF_CFLAGS)
33
34 if USE_PULSE
35 libmmfsound_la_CFLAGS += -DPULSE_CLIENT
36 endif
37                         
38
39 libmmfsound_la_LIBADD = $(MMCOMMON_LIBS) \
40                         $(AVSYSTEM_LIBS) \
41                         $(MMSESSION_LIBS) \
42                         $(AUDIOSESSIONMGR_LIBS) \
43                         $(GLIB2_LIBS) \
44                         $(srcdir)/common/libmmfsoundcommon.la \
45                         $(VCONF_LIBS)
46                         
47 libmmfsound_la_LDFLAGS = -version-info 1:0:1
48
49 #For logmanager
50 libmmfsound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
51 libmmfsound_la_LIBADD += $(MMLOGSVR_LIBS)
52
53
54
55
56
57
58
59 lib_LTLIBRARIES += libmmfkeysound.la
60
61 includelibmmfkeysounddir = $(includedir)/mmf
62
63 libmmfkeysound_la_SOURCES = mm_sound_keysound.c
64
65 libmmfkeysound_la_CFLAGS = -I$(srcdir)/include \
66                         $(MMCOMMON_CFLAGS) \
67                         -D_USE_INTERNAL_SOUND_PATH_
68
69 libmmfkeysound_la_LIBADD = $(MMCOMMON_LIBS)
70 libmmfkeysound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
71 libmmfkeysound_la_LIBADD += $(MMLOGSVR_LIBS)