"Fossies" - the Fresh Open Source Software Archive

Member "mod_ftp-0.9.6/modules/ftp/Makefile.apxs" (16 Dec 2007, 1048 Bytes) of package /linux/www/apache_httpd_modules/old/mod_ftp-0.9.6-beta.tar.gz:


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.

    1 ##
    2 ##  Makefile.apx -- Build procedure for mod_ftp Apache module
    3 ##
    4 ##  Do not use this target; build from the mod_ftp dir root
    5 ##
    6  
    7 # top_builddir and top_srcdir are misnomers, because build/*.mk
    8 # scripts expect it them be the parent of the build directory,
    9 # and fail to trust the installbuilddir.
   10 exp_installbuilddir=$(shell $(APXS) -q exp_installbuilddir)
   11 top_srcdir=$(installbuilddir)/..
   12 top_builddir=$(installbuilddir)/..
   13 
   14 ftp_builddir=../..
   15 ftp_srcdir=../..
   16 builddir=.
   17 srcdir=.
   18 
   19 CLEAN_TARGETS = *.loT
   20 include $(exp_installbuilddir)/special.mk
   21 
   22 all: $(srcdir)/ftp_protocol.h local-shared-build all-recursive
   23 
   24 #   additional defines, includes and libraries
   25 DEFS=-DFTP_APXS_BUILD
   26 INCLUDES=-I$(builddir) -I$(srcdir) -I$(ftp_srcdir)/include
   27 #LIBS=-Lmy/lib/dir -lmylib
   28 
   29 #
   30 #   since ftp_protocol.h is only updated when the source tree
   31 #   is changed, it's refreshed in srcdir rather than builddir
   32 #
   33 
   34 $(srcdir)/ftp_protocol.h: $(ftp_srcdir)/include/mod_ftp.h \
   35 		$(srcdir)/ftp_commands.c
   36 	$(srcdir)/remake_ftp_protocol > $(srcdir)/ftp_protocol.h
   37 
   38