summaryrefslogtreecommitdiff
path: root/xml/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'xml/Jamfile')
-rw-r--r--xml/Jamfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/xml/Jamfile b/xml/Jamfile
new file mode 100644
index 0000000..c931c12
--- /dev/null
+++ b/xml/Jamfile
@@ -0,0 +1,28 @@
+# JAM style makefile for miniXML
+
+#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
+PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
+#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags
+PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags
+
+#Products
+Libraries = libmxml ;
+Executables = ;
+Headers = mxml.h ;
+
+#Install
+#InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
+#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
+#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
+
+if $(NT) {
+ DEFINES += WIN32 ;
+}
+
+# mXML library
+Library libmxml : mxml-attr.c mxml-entity.c mxml-file.c mxml-get.c mxml-index.c
+ mxml-node.c mxml-private.c mxml-search.c mxml-set.c mxml-string.c ;
+
+LINKLIBS = libmxml ;
+
+MainsFromSources testmxml.c ;