~ubuntu-branches/ubuntu/oneiric/apache2/oneiric-updates

« back to all changes in this revision

Viewing changes to srclib/apr-util/xml/expat/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-02-22 13:02:08 UTC
  • mfrom: (14.3.23 sid)
  • Revision ID: james.westby@ubuntu.com-20110222130208-5hrxnun6a8uygfhv
Tags: 2.2.17-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/{control, rules}: Enable PIE hardening.
  - debian/{control, rules, apache2.2-common.ufw.profile}: Add ufw profiles.
  - debian/control: Add bzr tag and point it to our tree
  - debain/apache2.py, debian/apache2.2-common.isntall: Add apport hook.
  - debian/control, debian/ask-for-passphrase, debian/config-dir/mods-available/ssl.conf:
    Plymouth aware passphrase dialog program ask-for-passphrase. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
18
18
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
19
19
#
20
 
#  ---
21
 
#  I started using automake, but
22
 
#               1) it seemed like overkill
23
 
#               2) I don't want all the GNU policies
24
 
#               3) I wanted more explicit control over what gets built
25
 
#
26
 
#  So I'm doing my Makefile.in files manually. But a fair part is based
27
 
#  on what I learned from perusing the Makefile.in's generated by automake,
28
 
#  and the automake authors still get my kudos.
29
 
#
30
20
 
31
21
SHELL = @SHELL@
32
22
 
33
23
srcdir = @srcdir@
34
24
top_srcdir = @top_srcdir@
35
25
VPATH = @srcdir@
 
26
 
36
27
prefix = @prefix@
37
28
exec_prefix = @exec_prefix@
38
29
 
39
30
bindir = @bindir@
40
 
sbindir = @sbindir@
41
 
libexecdir = @libexecdir@
42
 
datadir = @datadir@
43
 
sysconfdir = @sysconfdir@
44
 
sharedstatedir = @sharedstatedir@
45
 
localstatedir = @localstatedir@
46
31
libdir = @libdir@
47
 
infodir = @infodir@
48
 
mandir = @mandir@
49
32
includedir = @includedir@
50
 
oldincludedir = /usr/include
 
33
mandir = ${prefix}/man/man1
51
34
 
52
35
top_builddir = .
53
36
 
55
38
INSTALL = @INSTALL@
56
39
INSTALL_PROGRAM = @INSTALL_PROGRAM@
57
40
INSTALL_DATA = @INSTALL_DATA@
58
 
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
41
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
59
42
 
60
 
NORMAL_INSTALL = :
61
 
PRE_INSTALL = :
62
 
POST_INSTALL = :
63
 
NORMAL_UNINSTALL = :
64
 
PRE_UNINSTALL = :
65
 
POST_UNINSTALL = :
66
 
host_alias = @host_alias@
67
 
host_triplet = @host@
 
43
MANFILE = $(srcdir)/doc/xmlwf.1
 
44
APIHEADER = $(srcdir)/lib/expat.h
 
45
LIBRARY = libexpat.la
68
46
 
69
47
CC = @CC@
70
 
 
71
48
LIBTOOL = @LIBTOOL@
72
 
LN_S = @LN_S@
73
 
PACKAGE = @PACKAGE@
74
 
RANLIB = @RANLIB@
75
 
VERSION = @VERSION@
76
 
 
77
 
SUBDIRS = lib
78
 
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79
 
CONFIG_HEADERS = config.h
80
 
 
81
 
DISTDIR = $(PACKAGE)-$(VERSION)
82
 
DISTRIBUTION = $(DISTDIR).tar.gz
83
 
 
84
 
all: build-subdirs
85
 
 
86
 
.PHONY: all build-subdirs clean distclean extraclean maintainer-clean dist install \
87
 
        uninstall distdir
88
 
 
89
 
Makefile: Makefile.in config.status
90
 
        CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) config.status
91
 
 
92
 
config.status: configure
93
 
        @if test -f $@; then \
94
 
                $(SHELL) config.status --recheck ; \
95
 
        else \
96
 
                $(SHELL) configure ; \
97
 
        fi
98
 
 
99
 
config.h: config.h.in config.status
100
 
        CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADERS) \
101
 
        $(SHELL) ./config.status
102
 
 
103
 
build-subdirs:
104
 
        @list='$(SUBDIRS)'; \
105
 
        for dir in $$list; do \
106
 
          cd $$dir; $(MAKE); cd ..; \
107
 
        done
 
49
 
 
50
INCLUDES = -I$(srcdir)/lib -I.
 
51
LDFLAGS = @LDFLAGS@
 
52
CPPFLAGS = @CPPFLAGS@
 
53
CFLAGS = @CFLAGS@ -DHAVE_EXPAT_CONFIG_H
 
54
VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
 
55
 
 
56
### autoconf this?
 
57
LTFLAGS = --silent
 
58
 
 
59
COMPILE = $(CC) $(CFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES)
 
60
LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE)
 
61
LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@
 
62
LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@
 
63
 
 
64
LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
 
65
 
 
66
all: $(LIBRARY)
108
67
 
109
68
clean:
110
 
        @list='$(SUBDIRS)'; for dir in $$list; do \
111
 
          cd $$dir; $(MAKE) clean; cd ..; \
112
 
        done
113
 
        rm -f core *~
114
 
 
115
 
distclean:
116
 
        @list='$(SUBDIRS)'; for dir in $$list; do \
117
 
          cd $$dir; $(MAKE) distclean; cd ..; \
118
 
        done
119
 
        rm -f config.h config.status config.log libtool examples/Makefile xmlwf/Makefile Makefile
 
69
        cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs
 
70
        rm -rf .libs libexpat.la
 
71
 
 
72
clobber: clean
 
73
 
 
74
distclean: clean
 
75
        rm -f expat_config.h config.status config.log config.cache libtool
 
76
        rm -f Makefile
120
77
 
121
78
extraclean: distclean
122
 
        rm -f configure aclocal.m4
123
 
 
124
 
maintainer-clean: distclean
125
 
        rm -f $(DISTRIBUTION)
126
 
        rm -rf $(DISTDIR)
127
 
 
128
 
distdir: MANIFEST
129
 
        test -d $(DISTDIR) && rm -rf $(DISTDIR); \
130
 
        mkdir $(DISTDIR); \
131
 
        flist=`sed -e "s/[      ]:.*$$//" MANIFEST`; for file in $$flist; do \
132
 
          cp -P $$file $(DISTDIR); \
133
 
        done
134
 
 
135
 
$(DISTRIBUTION): distdir
136
 
        tar cfz $(DISTRIBUTION) $(DISTDIR)      
137
 
 
138
 
dist: $(DISTRIBUTION)
139
 
 
140
 
install:
141
 
        @list='$(SUBDIRS)'; for dir in $$list; do \
142
 
          cd $$dir; $(MAKE) install; cd ..; \
143
 
        done
144
 
 
145
 
uninstall:
146
 
        @list='$(SUBDIRS)'; for dir in $$list; do \
147
 
          cd $$dir; $(MAKE) uninstall; cd ..; \
148
 
        done
149
 
 
150
 
depend:
151
 
        echo SOMEONE SHOULD MAKE THIS DO SOMETHING!!!
 
79
        rm -f expat_config.h.in configure
 
80
        rm -f conftools/ltconfig conftools/ltmain.sh conftools/libtool.m4
 
81
 
 
82
check: tests/runtests
 
83
        tests/runtests
 
84
 
 
85
install: installlib
 
86
 
 
87
installlib: $(LIBRARY) $(APIHEADER)
 
88
        $(mkinstalldirs) $(libdir) $(includedir)
 
89
        $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY)
 
90
        $(INSTALL_DATA) $(APIHEADER) $(includedir)
 
91
 
 
92
$(LIBRARY): $(LIB_OBJS)
 
93
        $(LINK_LIB) $(LIB_OBJS)
 
94
 
 
95
lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \
 
96
        $(top_builddir)/expat_config.h lib/internal.h
 
97
 
 
98
lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmltok_ns.c \
 
99
        lib/ascii.h lib/asciitab.h lib/iasciitab.h lib/latin1tab.h \
 
100
        lib/nametab.h lib/utf8tab.h lib/xmltok.h lib/xmltok_impl.h \
 
101
        $(top_builddir)/expat_config.h
 
102
 
 
103
.SUFFIXES: .c .lo .o
 
104
 
 
105
.c.o:
 
106
        $(COMPILE) -o $@ -c $<
 
107
.c.lo:
 
108
        $(LTCOMPILE) -o $@ -c $<
 
109
 
 
110
.PHONY: buildlib all \
 
111
        clean distclean extraclean maintainer-clean \
 
112
        dist distdir \
 
113
        install uninstall