~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Top-level Makefile for APRUTIL
 
3
#
 
4
CPP = @CPP@
 
5
 
 
6
# gets substituted into some targets
 
7
APRUTIL_MAJOR_VERSION=@APRUTIL_MAJOR_VERSION@
 
8
APRUTIL_DOTTED_VERSION=@APRUTIL_DOTTED_VERSION@
 
9
 
 
10
srcdir = @srcdir@
 
11
VPATH = @srcdir@
 
12
 
 
13
INCLUDES = @APRUTIL_PRIV_INCLUDES@ @APR_INCLUDES@ @APRUTIL_INCLUDES@
 
14
APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@
 
15
APRUTIL_LIBS = @APRUTIL_LIBS@
 
16
 
 
17
TARGET_LIB = lib@APRUTIL_LIBNAME@.la
 
18
INSTALL_SUBDIRS = @APR_ICONV_DIR@ @APR_XML_DIR@
 
19
EXTRA_SOURCE_DIRS = @APR_ICONV_DIR@ @APR_XML_DIR@
 
20
APRUTIL_PCFILE = apr-util-$(APRUTIL_MAJOR_VERSION).pc
 
21
APU_CONFIG = apu-$(APRUTIL_MAJOR_VERSION)-config
 
22
INSTALL = @INSTALL@
 
23
INSTALL_DATA = @INSTALL_DATA@
 
24
 
 
25
TARGETS = $(TARGET_LIB) aprutil.exp
 
26
 
 
27
# bring in rules.mk for standard functionality
 
28
@INCLUDE_RULES@
 
29
@INCLUDE_OUTPUTS@
 
30
 
 
31
CLEAN_SUBDIRS = test @APR_ICONV_DIR@
 
32
 
 
33
CLEAN_TARGETS = exports.c export_vars.c aprutil.exp .make.dirs apu-config.out
 
34
DISTCLEAN_TARGETS = config.cache config.log config.status libtool \
 
35
        include/private/apu_config.h include/private/apu_private.h \
 
36
        include/private/apu_select_dbm.h include/apr_ldap.h include/apu.h \
 
37
        export_vars.sh $(APU_CONFIG) build/rules.mk include/apu_want.h \
 
38
        apr-util.pc build/pkg/pkginfo
 
39
EXTRACLEAN_TARGETS = configure aclocal.m4 include/private/apu_config.h.in \
 
40
        exports.c build-outputs.mk \
 
41
        build/apr_common.m4 build/find_apr.m4 build/install.sh \
 
42
        build/config.guess build/config.sub
 
43
 
 
44
prefix=@prefix@
 
45
exec_prefix=@exec_prefix@
 
46
bindir=@bindir@
 
47
libdir=@libdir@
 
48
includedir=@includedir@
 
49
top_srcdir=@abs_srcdir@
 
50
top_blddir=@abs_builddir@
 
51
 
 
52
# Create apu-config script suitable for the install tree
 
53
apu-config.out: $(APU_CONFIG)
 
54
        sed 's,^\(location=\).*$$,\1installed,' < $(APU_CONFIG) > $@
 
55
 
 
56
install: $(TARGET_LIB) apu-config.out
 
57
        $(APR_MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/pkgconfig \
 
58
                     $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
 
59
        for f in $(top_srcdir)/include/*.h $(top_blddir)/include/*.h; do \
 
60
                $(INSTALL_DATA) $${f} $(DESTDIR)$(includedir); \
 
61
        done
 
62
        $(INSTALL_DATA) apr-util.pc $(DESTDIR)$(libdir)/pkgconfig/$(APRUTIL_PCFILE)
 
63
        list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
 
64
                ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
 
65
        done
 
66
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
 
67
        $(INSTALL_DATA) aprutil.exp $(DESTDIR)$(libdir)
 
68
        $(INSTALL) -m 755 apu-config.out $(DESTDIR)$(bindir)/$(APU_CONFIG)
 
69
 
 
70
$(TARGET_LIB): $(OBJECTS)
 
71
        $(LINK) @lib_target@ $(ALL_LIBS) $(APRUTIL_LDFLAGS) $(APRUTIL_LIBS)
 
72
 
 
73
exports.c: $(HEADERS)
 
74
        $(APR_MKEXPORT) $(HEADERS) > $@
 
75
 
 
76
export_vars.c: $(HEADERS)
 
77
        $(APR_MKVAREXPORT) $(HEADERS) > $@
 
78
 
 
79
aprutil.exp: exports.c export_vars.c
 
80
        @echo "#! lib@APRUTIL_LIBNAME@.so" > $@
 
81
        @echo "* This file was AUTOGENERATED at build time." >> $@
 
82
        @echo "* Please do not edit by hand." >> $@
 
83
        $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@
 
84
        $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@
 
85
 
 
86
dox:
 
87
        doxygen $(top_srcdir)/docs/doxygen.conf
 
88
 
 
89
test: check
 
90
check: $(TARGET_LIB)
 
91
        cd test && $(MAKE) check