build: disable autogeneration of the 0.5 API header file

But keep it around as a static file, while we do the migration to the new
interface.
This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:19 +01:00
parent 3b976c4399
commit 49bbaf8e31
6 changed files with 523 additions and 376 deletions
+4 -10
View File
@@ -1,7 +1,6 @@
XSLTPROC = xsltproc --xinclude --nonet
OLD_XMLS = $(wildcard $(top_srcdir)/introspection/*.xml)
NEW_XMLS = $(wildcard $(top_srcdir)/new/*.xml)
XMLS = $(wildcard $(top_srcdir)/new/*.xml)
includedir = @includedir@/mm
@@ -12,13 +11,8 @@ include_HEADERS = \
ModemManager1.h \
ModemManager.h
# NOTE: This is the header of the 0.5 API, which will get removed
ModemManager.h: $(OLD_XMLS) $(top_srcdir)/introspection/all.xml $(top_srcdir)/build-aux/header-generator.xsl
$(AM_V_GEN) $(XSLTPROC) $(top_srcdir)/build-aux/header-generator.xsl $(top_srcdir)/introspection/all.xml > $@
ModemManager-names.h: $(NEW_XMLS) $(top_srcdir)/new/all.xml $(top_srcdir)/build-aux/header-generator-new.xsl
$(AM_V_GEN) $(XSLTPROC) $(top_srcdir)/build-aux/header-generator-new.xsl $(top_srcdir)/new/all.xml > $@
ModemManager-names.h: $(XMLS) $(top_srcdir)/new/all.xml $(top_srcdir)/build-aux/header-generator.xsl
$(AM_V_GEN) $(XSLTPROC) $(top_srcdir)/build-aux/header-generator.xsl $(top_srcdir)/new/all.xml > $@
CLEANFILES = \
ModemManager-names.h \
ModemManager.h
ModemManager-names.h