version 1.1.1.1, 2012/02/21 23:00:54
|
version 1.1.1.2, 2014/06/15 16:09:42
|
Line 31 bindir = @bindir@
|
Line 31 bindir = @bindir@
|
libdir = @libdir@ |
libdir = @libdir@ |
includedir = @includedir@ |
includedir = @includedir@ |
man1dir = @mandir@/man1 |
man1dir = @mandir@/man1 |
|
pkgconfigdir = $(libdir)/pkgconfig |
|
|
top_builddir = . |
top_builddir = . |
|
|
Line 46 LIBRARY = libexpat.la
|
Line 47 LIBRARY = libexpat.la
|
|
|
DESTDIR = $(INSTALL_ROOT) |
DESTDIR = $(INSTALL_ROOT) |
|
|
default: buildlib xmlwf/xmlwf | default: buildlib xmlwf/xmlwf@EXEEXT@ |
|
|
buildlib: $(LIBRARY) | buildlib: $(LIBRARY) expat.pc |
|
|
all: $(LIBRARY) xmlwf/xmlwf examples/elements examples/outline | all: $(LIBRARY) expat.pc xmlwf/xmlwf@EXEEXT@ examples/elements examples/outline |
|
|
clean: |
clean: |
cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs | cd lib && rm -f $(LIBRARY) *.@OBJEXT@ *.lo && rm -rf .libs _libs |
cd xmlwf && rm -f xmlwf *.o *.lo && rm -rf .libs _libs | cd xmlwf && rm -f xmlwf *.@OBJEXT@ *.lo && rm -rf .libs _libs |
cd examples && rm -f elements outline *.o *.lo && rm -rf .libs _libs | cd examples && rm -f elements outline *.@OBJEXT@ *.lo && rm -rf .libs _libs |
cd tests && rm -rf .libs runtests runtests.o runtestspp runtestspp.o | cd tests && rm -rf .libs runtests runtests.@OBJEXT@ runtestspp runtestspp.@OBJEXT@ |
cd tests && rm -f chardata.o minicheck.o | cd tests && rm -f chardata.@OBJEXT@ minicheck.@OBJEXT@ |
rm -rf .libs libexpat.la |
rm -rf .libs libexpat.la |
rm -f examples/core tests/core xmlwf/core |
rm -f examples/core tests/core xmlwf/core |
|
|
Line 65 clobber: clean
|
Line 66 clobber: clean
|
|
|
distclean: clean |
distclean: clean |
rm -f expat_config.h config.status config.log config.cache libtool |
rm -f expat_config.h config.status config.log config.cache libtool |
rm -f Makefile | rm -f Makefile expat.pc |
|
|
extraclean: distclean |
extraclean: distclean |
rm -f expat_config.h.in configure |
rm -f expat_config.h.in configure |
rm -f conftools/ltconfig conftools/ltmain.sh conftools/libtool.m4 | rm -f aclocal.m4 m4/* |
| rm -f conftools/ltmain.sh conftools/install-sh conftools/config.guess conftools/config.sub |
|
|
check: tests/runtests tests/runtestspp |
check: tests/runtests tests/runtestspp |
tests/runtests |
tests/runtests |
tests/runtestspp |
tests/runtestspp |
|
|
install: xmlwf/xmlwf installlib | install: xmlwf/xmlwf@EXEEXT@ installlib |
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) |
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) |
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(DESTDIR)$(bindir)/xmlwf | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf |
$(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) |
$(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) |
|
|
installlib: $(LIBRARY) $(APIHEADER) | installlib: $(LIBRARY) $(APIHEADER) expat.pc |
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) | $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(pkgconfigdir) |
$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) |
$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) |
for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done |
for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done |
|
$(INSTALL_DATA) expat.pc $(DESTDIR)$(pkgconfigdir)/expat.pc |
|
|
uninstall: uninstalllib |
uninstall: uninstalllib |
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf | $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf@EXEEXT@ |
rm -f $(DESTDIR)$(man1dir)/xmlwf.1 |
rm -f $(DESTDIR)$(man1dir)/xmlwf.1 |
|
|
uninstalllib: |
uninstalllib: |
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) |
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) |
rm -f $(DESTDIR)$(includedir)/expat.h |
rm -f $(DESTDIR)$(includedir)/expat.h |
rm -f $(DESTDIR)$(includedir)/expat_external.h |
rm -f $(DESTDIR)$(includedir)/expat_external.h |
|
rm -f $(DESTDIR)$(pkgconfigdir)/expat.pc |
|
|
# for VPATH builds (invoked by configure) |
# for VPATH builds (invoked by configure) |
mkdir-init: |
mkdir-init: |
Line 125 LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.l
|
Line 129 LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.l
|
$(LIBRARY): $(LIB_OBJS) |
$(LIBRARY): $(LIB_OBJS) |
$(LINK_LIB) $(LIB_OBJS) |
$(LINK_LIB) $(LIB_OBJS) |
|
|
|
expat.pc: $(top_builddir)/config.status |
|
cd $(top_builddir) && $(SHELL) ./config.status $@ |
|
|
lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \ |
lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \ |
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h |
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h |
|
|
Line 137 lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmlt
|
Line 144 lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmlt
|
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h |
$(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h |
|
|
|
|
XMLWF_OBJS = xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/@FILEMAP@.o | XMLWF_OBJS = xmlwf/xmlwf.@OBJEXT@ xmlwf/xmlfile.@OBJEXT@ xmlwf/codepage.@OBJEXT@ xmlwf/@FILEMAP@.@OBJEXT@ |
xmlwf/xmlwf.o: xmlwf/xmlwf.c | xmlwf/xmlwf.@OBJEXT@: xmlwf/xmlwf.c |
xmlwf/xmlfile.o: xmlwf/xmlfile.c | xmlwf/xmlfile.@OBJEXT@: xmlwf/xmlfile.c |
xmlwf/codepage.o: xmlwf/codepage.c | xmlwf/codepage.@OBJEXT@: xmlwf/codepage.c |
xmlwf/@FILEMAP@.o: xmlwf/@FILEMAP@.c | xmlwf/@FILEMAP@.@OBJEXT@: xmlwf/@FILEMAP@.c |
xmlwf/xmlwf: $(XMLWF_OBJS) $(LIBRARY) | xmlwf/xmlwf@EXEEXT@: $(XMLWF_OBJS) $(LIBRARY) |
$(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY) |
$(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY) |
|
|
examples/elements.o: examples/elements.c | examples/elements.@OBJEXT@: examples/elements.c |
examples/elements: examples/elements.o $(LIBRARY) | examples/elements: examples/elements.@OBJEXT@ $(LIBRARY) |
$(LINK_EXE) $< $(LIBRARY) |
$(LINK_EXE) $< $(LIBRARY) |
|
|
examples/outline.o: examples/outline.c | examples/outline.@OBJEXT@: examples/outline.c |
examples/outline: examples/outline.o $(LIBRARY) | examples/outline: examples/outline.@OBJEXT@ $(LIBRARY) |
$(LINK_EXE) $< $(LIBRARY) |
$(LINK_EXE) $< $(LIBRARY) |
|
|
tests/chardata.o: tests/chardata.c tests/chardata.h | tests/chardata.@OBJEXT@: tests/chardata.c tests/chardata.h |
tests/minicheck.o: tests/minicheck.c tests/minicheck.h | tests/minicheck.@OBJEXT@: tests/minicheck.c tests/minicheck.h |
tests/runtests.o: tests/runtests.c tests/chardata.h | tests/runtests.@OBJEXT@: tests/runtests.c tests/chardata.h |
tests/runtests: tests/runtests.o tests/chardata.o tests/minicheck.o $(LIBRARY) | tests/runtests: tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) |
$(LINK_EXE) tests/runtests.o tests/chardata.o tests/minicheck.o $(LIBRARY) | $(LINK_EXE) tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) |
tests/runtestspp.o: tests/runtestspp.cpp tests/runtests.c tests/chardata.h | tests/runtestspp.@OBJEXT@: tests/runtestspp.cpp tests/runtests.c tests/chardata.h |
tests/runtestspp: tests/runtestspp.o tests/chardata.o tests/minicheck.o $(LIBRARY) | tests/runtestspp: tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) |
$(LINK_CXX_EXE) tests/runtestspp.o tests/chardata.o tests/minicheck.o $(LIBRARY) | $(LINK_CXX_EXE) tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) |
|
|
|
tests/benchmark/benchmark.@OBJEXT@: tests/benchmark/benchmark.c |
|
tests/benchmark/benchmark: tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY) |
|
$(LINK_EXE) tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY) |
|
|
|
run-benchmark: tests/benchmark/benchmark |
|
tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3 |
|
|
tests/xmlts.zip: |
tests/xmlts.zip: |
wget --output-document=tests/xmlts.zip \ |
wget --output-document=tests/xmlts.zip \ |
http://www.w3.org/XML/Test/xmlts20020606.zip | http://www.w3.org/XML/Test/xmlts20080827.zip |
|
|
tests/XML-Test-Suite: tests/xmlts.zip |
tests/XML-Test-Suite: tests/xmlts.zip |
cd tests && unzip -q xmlts.zip |
cd tests && unzip -q xmlts.zip |
|
|
run-xmltest: xmlwf/xmlwf tests/XML-Test-Suite | run-xmltest: xmlwf/xmlwf@EXEEXT@ tests/XML-Test-Suite |
tests/xmltest.sh |
tests/xmltest.sh |
|
|
.SUFFIXES: .c .cpp .lo .o | .SUFFIXES: .c .cpp .lo .@OBJEXT@ |
|
|
.cpp.o: | .cpp.@OBJEXT@: |
$(CXXCOMPILE) -o $@ -c $< |
$(CXXCOMPILE) -o $@ -c $< |
.c.o: | .c.@OBJEXT@: |
$(COMPILE) -o $@ -c $< |
$(COMPILE) -o $@ -c $< |
.c.lo: |
.c.lo: |
$(LTCOMPILE) -o $@ -c $< |
$(LTCOMPILE) -o $@ -c $< |