1 ## Process this file with automake to produce Makefile.in
5 AM_CFLAGS = -ggdb -Wall -Werror
7 BUILT_SOURCES = freesmartphone-call-binding.h \
8 freesmartphone-sms-binding.h \
9 freesmartphone-device-binding.h \
10 freesmartphone-sim-binding.h \
11 freesmartphone-pdp-binding.h \
12 freesmartphone-network-binding.h \
17 fso-marshallers.h: $(top_srcdir)/src/smartphone_marshaller.txt
18 glib-genmarshal --prefix fso_marshaller --header $(top_srcdir)/src/smartphone_marshaller.txt > fso-marshallers.h
20 fso-marshallers.c: $(top_srcdir)/src/smartphone_marshaller.txt
21 glib-genmarshal --prefix fso_marshaller --body $(top_srcdir)/src/smartphone_marshaller.txt > fso-marshallers.c
24 freesmartphone-call-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.Call.xml
25 $(LIBTOOL) --mode=execute dbus-binding-tool \
26 --prefix=smartphone_call --mode=glib-client \
27 --output=freesmartphone-call-binding.h \
28 $(top_srcdir)/interface/org.freesmartphone.GSM.Call.xml
30 freesmartphone-sms-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.SMS.xml
31 $(LIBTOOL) --mode=execute dbus-binding-tool \
32 --prefix=smartphone_sms --mode=glib-client \
33 --output=freesmartphone-sms-binding.h \
34 $(top_srcdir)/interface/org.freesmartphone.GSM.SMS.xml
36 freesmartphone-device-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.Device.xml
37 $(LIBTOOL) --mode=execute dbus-binding-tool \
38 --prefix=smartphone_device --mode=glib-client \
39 --output=freesmartphone-device-binding.h \
40 $(top_srcdir)/interface/org.freesmartphone.GSM.Device.xml
42 freesmartphone-sim-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.SIM.xml
43 $(LIBTOOL) --mode=execute dbus-binding-tool \
44 --prefix=smartphone_sim --mode=glib-client \
45 --output=freesmartphone-sim-binding.h \
46 $(top_srcdir)/interface/org.freesmartphone.GSM.SIM.xml
48 freesmartphone-pdp-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.PDP.xml
49 $(LIBTOOL) --mode=execute dbus-binding-tool \
50 --prefix=smartphone_pdp --mode=glib-client \
51 --output=freesmartphone-pdp-binding.h \
52 $(top_srcdir)/interface/org.freesmartphone.GSM.PDP.xml
54 freesmartphone-network-binding.h: $(top_srcdir)/interface/org.freesmartphone.GSM.Network.xml
55 $(LIBTOOL) --mode=execute dbus-binding-tool \
56 --prefix=smartphone_network --mode=glib-client \
57 --output=freesmartphone-network-binding.h \
58 $(top_srcdir)/interface/org.freesmartphone.GSM.Network.xml
60 CLEANFILES = $(BUILT_SOURCES)
62 lib_LTLIBRARIES = libfreesmartphone.la
64 libfreesmartphone_la_LDFLAGS = $(DBUS_GLIB_LIBS)
65 libfreesmartphone_la_CFLAGS = $(DBUS_GLIB_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE $(AM_CFLAGS)
67 libfreesmartphone_la_SOURCES = freesmartphone.c \
68 freesmartphone-sms.c \
69 freesmartphone-call.c \
70 freesmartphone-device.c \
71 freesmartphone-network.c \
72 freesmartphone-pdp.c \
73 freesmartphone-sim.c \
77 include_HEADERS = freesmartphone.h \
78 freesmartphone-call.h \
79 freesmartphone-call-binding.h \
80 freesmartphone-sms.h \
81 freesmartphone-sms-binding.h \
82 freesmartphone-device.h \
83 freesmartphone-device-binding.h \
84 freesmartphone-network.h \
85 freesmartphone-network-binding.h \
86 freesmartphone-pdp.h \
87 freesmartphone-pdp-binding.h \
88 freesmartphone-sim.h \
89 freesmartphone-sim-binding.h
94 #test_SOURCES = test.c
96 #test_LDADD = $(DBUS_GLIB_LIBS) libfreesmartphone.la
97 #test_CFLAGS = $(DBUS_GLIB_CFLAGS) $(AM_CFLAGS)