This commit was manufactured by cvs2svn to create tag 'r234c1'.
[python/dscho.git] / Modules / expat / Makefile.in
blob97907392ea17b95c343d17a83e2822db08bd4ce7
1 ################################################################
2 # Process this file with top-level configure script to produce Makefile
4 # Copyright 2000 Clark Cooper
6 # This file is part of EXPAT.
8 # EXPAT is free software; you can redistribute it and/or modify it
9 # under the terms of the License (based on the MIT/X license) contained
10 # in the file COPYING that comes with this distribution.
12 # EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
15 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
16 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
17 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
18 # SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
22 SHELL = @SHELL@
24 srcdir = @srcdir@
25 top_srcdir = @top_srcdir@
26 VPATH = @srcdir@
27 prefix = @prefix@
28 exec_prefix = @exec_prefix@
30 bindir = @bindir@
31 sbindir = @sbindir@
32 libexecdir = @libexecdir@
33 datadir = @datadir@
34 sysconfdir = @sysconfdir@
35 sharedstatedir = @sharedstatedir@
36 localstatedir = @localstatedir@
37 libdir = @libdir@
38 infodir = @infodir@
39 mandir = @mandir@
40 includedir = @includedir@
41 oldincludedir = /usr/include
43 subdir = lib
45 top_builddir = ..
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_DATA = @INSTALL_DATA@
52 host_alias = @host_alias@
53 host_triplet = @host@
54 AS = @AS@
55 CC = @CC@
56 DLLTOOL = @DLLTOOL@
57 LIBTOOL = @LIBTOOL@
58 LN_S = @LN_S@
59 OBJDUMP = @OBJDUMP@
60 PACKAGE = @PACKAGE@
61 RANLIB = @RANLIB@
62 VERSION = @VERSION@
64 LIBRARY = libexpat.la
65 SOURCES = xmlparse.c xmltok.c xmlrole.c
66 OBJECTS = $(SOURCES:.c=.o)
67 LTOBJECTS = $(SOURCES:.c=.lo)
69 TEMPLATES = xmltok_impl.c xmltok_ns.c
70 APIHEADER = expat.h
71 HEADERS = ascii.h iasciitab.h utf8tab.h xmltok.h asciitab.h latin1tab.h \
72 nametab.h xmldef.h xmlrole.h xmltok_impl.h
74 mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
75 CONFIG_HEADER = ../config.h
76 CONFIG_CLEAN_FILES =
78 INCLUDES = -I$(srcdir) -I. -I..
79 DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"'
81 CPPFLAGS = @CPPFLAGS@
82 LDFLAGS = @LDFLAGS@
83 LIBS = @LIBS@
84 CFLAGS = @CFLAGS@
86 LIBREVISION = @LIBREVISION@
87 LIBCURRENT = @LIBCURRENT@
88 LIBAGE = @LIBAGE@
90 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
91 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
92 CCLD = $(CC)
93 LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@
94 DIST_COMMON = Makefile.in
97 DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS)
99 TAR = gtar
100 GZIP_ENV = --best
102 all: $(LIBRARY)
104 .SUFFIXES: .c .lo .o
105 .PHONY: all clean distclean maintainer-clean
107 .c.o:
108 $(COMPILE) -c $<
110 .c.lo:
111 $(LTCOMPILE) -c $<
113 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
114 cd $(top_builddir) \
115 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
117 $(top_builddir)/config.status: $(top_builddir)/configure
118 cd $(top_builddir) && $(MAKE) config.status
120 $(top_builddir)/config.h: $(top_builddir)/config.h.in
121 cd $(top_builddir) && $(MAKE) config.h
123 clean:
124 rm -f $(LIBRARY) *.o *.lo *~
125 rm -rf .libs _libs
127 distclean: clean
128 rm -f Makefile
130 maintainer-clean: distclean
132 check: $(SUBDIRS)
133 @echo
134 @echo This package does not yet have a regression test.
135 @echo
137 install: $(LIBRARY) $(APIHEADER)
138 $(mkinstalldirs) $(libdir) $(includedir)
139 $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY)
140 $(INSTALL_DATA) $(APIHEADER) $(includedir)
142 uninstall:
143 $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY);
144 rm -f $(libdir)/$(APIHEADER)
146 $(LIBRARY): $(LTOBJECTS)
147 $(LINK) -rpath $(libdir) $(LDFLAGS) $(LTOBJECTS)
149 xmlparse.o \
150 xmlparse.lo: xmlparse.c expat.h xmlrole.h xmltok.h $(top_builddir)/config.h
152 xmlrole.o \
153 xmlrole.lo: xmlrole.c ascii.h xmlrole.h $(top_builddir)/config.h
155 xmltok.o \
156 xmltok.lo: xmltok.c xmltok_impl.c xmltok_ns.c \
157 ascii.h asciitab.h iasciitab.h latin1tab.h nametab.h utf8tab.h \
158 xmltok.h xmltok_impl.h $(top_builddir)/config.h