pkgconfig \
. \
server \
- testsuite \
- focus_server
+ testsuite
+
+SUBDIRS += focus_server
+
+if UNITTESTS_ENABLED
+SUBDIRS += unittest
+endif
lib_LTLIBRARIES = libmmfsound.la
includelibmmfsound_HEADERS = include/mm_sound.h \
include/mm_sound_private.h \
include/mm_sound_pa_client.h \
- include/mm_sound_focus.h \
include/mm_sound_device.h
libmmfsound_la_SOURCES = mm_sound.c \
mm_sound_client.c \
- mm_sound_client_dbus.c \
+ mm_sound_proxy.c \
mm_sound_device.c \
- mm_sound_pcm.c \
mm_sound_pa_client.c
-if USE_FOCUS
-libmmfsound_la_SOURCES += mm_sound_focus.c
-endif
+includelibmmfsound_HEADERS += include/mm_sound_focus.h \
+ include/mm_sound_focus_private.h \
+ include/mm_sound_focus_socket.h
+libmmfsound_la_SOURCES += mm_sound_focus.c \
+ mm_sound_focus_private.c \
+ mm_sound_focus_socket.c
libmmfsound_la_DEPENDENCIES = common/libmmfsoundcommon.la
$(GLIB2_CFLAGS) \
$(GIO_CFLAGS) \
$(MMSESSION_CFLAGS) \
- $(AUDIOSESSIONMGR_CFLAGS) \
-D_USE_INTERNAL_SOUND_PATH_ \
$(PASIMPLE_CFLAGS) \
$(PA_CFLAGS) \
libmmfsound_la_LIBADD = $(MMCOMMON_LIBS) \
$(MMSESSION_LIBS) \
- $(AUDIOSESSIONMGR_LIBS) \
$(GLIB2_LIBS) \
$(GIO_LIBS) \
$(srcdir)/common/libmmfsoundcommon.la \
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_CFLAGS += $(MMLOGSVR_CFLAGS) -DMMF_LOG_OWNER=0x020 -DMMF_DEBUG_PREFIX=\"MMF-SOUND\"
libmmfkeysound_la_LIBADD += $(MMLOGSVR_LIBS)
+if USE_LWIPC
+libmmfkeysound_la_CFLAGS += $(LWIPC_CFLAGS) -DUSE_LWIPC
+libmmfkeysound_la_LIBADD += $(LWIPC_LIBS)
+endif
+
lib_LTLIBRARIES += libmmfbootsound.la
includelibmmfbootsounddir = $(includedir)/mmf