include ../settings.mk NATIVE_XML2_LIB = $(shell ../findLib "libxml2.so.2") all: a.out prototypes: a.c $(CC) -aux-info prototypes -o a.out a.c `pkg-config --cflags --libs libxml-2.0` include modules.mk clean: rm -f a.out prototypes rm -f c14n.5D c14n.sign rm -f catalog.5D catalog.sign rm -f chvalid.5D chvalid.sign rm -f debugXML.5D debugXML.sign rm -f dict.5D dict.sign rm -f DOCBparser.5D DOCBparser.sign rm -f encoding.5D encoding.sign rm -f entities.5D entities.sign rm -f globals.5D globals.sign rm -f hash.5D hash.sign rm -f HTMLparser.5D HTMLparser.sign rm -f HTMLtree.5D HTMLtree.sign rm -f list.5D list.sign rm -f nanoftp.5D nanoftp.sign rm -f nanohttp.5D nanohttp.sign rm -f parser.5D parser.sign rm -f parserInternals.5D parserInternals.sign rm -f pattern.5D pattern.sign rm -f relaxng.5D relaxng.sign rm -f SAX2.5D SAX2.sign rm -f SAX.5D SAX.sign rm -f schemasInternals.5D schemasInternals.sign rm -f schematron.5D schematron.sign rm -f threads.5D threads.sign rm -f tree.5D tree.sign rm -f uri.5D uri.sign rm -f valid.5D valid.sign rm -f xinclude.5D xinclude.sign rm -f xlink.5D xlink.sign rm -f xmlautomata.5D xmlautomata.sign rm -f xmlerror.5D xmlerror.sign rm -f xmlIO.5D xmlIO.sign rm -f xmlmemory.5D xmlmemory.sign rm -f xmlmodule.5D xmlmodule.sign rm -f xmlreader.5D xmlreader.sign rm -f xmlregexp.5D xmlregexp.sign rm -f xmlsave.5D xmlsave.sign rm -f xmlschemas.5D xmlschemas.sign rm -f xmlschemastypes.5D xmlschemastypes.sign rm -f xmlstring.5D xmlstring.sign rm -f xmlunicode.5D xmlunicode.sign rm -f xmlversion.5D xmlversion.sign rm -f xmlwriter.5D xmlwriter.sign rm -f xpath.5D xpath.sign rm -f xpathInternals.5D xpathInternals.sign rm -f xpointer.5D xpointer.sign rm -f *.symbols distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/libxml2 install -m 644 init.5D $(DESTDIR)/usr/share/5D/libxml2/init.5D install -m 644 c14n.5D $(DESTDIR)/usr/share/5D/libxml2/c14n.5D install -m 644 catalog.5D $(DESTDIR)/usr/share/5D/libxml2/catalog.5D install -m 644 chvalid.5D $(DESTDIR)/usr/share/5D/libxml2/chvalid.5D install -m 644 debugXML.5D $(DESTDIR)/usr/share/5D/libxml2/debugXML.5D install -m 644 dict.5D $(DESTDIR)/usr/share/5D/libxml2/dict.5D install -m 644 DOCBparser.5D $(DESTDIR)/usr/share/5D/libxml2/DOCBparser.5D install -m 644 encoding.5D $(DESTDIR)/usr/share/5D/libxml2/encoding.5D install -m 644 entities.5D $(DESTDIR)/usr/share/5D/libxml2/entities.5D install -m 644 globals.5D $(DESTDIR)/usr/share/5D/libxml2/globals.5D install -m 644 hash.5D $(DESTDIR)/usr/share/5D/libxml2/hash.5D install -m 644 HTMLparser.5D $(DESTDIR)/usr/share/5D/libxml2/HTMLparser.5D install -m 644 HTMLtree.5D $(DESTDIR)/usr/share/5D/libxml2/HTMLtree.5D install -m 644 list.5D $(DESTDIR)/usr/share/5D/libxml2/list.5D install -m 644 nanoftp.5D $(DESTDIR)/usr/share/5D/libxml2/nanoftp.5D install -m 644 nanohttp.5D $(DESTDIR)/usr/share/5D/libxml2/nanohttp.5D install -m 644 parser.5D $(DESTDIR)/usr/share/5D/libxml2/parser.5D install -m 644 parserInternals.5D $(DESTDIR)/usr/share/5D/libxml2/parserInternals.5D install -m 644 pattern.5D $(DESTDIR)/usr/share/5D/libxml2/pattern.5D install -m 644 relaxng.5D $(DESTDIR)/usr/share/5D/libxml2/relaxng.5D install -m 644 SAX2.5D $(DESTDIR)/usr/share/5D/libxml2/SAX2.5D install -m 644 SAX.5D $(DESTDIR)/usr/share/5D/libxml2/SAX.5D install -m 644 schemasInternals.5D $(DESTDIR)/usr/share/5D/libxml2/schemasInternals.5D install -m 644 schematron.5D $(DESTDIR)/usr/share/5D/libxml2/schematron.5D install -m 644 threads.5D $(DESTDIR)/usr/share/5D/libxml2/threads.5D install -m 644 tree.5D $(DESTDIR)/usr/share/5D/libxml2/tree.5D install -m 644 uri.5D $(DESTDIR)/usr/share/5D/libxml2/uri.5D install -m 644 valid.5D $(DESTDIR)/usr/share/5D/libxml2/valid.5D install -m 644 xinclude.5D $(DESTDIR)/usr/share/5D/libxml2/xinclude.5D install -m 644 xlink.5D $(DESTDIR)/usr/share/5D/libxml2/xlink.5D install -m 644 xmlautomata.5D $(DESTDIR)/usr/share/5D/libxml2/xmlautomata.5D install -m 644 xmlerror.5D $(DESTDIR)/usr/share/5D/libxml2/xmlerror.5D install -m 644 xmlIO.5D $(DESTDIR)/usr/share/5D/libxml2/xmlIO.5D install -m 644 xmlmemory.5D $(DESTDIR)/usr/share/5D/libxml2/xmlmemory.5D install -m 644 xmlmodule.5D $(DESTDIR)/usr/share/5D/libxml2/xmlmodule.5D install -m 644 xmlreader.5D $(DESTDIR)/usr/share/5D/libxml2/xmlreader.5D install -m 644 xmlregexp.5D $(DESTDIR)/usr/share/5D/libxml2/xmlregexp.5D install -m 644 xmlsave.5D $(DESTDIR)/usr/share/5D/libxml2/xmlsave.5D install -m 644 xmlschemas.5D $(DESTDIR)/usr/share/5D/libxml2/xmlschemas.5D install -m 644 xmlschemastypes.5D $(DESTDIR)/usr/share/5D/libxml2/xmlschemastypes.5D install -m 644 xmlstring.5D $(DESTDIR)/usr/share/5D/libxml2/xmlstring.5D install -m 644 xmlunicode.5D $(DESTDIR)/usr/share/5D/libxml2/xmlunicode.5D install -m 644 xmlversion.5D $(DESTDIR)/usr/share/5D/libxml2/xmlversion.5D install -m 644 xmlwriter.5D $(DESTDIR)/usr/share/5D/libxml2/xmlwriter.5D install -m 644 xpath.5D $(DESTDIR)/usr/share/5D/libxml2/xpath.5D install -m 644 xpathInternals.5D $(DESTDIR)/usr/share/5D/libxml2/xpathInternals.5D install -m 644 xpointer.5D $(DESTDIR)/usr/share/5D/libxml2/xpointer.5D