1 include $(top_srcdir)/Makefile.decl
6 -include $(CONFIG_HEADER) \
10 DBUSBINDINGTOOLFLAGS = \
11 --api-path=$(FSO_SPECS_DIR) \
12 --directory=$(top_builddir)/src --strip-namespace=org \
13 --rename-namespace=freedesktop:FreeDesktop \
14 --rename-namespace=freesmartphone:FreeSmartphone \
18 DBUSBINDINGTOOLFLAGS += --gdbus
20 AM_VALAFLAGS += --pkg dbus-glib-1
24 AM_VALAFLAGS += -g -D DEBUG
25 AM_CFLAGS += -ggdb -O0
28 lib_LTLIBRARIES = libfso-glib.la
29 libfso_glib_la_SOURCES = \
31 freesmartphone-context.vala \
32 freesmartphone-data.vala \
33 freesmartphone-device.vala \
34 freesmartphone-gsm.vala \
35 freesmartphone-time.vala \
36 freesmartphone-pim.vala \
37 freesmartphone-audio.vala \
39 libfso_glib_la_VALAFLAGS = \
40 --basedir $(top_srcdir) \
42 --header freesmartphone.h \
43 --library fso-glib-1.0 \
45 libfso_glib_la_CFLAGS = \
48 libfso_glib_la_LIBADD = \
50 libfso_glib_la_LDFLAGS = \
52 -version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" \
55 $(libfso_glib_la_SOURCES):
56 vala-dbus-binding-tool $(DBUSBINDINGTOOLFLAGS)
58 libfso_glibdir = $(includedir)/fso-glib
59 libfso_glib_HEADERS = \
63 vapidir = $(datadir)/vala/vapi
70 girdir = $(datadir)/gir-1.0
71 gir_DATA = FreeSmartphone-1.0.gir
72 typelibdir = $(libdir)/girepository-1.0
73 typelib_DATA = FreeSmartphone-1.0.typelib
74 AM_VALAFLAGS += --gir FreeSmartphone-1.0.gir
76 FreeSmartphone-1.0.typelib:FreeSmartphone-1.0.gir
77 $(GIR_COMPILER) --includedir /usr/share/gir-1.0/ FreeSmartphone-1.0.gir -o FreeSmartphone-1.0.typelib