Fix for 64 bit compatibility.
[platform/core/multimedia/libmm-session.git] / Makefile.am
1 lib_LTLIBRARIES = libmmfsession.la
2
3 includelibmmfsessiondir = $(includedir)/mmf
4 includelibmmfsession_HEADERS = mm_session.h mm_session_private.h
5
6 libmmfsession_la_SOURCES = mm_session.c 
7
8 libmmfsession_la_CFLAGS = -I$(srcdir) \
9                                                 $(MMCOMMON_CFLAGS) \
10                                                 $(AUDIOSESSIONMGR_CFLAGS)
11
12 libmmfsession_la_LIBADD = $(MMCOMMON_LIBS) \
13                                                 $(AUDIOSESSIONMGR_LIBS)
14                                                 
15 libmmfsession_la_LDFLAGS = -Wl,-init, __init_module
16 libmmfsession_la_LDFLAGS += -Wl,-fini, __fini_module
17
18 libmmfsession_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x00100000 -DMMF_DEBUG_PREFIX=\"MMF-SESSION\"
19 libmmfsession_la_LIBADD += $(MMLOG_LIBS)
20
21 pkgconfigdir = $(libdir)/pkgconfig
22 pkgconfig_DATA = mm-session.pc
23