~ubuntu-branches/ubuntu/natty/expat/natty

« back to all changes in this revision

Viewing changes to lib/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Ardo van Rangelrooij
  • Date: 2004-02-29 11:01:15 UTC
  • mto: (2.1.1 warty) (4.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040229110115-5lvfwtlieqsljx6c
Tags: upstream-1.95.6
ImportĀ upstreamĀ versionĀ 1.95.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
9
 
#  under the terms of the License (based on the MIT/X license) contained
10
 
#  in the file COPYING that comes with this distribution.
11
 
#
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.
19
 
#
20
 
 
21
 
 
22
 
SHELL = @SHELL@
23
 
 
24
 
srcdir = @srcdir@
25
 
top_srcdir = @top_srcdir@
26
 
VPATH = @srcdir@
27
 
prefix = @prefix@
28
 
exec_prefix = @exec_prefix@
29
 
 
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
42
 
 
43
 
subdir = lib
44
 
 
45
 
top_builddir = ..
46
 
 
47
 
INSTALL = @INSTALL@
48
 
INSTALL_PROGRAM = @INSTALL_PROGRAM@
49
 
INSTALL_SCRIPT = @INSTALL_SCRIPT@
50
 
INSTALL_DATA = @INSTALL_DATA@
51
 
 
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@
63
 
 
64
 
LIBRARY = libexpat.la
65
 
SOURCES = xmlparse.c xmltok.c xmlrole.c
66
 
OBJECTS = $(SOURCES:.c=.o)
67
 
LTOBJECTS = $(SOURCES:.c=.lo)
68
 
 
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
73
 
 
74
 
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
75
 
CONFIG_HEADER = ../config.h
76
 
CONFIG_CLEAN_FILES = 
77
 
 
78
 
INCLUDES = -I$(srcdir) -I. -I..
79
 
DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"'
80
 
 
81
 
CPPFLAGS = @CPPFLAGS@
82
 
LDFLAGS = @LDFLAGS@
83
 
LIBS = @LIBS@
84
 
CFLAGS = @CFLAGS@
85
 
 
86
 
LIBREVISION = @LIBREVISION@
87
 
LIBCURRENT  = @LIBCURRENT@
88
 
LIBAGE      = @LIBAGE@
89
 
 
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
95
 
 
96
 
 
97
 
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS) 
98
 
 
99
 
TAR = gtar
100
 
GZIP_ENV = --best
101
 
 
102
 
all: $(LIBRARY)
103
 
 
104
 
.SUFFIXES: .c .lo .o
105
 
.PHONY: all clean distclean maintainer-clean
106
 
 
107
 
.c.o:
108
 
        $(COMPILE) -c $<
109
 
 
110
 
.c.lo:
111
 
        $(LTCOMPILE) -c $<
112
 
 
113
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
114
 
        cd $(top_builddir) \
115
 
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
116
 
 
117
 
$(top_builddir)/config.status: $(top_builddir)/configure
118
 
        cd $(top_builddir) && $(MAKE) config.status
119
 
 
120
 
$(top_builddir)/config.h: $(top_builddir)/config.h.in
121
 
        cd $(top_builddir) && $(MAKE) config.h
122
 
 
123
 
clean:
124
 
        rm -f $(LIBRARY) *.o *.lo *~
125
 
        rm -rf .libs _libs
126
 
 
127
 
distclean: clean
128
 
        rm -f Makefile
129
 
 
130
 
maintainer-clean: distclean
131
 
 
132
 
check:  $(SUBDIRS)
133
 
        @echo
134
 
        @echo This package does not yet have a regression test.
135
 
        @echo
136
 
 
137
 
install: $(LIBRARY) $(APIHEADER)
138
 
        $(mkinstalldirs) $(libdir) $(includedir)
139
 
        $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY)
140
 
        $(INSTALL_DATA) $(APIHEADER) $(includedir)
141
 
 
142
 
uninstall:
143
 
        $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY);
144
 
        rm -f $(libdir)/$(APIHEADER)
145
 
 
146
 
$(LIBRARY): $(LTOBJECTS)
147
 
        $(LINK) -rpath $(libdir) $(LDFLAGS) $(LTOBJECTS)
148
 
 
149
 
xmlparse.o \
150
 
xmlparse.lo: xmlparse.c expat.h xmlrole.h xmltok.h $(top_builddir)/config.h
151
 
 
152
 
xmlrole.o \
153
 
xmlrole.lo: xmlrole.c ascii.h xmlrole.h $(top_builddir)/config.h
154
 
 
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