diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | build-aux/Makefile.am | 3 | ||||
-rw-r--r-- | build-aux/header-generator.xsl (renamed from header-generator.xsl) | 0 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | include/Makefile.am | 14 |
6 files changed, 22 insertions, 11 deletions
@@ -37,11 +37,12 @@ src/tests/test-qcdm-serial-port src/tests/test-at-serial-port src/tests/test-sms policy/org.freedesktop.modem-manager.policy -include/ libqcdm/tests/test-qcdm libwmc/tests/test-wmc +include/ModemManager.h + po/Makefile.in.in po/POTFILES po/stamp-it diff --git a/Makefile.am b/Makefile.am index dd35a28e..095bd162 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ all: $(GENERATED_FILES) CLEANFILES = $(GENERATED_FILES) endif -SUBDIRS = . marshallers libqcdm libwmc src plugins introspection po test +SUBDIRS = . marshallers build-aux include libqcdm libwmc src plugins introspection po test if WITH_POLKIT SUBDIRS += policy @@ -44,14 +44,6 @@ dbusactivationdir = $(datadir)/dbus-1/system-services dbusactivation_in_files = org.freedesktop.ModemManager.service.in dbusactivation_DATA = $(dbusactivation_in_files:.service.in=.service) -includedir = @includedir@/mm - -include_HEADERS = include/ModemManager.h - -include/ModemManager.h: $(XMLS) introspection/all.xml header-generator.xsl - @install -d include - $(XSLTPROC) $(top_srcdir)/header-generator.xsl $(top_srcdir)/introspection/all.xml > $@ - %service: %service.in $(edit) $< >$@ @@ -84,7 +76,6 @@ DISTCLEANFILES = \ EXTRA_DIST = \ doc-generator.xsl \ - header-generator.xsl \ $(dbusactivation_in_files) \ $(INTLTOOL_FILES) \ $(dbusservice_file_polkit) \ diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am new file mode 100644 index 00000000..fdcf628c --- /dev/null +++ b/build-aux/Makefile.am @@ -0,0 +1,3 @@ + +EXTRA_DIST = \ + header-generator.xsl diff --git a/header-generator.xsl b/build-aux/header-generator.xsl index b97416c8..b97416c8 100644 --- a/header-generator.xsl +++ b/build-aux/header-generator.xsl diff --git a/configure.ac b/configure.ac index 1e4dd1f3..fd0871fa 100644 --- a/configure.ac +++ b/configure.ac @@ -146,6 +146,8 @@ AM_CONDITIONAL(WMC_STANDALONE, test "yes" = "no") AC_CONFIG_FILES([ Makefile marshallers/Makefile +include/Makefile +build-aux/Makefile libqcdm/Makefile libqcdm/src/Makefile libqcdm/tests/Makefile diff --git a/include/Makefile.am b/include/Makefile.am new file mode 100644 index 00000000..03b6b934 --- /dev/null +++ b/include/Makefile.am @@ -0,0 +1,14 @@ +XSLTPROC = xsltproc --xinclude --nonet + +XMLS = $(wildcard $(top_srcdir)/introspection/*.xml) + +includedir = @includedir@/mm + +include_HEADERS = \ + ModemManager.h + +ModemManager.h: $(XMLS) $(top_srcdir)/introspection/all.xml $(top_srcdir)/build-aux/header-generator.xsl + $(XSLTPROC) $(top_srcdir)/build-aux/header-generator.xsl $(top_srcdir)/introspection/all.xml > $@ + +CLEANFILES = \ + ModemManager.h
\ No newline at end of file |