Makefile.in (225736) | Makefile.in (247513) |
---|---|
1################################################################ 2# Process this file with top-level configure script to produce Makefile 3# 4# Copyright 2000 Clark Cooper 5# 6# This file is part of EXPAT. 7# 8# EXPAT is free software; you can redistribute it and/or modify it --- 17 unchanged lines hidden (view full) --- 26 27prefix = @prefix@ 28exec_prefix = @exec_prefix@ 29 30bindir = @bindir@ 31libdir = @libdir@ 32includedir = @includedir@ 33man1dir = @mandir@/man1 | 1################################################################ 2# Process this file with top-level configure script to produce Makefile 3# 4# Copyright 2000 Clark Cooper 5# 6# This file is part of EXPAT. 7# 8# EXPAT is free software; you can redistribute it and/or modify it --- 17 unchanged lines hidden (view full) --- 26 27prefix = @prefix@ 28exec_prefix = @exec_prefix@ 29 30bindir = @bindir@ 31libdir = @libdir@ 32includedir = @includedir@ 33man1dir = @mandir@/man1 |
34pkgconfigdir = $(libdir)/pkgconfig |
|
34 35top_builddir = . 36 37 38INSTALL = @INSTALL@ 39INSTALL_PROGRAM = @INSTALL_PROGRAM@ 40INSTALL_DATA = @INSTALL_DATA@ 41mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs 42 43MANFILE = $(srcdir)/doc/xmlwf.1 44APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h 45LIBRARY = libexpat.la 46 47DESTDIR = $(INSTALL_ROOT) 48 | 35 36top_builddir = . 37 38 39INSTALL = @INSTALL@ 40INSTALL_PROGRAM = @INSTALL_PROGRAM@ 41INSTALL_DATA = @INSTALL_DATA@ 42mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs 43 44MANFILE = $(srcdir)/doc/xmlwf.1 45APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h 46LIBRARY = libexpat.la 47 48DESTDIR = $(INSTALL_ROOT) 49 |
49default: buildlib xmlwf/xmlwf | 50default: buildlib xmlwf/xmlwf@EXEEXT@ |
50 | 51 |
51buildlib: $(LIBRARY) | 52buildlib: $(LIBRARY) expat.pc |
52 | 53 |
53all: $(LIBRARY) xmlwf/xmlwf examples/elements examples/outline | 54all: $(LIBRARY) expat.pc xmlwf/xmlwf@EXEEXT@ examples/elements examples/outline |
54 55clean: | 55 56clean: |
56 cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs 57 cd xmlwf && rm -f xmlwf *.o *.lo && rm -rf .libs _libs 58 cd examples && rm -f elements outline *.o *.lo && rm -rf .libs _libs 59 cd tests && rm -rf .libs runtests runtests.o runtestspp runtestspp.o 60 cd tests && rm -f chardata.o minicheck.o | 57 cd lib && rm -f $(LIBRARY) *.@OBJEXT@ *.lo && rm -rf .libs _libs 58 cd xmlwf && rm -f xmlwf *.@OBJEXT@ *.lo && rm -rf .libs _libs 59 cd examples && rm -f elements outline *.@OBJEXT@ *.lo && rm -rf .libs _libs 60 cd tests && rm -rf .libs runtests runtests.@OBJEXT@ runtestspp runtestspp.@OBJEXT@ 61 cd tests && rm -f chardata.@OBJEXT@ minicheck.@OBJEXT@ |
61 rm -rf .libs libexpat.la 62 rm -f examples/core tests/core xmlwf/core 63 64clobber: clean 65 66distclean: clean 67 rm -f expat_config.h config.status config.log config.cache libtool | 62 rm -rf .libs libexpat.la 63 rm -f examples/core tests/core xmlwf/core 64 65clobber: clean 66 67distclean: clean 68 rm -f expat_config.h config.status config.log config.cache libtool |
68 rm -f Makefile | 69 rm -f Makefile expat.pc |
69 70extraclean: distclean 71 rm -f expat_config.h.in configure | 70 71extraclean: distclean 72 rm -f expat_config.h.in configure |
72 rm -f conftools/ltconfig conftools/ltmain.sh conftools/libtool.m4 | 73 rm -f aclocal.m4 m4/* 74 rm -f conftools/ltmain.sh conftools/install-sh conftools/config.guess conftools/config.sub |
73 74check: tests/runtests tests/runtestspp 75 tests/runtests 76 tests/runtestspp 77 | 75 76check: tests/runtests tests/runtestspp 77 tests/runtests 78 tests/runtestspp 79 |
78install: xmlwf/xmlwf installlib | 80install: xmlwf/xmlwf@EXEEXT@ installlib |
79 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) | 81 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) |
80 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(DESTDIR)$(bindir)/xmlwf | 82 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf |
81 $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) 82 | 83 $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) 84 |
83installlib: $(LIBRARY) $(APIHEADER) 84 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) | 85installlib: $(LIBRARY) $(APIHEADER) expat.pc 86 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(pkgconfigdir) |
85 $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) 86 for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done | 87 $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) 88 for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done |
89 $(INSTALL_DATA) expat.pc $(DESTDIR)$(pkgconfigdir)/expat.pc |
|
87 88uninstall: uninstalllib | 90 91uninstall: uninstalllib |
89 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf | 92 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf@EXEEXT@ |
90 rm -f $(DESTDIR)$(man1dir)/xmlwf.1 91 92uninstalllib: 93 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) 94 rm -f $(DESTDIR)$(includedir)/expat.h 95 rm -f $(DESTDIR)$(includedir)/expat_external.h | 93 rm -f $(DESTDIR)$(man1dir)/xmlwf.1 94 95uninstalllib: 96 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) 97 rm -f $(DESTDIR)$(includedir)/expat.h 98 rm -f $(DESTDIR)$(includedir)/expat_external.h |
99 rm -f $(DESTDIR)$(pkgconfigdir)/expat.pc |
|
96 97# for VPATH builds (invoked by configure) 98mkdir-init: 99 @for d in lib xmlwf examples tests ; do \ 100 (mkdir $$d 2> /dev/null || test 1) ; \ 101 done 102 103CC = @CC@ --- 16 unchanged lines hidden (view full) --- 120LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@ 121LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@ 122LINK_CXX_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CXXCOMPILE) $(LDFLAGS) -o $@ 123 124LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo 125$(LIBRARY): $(LIB_OBJS) 126 $(LINK_LIB) $(LIB_OBJS) 127 | 100 101# for VPATH builds (invoked by configure) 102mkdir-init: 103 @for d in lib xmlwf examples tests ; do \ 104 (mkdir $$d 2> /dev/null || test 1) ; \ 105 done 106 107CC = @CC@ --- 16 unchanged lines hidden (view full) --- 124LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@ 125LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@ 126LINK_CXX_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CXXCOMPILE) $(LDFLAGS) -o $@ 127 128LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo 129$(LIBRARY): $(LIB_OBJS) 130 $(LINK_LIB) $(LIB_OBJS) 131 |
132expat.pc: $(top_builddir)/config.status 133 cd $(top_builddir) && $(SHELL) ./config.status $@ 134 |
|
128lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \ 129 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 130 131lib/xmlrole.lo: lib/xmlrole.c lib/ascii.h lib/xmlrole.h \ 132 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 133 134lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmltok_ns.c \ 135 lib/ascii.h lib/asciitab.h lib/iasciitab.h lib/latin1tab.h \ 136 lib/nametab.h lib/utf8tab.h lib/xmltok.h lib/xmltok_impl.h \ 137 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 138 139 | 135lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \ 136 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 137 138lib/xmlrole.lo: lib/xmlrole.c lib/ascii.h lib/xmlrole.h \ 139 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 140 141lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmltok_ns.c \ 142 lib/ascii.h lib/asciitab.h lib/iasciitab.h lib/latin1tab.h \ 143 lib/nametab.h lib/utf8tab.h lib/xmltok.h lib/xmltok_impl.h \ 144 $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h 145 146 |
140XMLWF_OBJS = xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/@FILEMAP@.o 141xmlwf/xmlwf.o: xmlwf/xmlwf.c 142xmlwf/xmlfile.o: xmlwf/xmlfile.c 143xmlwf/codepage.o: xmlwf/codepage.c 144xmlwf/@FILEMAP@.o: xmlwf/@FILEMAP@.c 145xmlwf/xmlwf: $(XMLWF_OBJS) $(LIBRARY) | 147XMLWF_OBJS = xmlwf/xmlwf.@OBJEXT@ xmlwf/xmlfile.@OBJEXT@ xmlwf/codepage.@OBJEXT@ xmlwf/@FILEMAP@.@OBJEXT@ 148xmlwf/xmlwf.@OBJEXT@: xmlwf/xmlwf.c 149xmlwf/xmlfile.@OBJEXT@: xmlwf/xmlfile.c 150xmlwf/codepage.@OBJEXT@: xmlwf/codepage.c 151xmlwf/@FILEMAP@.@OBJEXT@: xmlwf/@FILEMAP@.c 152xmlwf/xmlwf@EXEEXT@: $(XMLWF_OBJS) $(LIBRARY) |
146 $(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY) 147 | 153 $(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY) 154 |
148examples/elements.o: examples/elements.c 149examples/elements: examples/elements.o $(LIBRARY) | 155examples/elements.@OBJEXT@: examples/elements.c 156examples/elements: examples/elements.@OBJEXT@ $(LIBRARY) |
150 $(LINK_EXE) $< $(LIBRARY) 151 | 157 $(LINK_EXE) $< $(LIBRARY) 158 |
152examples/outline.o: examples/outline.c 153examples/outline: examples/outline.o $(LIBRARY) | 159examples/outline.@OBJEXT@: examples/outline.c 160examples/outline: examples/outline.@OBJEXT@ $(LIBRARY) |
154 $(LINK_EXE) $< $(LIBRARY) 155 | 161 $(LINK_EXE) $< $(LIBRARY) 162 |
156tests/chardata.o: tests/chardata.c tests/chardata.h 157tests/minicheck.o: tests/minicheck.c tests/minicheck.h 158tests/runtests.o: tests/runtests.c tests/chardata.h 159tests/runtests: tests/runtests.o tests/chardata.o tests/minicheck.o $(LIBRARY) 160 $(LINK_EXE) tests/runtests.o tests/chardata.o tests/minicheck.o $(LIBRARY) 161tests/runtestspp.o: tests/runtestspp.cpp tests/runtests.c tests/chardata.h 162tests/runtestspp: tests/runtestspp.o tests/chardata.o tests/minicheck.o $(LIBRARY) 163 $(LINK_CXX_EXE) tests/runtestspp.o tests/chardata.o tests/minicheck.o $(LIBRARY) | 163tests/chardata.@OBJEXT@: tests/chardata.c tests/chardata.h 164tests/minicheck.@OBJEXT@: tests/minicheck.c tests/minicheck.h 165tests/runtests.@OBJEXT@: tests/runtests.c tests/chardata.h 166tests/runtests: tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) 167 $(LINK_EXE) tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) 168tests/runtestspp.@OBJEXT@: tests/runtestspp.cpp tests/runtests.c tests/chardata.h 169tests/runtestspp: tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) 170 $(LINK_CXX_EXE) tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY) |
164 | 171 |
172tests/benchmark/benchmark.@OBJEXT@: tests/benchmark/benchmark.c 173tests/benchmark/benchmark: tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY) 174 $(LINK_EXE) tests/benchmark/benchmark.@OBJEXT@ $(LIBRARY) 175 176run-benchmark: tests/benchmark/benchmark 177 tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3 178 |
|
165tests/xmlts.zip: 166 wget --output-document=tests/xmlts.zip \ | 179tests/xmlts.zip: 180 wget --output-document=tests/xmlts.zip \ |
167 http://www.w3.org/XML/Test/xmlts20020606.zip | 181 http://www.w3.org/XML/Test/xmlts20080827.zip |
168 169tests/XML-Test-Suite: tests/xmlts.zip 170 cd tests && unzip -q xmlts.zip 171 | 182 183tests/XML-Test-Suite: tests/xmlts.zip 184 cd tests && unzip -q xmlts.zip 185 |
172run-xmltest: xmlwf/xmlwf tests/XML-Test-Suite | 186run-xmltest: xmlwf/xmlwf@EXEEXT@ tests/XML-Test-Suite |
173 tests/xmltest.sh 174 | 187 tests/xmltest.sh 188 |
175.SUFFIXES: .c .cpp .lo .o | 189.SUFFIXES: .c .cpp .lo .@OBJEXT@ |
176 | 190 |
177.cpp.o: | 191.cpp.@OBJEXT@: |
178 $(CXXCOMPILE) -o $@ -c $< | 192 $(CXXCOMPILE) -o $@ -c $< |
179.c.o: | 193.c.@OBJEXT@: |
180 $(COMPILE) -o $@ -c $< 181.c.lo: 182 $(LTCOMPILE) -o $@ -c $< 183 184.PHONY: buildlib all \ 185 clean distclean extraclean maintainer-clean \ 186 dist distdir \ 187 install uninstall | 194 $(COMPILE) -o $@ -c $< 195.c.lo: 196 $(LTCOMPILE) -o $@ -c $< 197 198.PHONY: buildlib all \ 199 clean distclean extraclean maintainer-clean \ 200 dist distdir \ 201 install uninstall |