summaryrefslogtreecommitdiff
path: root/wearable/Makefile.am
blob: ab4810900ccdc00e68213e8d7cf3252bf59d9d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
SUBDIRS = common \
		pkgconfig \
		. \
		server \
		testsuite

lib_LTLIBRARIES = libmmfsound.la

includelibmmfsounddir = $(includedir)/mmf
includelibmmfsound_HEADERS = include/mm_sound.h \
							include/mm_sound_private.h

libmmfsound_la_SOURCES = mm_sound.c \
			mm_sound_client.c

libmmfsound_la_DEPENDENCIES = common/libmmfsoundcommon.la
								

libmmfsound_la_CFLAGS = -I$(srcdir)/include \
			$(MMCOMMON_CFLAGS) \
			$(VCONF_CFLAGS) \
			-I$(srcdir)/servertype/include \
			$(AVSYSTEM_CFLAGS) \
			$(GLIB2_CFLAGS) \
			$(MMSESSION_CFLAGS) \
			$(AUDIOSESSIONMGR_CFLAGS) \
			-D_USE_INTERNAL_SOUND_PATH_ \
			$(VCONF_CFLAGS)

if USE_PULSE
libmmfsound_la_CFLAGS += -DPULSE_CLIENT
endif

libmmfsound_la_LIBADD = $(MMCOMMON_LIBS) \
			$(AVSYSTEM_LIBS) \
			$(MMSESSION_LIBS) \
			$(AUDIOSESSIONMGR_LIBS) \
			$(GLIB2_LIBS) \
			$(srcdir)/common/libmmfsoundcommon.la \
			$(VCONF_LIBS)

libmmfsound_la_LDFLAGS = -version-info 1:0:1

#For logmanager
libmmfsound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
libmmfsound_la_LIBADD += $(MMLOGSVR_LIBS)


lib_LTLIBRARIES += libmmfkeysound.la

includelibmmfkeysounddir = $(includedir)/mmf

libmmfkeysound_la_SOURCES = mm_sound_keysound.c

libmmfkeysound_la_CFLAGS = -I$(srcdir)/include \
			$(MMCOMMON_CFLAGS) \
			$(VCONF_CFLAGS) \
			-D_USE_INTERNAL_SOUND_PATH_

libmmfkeysound_la_LIBADD = $(MMCOMMON_LIBS) $(VCONF_LIBS)
libmmfkeysound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
libmmfkeysound_la_LIBADD += $(MMLOGSVR_LIBS)


lib_LTLIBRARIES += libmmfbootsound.la

includelibmmfbootsounddir = $(includedir)/mmf

libmmfbootsound_la_SOURCES = mm_sound_bootsound.c
libmmfbootsound_la_CFLAGS = -I$(srcdir)/include \
			$(MMCOMMON_CFLAGS) \
			$(VCONF_CFLAGS) \
			-D_USE_INTERNAL_SOUND_PATH_

libmmfbootsound_la_LIBADD = $(MMCOMMON_LIBS) $(VCONF_LIBS)
libmmfbootsound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
libmmfbootsound_la_LIBADD += $(MMLOGSVR_LIBS)


lib_LTLIBRARIES += libmmfpcmsound.la

includelibmmfpcmsounddir = $(includedir)/mmf

libmmfpcmsound_la_SOURCES = mm_sound_pcm.c

libmmfpcmsound_la_DEPENDENCIES = common/libmmfsoundcommon.la

libmmfpcmsound_la_CFLAGS = -I$(srcdir)/include \
                        $(MMCOMMON_CFLAGS) \
						$(AVSYSTEM_CFLAGS) \
						$(MMSESSION_CFLAGS) \
						$(AUDIOSESSIONMGR_CFLAGS) \
                        -D_USE_INTERNAL_SOUND_PATH_

libmmfpcmsound_la_LIBADD = $(MMCOMMON_LIBS) \
						$(AVSYSTEM_LIBS) \
						$(MMSESSION_LIBS) \
						$(AUDIOSESSIONMGR_LIBS)

libmmfpcmsound_la_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
libmmfpcmsound_la_LIBADD += $(MMLOGSVR_LIBS)