blob: 8d74a46e634be13fc286cf72eb8b8a0b1d8a2e5f [file] [log] [blame]
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = connman-dbus.c connman-dbus.h \
connman-client.h connman-client.c \
instance.h instance.c
BUILT_SOURCES = marshal.h marshal.c \
connman-dbus-glue.h \
instance-glue.h
nodist_libcommon_a_SOURCES = connman-dbus-glue.h instance-glue.h
CLEANFILES = $(BUILT_SOURCES)
AM_CFLAGS = @DBUS_CFLAGS@ @GTK_CFLAGS@
EXTRA_DIST = marshal.list instance.xml connman-dbus.xml
MAINTAINERCLEANFILES = Makefile.in
marshal.h: marshal.list
$(GLIB_GENMARSHAL) --prefix=marshal $< --header > $@
marshal.c: marshal.list
$(GLIB_GENMARSHAL) --prefix=marshal $< --body > $@
instance-glue.h: instance.xml
$(DBUS_BINDING_TOOL) --prefix=instance --mode=glib-server --output=$@ $<
connman-dbus-glue.h: connman-dbus.xml
$(DBUS_BINDING_TOOL) --prefix=connman --mode=glib-client --output=$@ $<