summaryrefslogtreecommitdiff
path: root/mobile/Makefile.am
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 12:29:42 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 12:29:42 +0900
commitfb54661dce16a90ece0103ef78af6d215bb2efca (patch)
tree8b0480c8d1a25f7695752df02048dfdd04cb9ac9 /mobile/Makefile.am
downloadaudio-session-manager-fb54661dce16a90ece0103ef78af6d215bb2efca.tar.gz
audio-session-manager-fb54661dce16a90ece0103ef78af6d215bb2efca.tar.bz2
audio-session-manager-fb54661dce16a90ece0103ef78af6d215bb2efca.zip
Diffstat (limited to 'mobile/Makefile.am')
-rw-r--r--mobile/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/mobile/Makefile.am b/mobile/Makefile.am
new file mode 100644
index 0000000..8537556
--- /dev/null
+++ b/mobile/Makefile.am
@@ -0,0 +1,31 @@
+SUBDIRS = . \
+ test
+
+AM_CFLAGS = $(AUDIOSESSIONMGR_CFLAGS)
+
+lib_LTLIBRARIES = libaudio-session-mgr.la
+libaudio_session_mgr_la_SOURCES = $(srcdir)/src/audio-session-mgr.c
+
+libaudio_session_mgr_la_LIBADD = $(AUDIOSESSIONMGR_LIBS) $(VCONF_LIBS) $(MMCOMMON_LIBS)
+libaudio_session_mgr_la_LDFLAGS = -Wl,-init, __ASM_init_module
+libaudio_session_mgr_la_LDFLAGS += -Wl,-fini, __ASM_fini_module
+
+libaudio_session_mgr_la_CPPFLAGS = -I$(srcdir)/include -DUSE_VCONF $(VCONF_CFLAGS) $(MMCOMMON_CFLAGS)
+
+if USE_SECURITY
+libaudio_session_mgr_la_CPPFLAGS += $(SECURITY_CFLAGS) -DUSE_SECURITY
+libaudio_session_mgr_la_LIBADD += $(SECURITY_LIBS)
+endif
+
+libaudio_session_mgr_la_CPPFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x00800000 -DMMF_DEBUG_PREFIX=\"MMF-SESSIONMGR\"
+libaudio_session_mgr_la_LIBADD += $(MMLOG_LIBS)
+
+audiosessionmgrincludedir = $(includedir)/mmf
+audiosessionmgrinclude_HEADERS = \
+ $(srcdir)/include/audio-session-manager-types.h \
+ $(srcdir)/include/audio-session-manager.h
+
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = audio-session-mgr.pc
+