"Fossies" - the Fresh Open Source Software Archive

Member "apr-1.7.0/Makefile.in" (12 Mar 2019, 4887 Bytes) of package /linux/www/apr-1.7.0.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 1.6.5_vs_1.7.0.

    1 
    2 srcdir=@srcdir@
    3 VPATH=@srcdir@
    4 top_srcdir=@apr_srcdir@
    5 top_blddir=@apr_builddir@
    6 
    7 #
    8 # APR (Apache Portable Runtime) library Makefile.
    9 #
   10 CPP = @CPP@
   11 
   12 # get substituted into some targets
   13 APR_MAJOR_VERSION=@APR_MAJOR_VERSION@
   14 
   15 #
   16 # Macros for supporting directories
   17 #
   18 INCDIR=./include
   19 OSDIR=$(top_srcdir)/include/arch/@OSDIR@
   20 DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
   21 INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR) -I$(top_srcdir)/include/arch/@DEFAULT_OSDIR@ -I$(top_srcdir)/include -I$(top_srcdir)/include/private -I$(top_blddir)/include/private
   22 
   23 #
   24 # Macros for target determination
   25 #
   26 CLEAN_SUBDIRS= test
   27 INSTALL_SUBDIRS=@INSTALL_SUBDIRS@
   28 
   29 TARGET_LIB = lib@APR_LIBNAME@.la
   30 APR_PCFILE = apr-$(APR_MAJOR_VERSION).pc
   31 APR_CONFIG = apr-$(APR_MAJOR_VERSION)-config
   32 INSTALL = @INSTALL@
   33 INSTALL_DATA = @INSTALL_DATA@
   34 
   35 #
   36 # Rules for building specific targets, starting with 'all' for
   37 # building the entire package.
   38 #
   39 TARGETS = $(TARGET_LIB) include/private/apr_escape_test_char.h apr.exp apr-config.out build/apr_rules.out
   40 
   41 LT_VERSION = @LT_VERSION@
   42 
   43 # bring in rules.mk for standard functionality
   44 @INCLUDE_RULES@
   45 @INCLUDE_OUTPUTS@
   46 
   47 CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
   48 	build/apr_rules.out tools/gen_test_char@EXEEXT@ \
   49 	tools/gen_test_char.o tools/gen_test_char.lo \
   50 	include/private/apr_escape_test_char.h
   51 DISTCLEAN_TARGETS = config.cache config.log config.status \
   52 	include/apr.h include/arch/unix/apr_private.h \
   53 	libtool $(APR_CONFIG) build/apr_rules.mk apr.pc \
   54 	build/pkg/pkginfo
   55 EXTRACLEAN_TARGETS = configure aclocal.m4 include/arch/unix/apr_private.h.in \
   56 	build-outputs.mk build/ltcf-c.sh build/aclocal.m4 \
   57 	build/ltconfig build/ltmain.sh \
   58 	build/argz.m4 build/libtool.m4 build/ltoptions.m4 \
   59 	build/ltsugar.m4 build/ltversion.m4 build/lt~obsolete.m4
   60 
   61 prefix=@prefix@
   62 exec_prefix=@exec_prefix@
   63 bindir=@bindir@
   64 libdir=@libdir@
   65 includedir=@includedir@
   66 datarootdir=@datarootdir@
   67 datadir=@datadir@
   68 installbuilddir=@installbuilddir@
   69 
   70 # Create apr-config script suitable for the install tree
   71 apr-config.out: $(APR_CONFIG)
   72 	sed 's,^\(location=\).*$$,\1installed,' < $(APR_CONFIG) > $@
   73 
   74 # Create apr_rules.mk suitable for the install tree
   75 build/apr_rules.out: build/apr_rules.mk
   76 	sed -e 's,^\(apr_build.*=\).*$$,\1$(installbuilddir),' -e 's,^\(top_build.*=\).*$$,\1$(installbuilddir),' < build/apr_rules.mk > $@
   77 
   78 install: $(TARGETS)
   79 	$(APR_MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(installbuilddir) \
   80 		     $(DESTDIR)$(libdir)/pkgconfig $(DESTDIR)$(includedir)
   81 	$(INSTALL_DATA) $(top_blddir)/include/apr.h $(DESTDIR)$(includedir)
   82 	for f in $(top_srcdir)/include/apr_*.h; do \
   83 	    $(INSTALL_DATA) $${f} $(DESTDIR)$(includedir); \
   84 	done
   85 	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
   86 	$(INSTALL_DATA) apr.exp $(DESTDIR)$(libdir)/apr.exp
   87 	$(INSTALL_DATA) apr.pc $(DESTDIR)$(libdir)/pkgconfig/$(APR_PCFILE)
   88 	for f in libtool shlibtool; do \
   89 	    if test -f $${f}; then $(INSTALL) -m 755 $${f} $(DESTDIR)$(installbuilddir); fi; \
   90 	done
   91 	$(INSTALL) -m 755 $(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir)
   92 	for f in make_exports.awk make_var_export.awk; do \
   93 	    $(INSTALL_DATA) $(top_srcdir)/build/$${f} $(DESTDIR)$(installbuilddir); \
   94 	done
   95 	$(INSTALL_DATA) build/apr_rules.out $(DESTDIR)$(installbuilddir)/apr_rules.mk
   96 	$(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
   97 	@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
   98             for i in $(INSTALL_SUBDIRS); do \
   99 	        ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
  100 	    done \
  101 	fi
  102 
  103 $(TARGET_LIB): $(OBJECTS)
  104 	$(LINK) @lib_target@ $(ALL_LIBS)
  105 
  106 encoding/apr_escape.lo: include/private/apr_escape_test_char.h 
  107 
  108 exports.c: $(HEADERS)
  109 	$(APR_MKEXPORT) $(HEADERS) > $@
  110 
  111 export_vars.c: $(HEADERS)
  112 	$(APR_MKVAREXPORT) $(HEADERS) > $@
  113 
  114 apr.exp: exports.c export_vars.c
  115 	@echo "#! lib@APR_LIBNAME@.so" > $@
  116 	@echo "* This file was AUTOGENERATED at build time." >> $@
  117 	@echo "* Please do not edit by hand." >> $@
  118 	$(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@
  119 	$(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@
  120 
  121 dox:
  122 	doxygen $(top_srcdir)/docs/doxygen.conf
  123 
  124 gcov: 
  125 	@build/run-gcov.sh
  126 
  127 test: check
  128 check: $(TARGET_LIB)
  129 	cd test && $(MAKE) all check
  130 
  131 etags:
  132 	etags `find . -name '*.[ch]'`
  133 
  134 OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
  135 tools/gen_test_char.lo: tools/gen_test_char.c
  136 	$(APR_MKDIR) tools
  137 	$(LT_COMPILE)
  138 
  139 tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
  140 	$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
  141 
  142 include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
  143 	$(APR_MKDIR) include/private
  144 	tools/gen_test_char@EXEEXT@ > $@
  145 
  146 LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \
  147 	    @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
  148 
  149 # DO NOT REMOVE
  150 docs: $(INCDIR)/*.h