summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am43
1 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..a2ea79e
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,43 @@
+SUBDIRS = init
+
+bin_PROGRAMS = audio-session-mgr-server
+
+audio_session_mgr_server_SOURCES = \
+ $(srcdir)/src/audio-session-mgr-server.c
+
+#audio_session_mgr_server_LDADD = libaudio-session-mgr.la
+
+audio_session_mgr_server_CPPFLAGS = -I$(srcdir)/include/ -D__DEBUG_MODE__ -DUSE_VCONF $(MMLOG_CFLAGS) -D__USE_LOGMANAGER__ $(SYSMAN_CFLAGS) $(AVSYSAUDIO_CFLAGS)
+#audio_session_mgr_server_LDFLAGS += $(AUDIOSESSIONMGR_LIBS) $(MMLOG_LIBS) $(SYSMAN_LIBS)
+audio_session_mgr_server_LDADD = $(AUDIOSESSIONMGR_LIBS) $(MMLOG_LIBS) $(SYSMAN_LIBS) $(AVSYSAUDIO_LIBS)
+
+if USE_SECURITY
+audio_session_mgr_server_CPPFLAGS += $(SECURITY_CFLAGS) -DUSE_SECURITY
+audio_session_mgr_server_LDADD += $(SECURITY_LIBS)
+endif
+
+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) $(MMLOG_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 -D__DEBUG_MODE__ -DUSE_VCONF $(MMLOG_CFLAGS) -D__USE_LOGMANAGER__
+
+if USE_SECURITY
+libaudio_session_mgr_la_CPPFLAGS += $(SECURITY_CFLAGS) -DUSE_SECURITY
+libaudio_session_mgr_la_LIBADD += $(SECURITY_LIBS)
+endif
+
+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
+