summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 01:45:08 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 01:45:08 -0500
commite8ec7aa8e38a93f5b034ac74cebce5de23710317 (patch)
treeaa031937bf856c1f8d6ad7877b8d2cb0224da5ef /rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile
parentcc40af334e619bb549038238507407866f774f8f (diff)
upload http
JIRA: BOTTLENECK-10 Change-Id: I7598427ff904df438ce77c2819ee48ac75ffa8da Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile')
-rw-r--r--rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile119
1 files changed, 119 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile b/rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile
new file mode 100644
index 00000000..9faea5c9
--- /dev/null
+++ b/rubbos/app/httpd-2.0.64/srclib/apr-util/Makefile
@@ -0,0 +1,119 @@
+#
+# Top-level Makefile for APRUTIL
+#
+CPP = gcc -E
+
+# gets substituted into some targets
+APRUTIL_MAJOR_VERSION=0
+APRUTIL_DOTTED_VERSION=0.9.19
+
+srcdir = .
+
+
+INCLUDES = -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/include/private -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib
+APRUTIL_LDFLAGS = -L/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib
+APRUTIL_LIBS = /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/libexpat.la /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
+
+TARGET_LIB = libaprutil-${APRUTIL_MAJOR_VERSION}.la
+INSTALL_SUBDIRS = xml/expat
+
+TARGETS = delete-lib $(TARGET_LIB) delete-exports aprutil.exp export_vars.h
+
+# bring in rules.mk for standard functionality
+include /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/build/rules.mk
+
+SUBDIRS = buckets crypto dbm encoding hooks ldap uri xml misc strmatch xlate
+CLEAN_SUBDIRS = test
+
+CLEAN_TARGETS = exports.c export_vars.h aprutil.exp apu-config.out
+DISTCLEAN_TARGETS = config.cache config.log config.status libtool \
+ include/private/apu_config.h include/private/apu_private.h \
+ include/private/apu_select_dbm.h include/apr_ldap.h include/apu.h \
+ export_vars.sh apu-config build/rules.mk include/apu_want.h
+EXTRACLEAN_TARGETS = configure aclocal.m4 include/private/apu_config.h.in
+
+prefix=/bottlenecks/rubbos/app/apache2
+exec_prefix=/bottlenecks/rubbos/app/apache2
+bindir=${prefix}/bin
+libdir=${prefix}/lib
+includedir=/bottlenecks/rubbos/app/apache2/include
+top_srcdir=/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util
+top_blddir=/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util
+
+EXPORT_FILES = $(top_srcdir)/include/*.h
+
+delete-lib:
+ @if test -f $(TARGET_LIB); then \
+ objects="`find $(SUBDIRS) -name expat -prune -o -name '*.lo' -a -newer $(TARGET_LIB) -print`" ; \
+ if test -n "$$objects"; then \
+ echo Found newer objects. Will relink $(TARGET_LIB). ; \
+ echo $(RM) -f $(TARGET_LIB) ; \
+ $(RM) -f $(TARGET_LIB) ; \
+ fi; \
+ fi
+
+apu-config.out: apu-config
+ sed 's,^\(location=\).*$$,\1installed,' < apu-config > $@
+
+install: $(TARGET_LIB) apu-config.out
+install: $(TARGET_LIB)
+ if [ ! -d $(DESTDIR)$(includedir) ]; then \
+ $(APR_MKDIR) $(DESTDIR)$(includedir); \
+ fi;
+ cp -p $(top_srcdir)/include/*.h $(DESTDIR)$(includedir)
+
+ if [ -n "$(top_blddir)" ]; then \
+ cp -p $(top_blddir)/include/*.h $(DESTDIR)$(includedir); \
+ fi;
+ if [ ! -d $(DESTDIR)$(libdir) ]; then \
+ $(APR_MKDIR) $(DESTDIR)$(libdir); \
+ fi;
+ list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
+ ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
+ done
+ $(LIBTOOL) --mode=install cp $(TARGET_LIB) $(DESTDIR)$(libdir)
+ $(LIBTOOL) --mode=install cp aprutil.exp $(DESTDIR)$(libdir)
+ if [ ! -d $(DESTDIR)$(bindir) ]; then \
+ $(APR_MKDIR) $(DESTDIR)$(bindir); \
+ fi;
+ $(LIBTOOL) --mode=install cp apu-config.out $(DESTDIR)$(bindir)/apu-config
+ chmod 755 $(DESTDIR)$(bindir)/apu-config
+
+$(TARGET_LIB):
+ @objects="`find $(SUBDIRS) -name expat -prune -o -name 'gen_uri_delims.lo' -prune -o -name '*.lo' -print`"; \
+ tmpcmd="$(LINK) -rpath $(libdir) $$objects "; \
+ echo $$tmpcmd; \
+ $$tmpcmd && touch $@
+
+delete-exports:
+ @if test -f aprutil.exp; then \
+ headers="`find include/*.h -newer aprutil.exp -print`" ; \
+ if test -n "$$headers"; then \
+ echo Found newer headers. Will rebuild aprutil.exp. ; \
+ echo $(RM) -f aprutil.exp ; \
+ $(RM) -f aprutil.exp ; \
+ fi \
+ fi
+
+exports.c:
+ $(APR_MKEXPORT) $(EXPORT_FILES) > $@
+
+export_vars.h:
+ $(APR_MKVAREXPORT) $(EXPORT_FILES) > $@
+
+aprutil.exp: exports.c export_vars.h
+ @echo "#! libaprutil-${APRUTIL_MAJOR_VERSION}.so" > $@
+ @echo "* This file was AUTOGENERATED at build time." >> $@
+ @echo "* Please do not edit by hand." >> $@
+ $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@
+ $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@
+
+dox:
+ doxygen $(top_srcdir)/docs/doxygen.conf
+
+check: $(TARGET_LIB)
+ (cd test && $(MAKE) check)
+
+
+.PHONY: delete-lib delete-exports
+.NOTPARALLEL: delete-lib delete-exports