5 -include $(CONFIG_HEADER)
9 --header freesmartphone.h \
10 --library fso-glib-1.0
12 DBUSBINDINGTOOLFLAGS = \
13 --api-path=$(FSO_SPECS_DIR) \
14 --directory=./ --strip-namespace=org \
15 --rename-namespace=freedesktop:FreeDesktop \
16 --rename-namespace=freesmartphone:FreeSmartphone
19 DBUSBINDINGTOOLFLAGS += --gdbus
21 VALACFLAGS += --pkg dbus-glib-1
25 VALACFLAGS += -g -D DEBUG
26 AM_CFLAGS += -ggdb -O0
29 BUILT_SOURCES = libfso_glib_la.vala.stamp
31 lib_LTLIBRARIES = libfso-glib.la
33 libfso_glib_la_VALASOURCES = \
35 freesmartphone-context.vala \
36 freesmartphone-data.vala \
37 freesmartphone-device.vala \
38 freesmartphone-gsm.vala \
39 freesmartphone-time.vala \
40 freesmartphone-pim.vala \
41 freesmartphone-audio.vala \
43 sflphone-sflphone.vala \
49 libfso_glibdir = $(includedir)/fso-glib
50 libfso_glib_HEADERS = \
53 vapidir = $(datadir)/vala/vapi
58 libfso_glib_la_SOURCES = \
59 $(libfso_glib_la_VALASOURCES:.vala=.c)
61 libfso_glib_la.vala.stamp: gen-bindings $(libfso_glib_la_VALASOURCES)
62 $(VALAC) -C ${VALACFLAGS} --basedir . $(libfso_glib_la_VALASOURCES)
66 vala-dbus-binding-tool $(DBUSBINDINGTOOLFLAGS)
69 girdir = $(datadir)/gir-1.0
70 gir_DATA = FreeSmartphone-1.0.gir
71 typelibdir = $(libdir)/girepository-1.0
72 typelib_DATA = FreeSmartphone-1.0.typelib
73 VALACFLAGS += --gir FreeSmartphone-1.0.gir
75 FreeSmartphone-1.0.typelib:FreeSmartphone-1.0.gir
76 $(GIR_COMPILER) --includedir /usr/share/gir-1.0/ FreeSmartphone-1.0.gir -o FreeSmartphone-1.0.typelib
79 libfso_glib_la_LIBADD = \
83 $(libfso_glib_la_VALASOURCES) \
84 libfso_glib_la.vala.stamp
92 libfso_glib_la.vala.stamp