📄 makefile
字号:
## Top-level Makefile for APRUTIL#CPP = gcc -E# gets substituted into some targetsAPRUTIL_MAJOR_VERSION=0APRUTIL_DOTTED_VERSION=0.9.7srcdir = /home/httpd-2.0.55/srclib/apr-utilVPATH = /home/httpd-2.0.55/srclib/apr-utilINCLUDES = -I/home/httpd-2.0.55/srclib/apr-util/include -I/home/httpd-2.0.55/srclib/apr-util/include/private -I/home/httpd-2.0.55/srclib/apr/include APRUTIL_LDFLAGS = APRUTIL_LIBS = -lgdbm -ldb-4.2 /usr/lib/libexpat.la /home/httpd-2.0.55/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldlTARGET_LIB = libaprutil-${APRUTIL_MAJOR_VERSION}.laINSTALL_SUBDIRS = TARGETS = delete-lib $(TARGET_LIB) delete-exports aprutil.exp export_vars.h# bring in rules.mk for standard functionalityinclude /home/httpd-2.0.55/srclib/apr-util/build/rules.mkSUBDIRS = buckets crypto dbm encoding hooks ldap uri xml misc strmatch xlateCLEAN_SUBDIRS = testCLEAN_TARGETS = exports.c export_vars.h aprutil.exp apu-config.outDISTCLEAN_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.hEXTRACLEAN_TARGETS = configure aclocal.m4 include/private/apu_config.h.inprefix=/usr/local/apache2exec_prefix=/usr/local/apache2bindir=${prefix}/binlibdir=${prefix}/libincludedir=/usr/local/apache2/includetop_srcdir=/home/httpd-2.0.55/srclib/apr-utiltop_blddir=/home/httpd-2.0.55/srclib/apr-utilEXPORT_FILES = $(top_srcdir)/include/*.hdelete-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; \ fiapu-config.out: apu-config sed 's,^\(location=\).*$$,\1installed,' < apu-config > $@install: $(TARGET_LIB) apu-config.outinstall: $(TARGET_LIB) if [ ! -d $(DESTDIR)$(includedir) ]; then \ /home/httpd-2.0.55/srclib/apr/build/mkdir.sh $(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 \ /home/httpd-2.0.55/srclib/apr/build/mkdir.sh $(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 \ /home/httpd-2.0.55/srclib/apr/build/mkdir.sh $(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 \ fiexports.c: $(AWK) -f /home/httpd-2.0.55/srclib/apr/build/make_exports.awk $(EXPORT_FILES) > $@export_vars.h: $(AWK) -f /home/httpd-2.0.55/srclib/apr/build/make_var_export.awk $(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.confcheck: $(TARGET_LIB) (cd test && $(MAKE) check).PHONY: delete-lib delete-exports.NOTPARALLEL: delete-lib delete-exports
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -