]> git.mxchange.org Git - flightgear.git/blobdiff - utils/xmlgrep/Makefile.am
disambiguate pow usage
[flightgear.git] / utils / xmlgrep / Makefile.am
index 160aca75d936d79c7c6dd73956544e242182b1cc..167f15a9dc37f14fba258f69cfe7edf24d0bcebf 100644 (file)
@@ -1,5 +1,18 @@
-noinst_PROGRAMS = xmlgrep printxml
+noinst_HEADERS = xml_cache.h xml.h
 
-xmlgrep_SOURCES = xmlgrep.c xml.c xml.h
+noinst_LIBRARIES = libxmlconf.a
 
-printxml_SOURCES = printxml.c xml.c
+libxmlconf_a_SOURCES = xml_cache.c xml.c
+
+noinst_PROGRAMS = testxml printxml xmlgrep
+
+testxml_SOURCES = testxml.c
+testxml_LDADD = libxmlconf.a
+
+printxml_SOURCES = $(xml_SOURCE) printxml.c
+printxml_LDADD = libxmlconf.a
+
+xmlgrep_SOURCES = $(xml_SOURCE) xmlgrep.c xml.c xml.h
+xmlgrep_LDADD = libxmlconf.a
+
+INCLUDES = -DSRC_DIR=\"$(top_srcdir)/utils/xmlgrep\" -DXML_USE_NODECACHE