Server IP : 66.29.132.122 / Your IP : 3.15.225.110 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/libxml2/usr/share/doc/alt-libxml2-devel/examples/ |
Upload File : |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include LDADD = $(top_builddir)/libxml2.la CLEANFILES = *.tmp rebuild: cd $(srcdir) && $(PYTHON) index.py $(MAKE) Makefile cd $(srcdir) && xsltproc examples.xsl examples.xml -cd $(srcdir) && xmllint --valid --noout index.html .PHONY: rebuild install-data-local: $(MKDIR_P) $(DESTDIR)$(docdir)/examples -$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(DESTDIR)$(docdir)/examples/ uninstall-local: rm -f $(DESTDIR)$(docdir)/examples/*.c rm -f $(DESTDIR)$(docdir)/examples/*.html -rmdir $(DESTDIR)$(docdir)/examples clean-local: test -f Makefile.am || rm -f test?.xml rm -f .memdump EXTRA_DIST = \ examples.xml \ examples.xsl \ index.html \ index.py \ test1.xml \ test2.xml \ test3.xml check_PROGRAMS = \ io1 \ io2 \ parse1 \ parse2 \ parse3 \ parse4 \ reader1 \ reader2 \ reader3 \ reader4 \ testWriter \ tree1 \ tree2 \ xpath1 \ xpath2 io1_SOURCES = io1.c io2_SOURCES = io2.c parse1_SOURCES = parse1.c parse2_SOURCES = parse2.c parse3_SOURCES = parse3.c parse4_SOURCES = parse4.c reader1_SOURCES = reader1.c reader2_SOURCES = reader2.c reader3_SOURCES = reader3.c reader4_SOURCES = reader4.c testWriter_SOURCES = testWriter.c tree1_SOURCES = tree1.c tree2_SOURCES = tree2.c xpath1_SOURCES = xpath1.c xpath2_SOURCES = xpath2.c valgrind: $(MAKE) CHECKER='valgrind' check check-local: @test -f Makefile.am || test -f test1.xml || $(LN_S) $(srcdir)/test?.xml . @(echo '## examples regression tests') @(echo > .memdump) @$(CHECKER) ./io1 >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./io2 >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./parse1 test1.xml @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./parse2 test2.xml @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./parse3 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./parse4 test3.xml @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./reader1 test2.xml >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./reader2 test2.xml >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./reader3 >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./reader4 test1.xml test2.xml test3.xml >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./testWriter @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./tree1 test2.xml >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./tree2 >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./xpath1 test3.xml '//child2' >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @$(CHECKER) ./xpath2 test3.xml '//discarded' discarded >/dev/null @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 @rm -f *.tmp