dristibute single shared shared library: libmessage-port.so
[profile/ivi/message-port.git] / common / Makefile.am
1 noinst_LTLIBRARIES = libmessageport-dbus-glue.la  libmessageport-common.la
2 NULL = 
3
4 dbus-manager-glue.c dbus-maanager-glue.h : org.tizen.messageport.Manager.xml
5         $(AM_V_GEM)gdbus-codegen                                \
6         --interface-prefix org.tizen.messageport \
7         --c-namespace      MsgPort_Dbus_Glue     \
8         --generate-c-code  dbus-manager-glue     \
9         $<
10
11 dbus-service-glue.c dbus-service-glue.h : org.tizen.messageport.Service.xml
12         $(AM_V_GEM)gdbus-codegen                                \
13         --interface-prefix org.tizen.messageport \
14         --c-namespace      MsgPort_Dbus_Glue     \
15         --generate-c-code  dbus-service-glue     \
16         $<
17
18 #
19 # libmessageport-dbus-glue.la
20 #
21 libmessageport_dbus_glue_la_SOURCES = \
22     dbus-manager-glue.h \
23     dbus-manager-glue.c \
24     dubs-service-glue.h \
25     dbus-service-glue.c \
26     $(NULL)
27     
28 libmessageport_dbus_glue_la_CPPFLAGS = \
29     -I$(top_builddir) \
30     $(GLIB_CFLAGS) $(GIO_CFLAGS) $(GIOUNIX_CFLAGS) \
31     $(NULL)
32
33 libmessageport_dbus_glue_la_LIBADD = \
34     $(GLIB_LIBS) $(GIO_LIBS) $(GIOUNIX_LIBS) \
35     $(NULL)
36
37
38 #
39 # libmessageport-common.la
40 #
41 libmessageport_common_la_SOURCES = \
42     -I$(top_builddir) \
43     dbus-error.h \
44     dbus-error.c \
45     $(NULL)
46
47 libmessageport_common_la_CPPFLAGS = \
48     -I$(top_builddir) \
49     $(GLIB_CFLAGS) $(GIO_CFLAGS) $(GIOUNIX_CFLAGS) \
50     $(NULL)
51
52 libmessageport_common_la_LIBADD = \
53     ./libmessageport-dbus-glue.la \
54     $(GLIB_LIBS) $(GIO_LIBS) $(GIOUNIX_LIBS) \
55     $(NULL)
56
57 CLEANFILES =