"Fossies" - the Fresh Open Source Software Archive

Member "mod_ftp-0.9.6/build/Makefile.apxs" (17 Sep 2009, 2805 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 source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 ##  Makefile.apxs -- Feature test procedures for mod_ftp Apache module
    3 ##
    4 ##  Do not use this target; ./configure.apxs 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 = conftest_fchmod.c \
   20         conftest_arpa_ftp_h.c \
   21         conftest_netinet_ip_h.c \
   22         conftest_struct_msghdr_msg_control.c \
   23         conftest_struct_msghdr_msg_accrights.c \
   24         conftest_sys_stat_h.c \
   25         conftest_SOL_IP.c \
   26         *.loT
   27 TARGETS       = conftest_fchmod \
   28         conftest_arpa_ftp_h \
   29         conftest_netinet_ip_h \
   30         conftest_struct_msghdr_msg_control \
   31         conftest_struct_msghdr_msg_accrights \
   32         conftest_sys_stat_h \
   33         conftest_SOL_IP \
   34 
   35 PROGRAM_LDADD        = 
   36 PROGRAM_DEPENDENCIES = 
   37 
   38 include $(exp_installbuilddir)/rules.mk
   39 
   40 # Funtion checks follow this pattern; one to execute, one to create source
   41 # Header file checks simply validate that compilation into an .lo succeeds
   42 
   43 conftest_fchmod: conftest_fchmod.lo
   44     $(LINK) conftest_fchmod.lo
   45 
   46 conftest_arpa_ftp_h: conftest_arpa_ftp_h.lo
   47     @echo "success" > $@
   48 
   49 conftest_netinet_ip_h: conftest_netinet_ip_h.lo
   50     @echo "success" > $@
   51 
   52 conftest_sys_stat_h: conftest_sys_stat_h.lo
   53     @echo "success" > $@
   54 
   55 conftest_SOL_IP: conftest_SOL_IP.lo
   56     @echo "success" > $@
   57 
   58 conftest_struct_msghdr_msg_control: conftest_struct_msghdr_msg_control.lo
   59     @echo "success" > $@
   60 
   61 conftest_struct_msghdr_msg_accrights: conftest_struct_msghdr_msg_accrights.lo
   62     @echo "success" > $@
   63 
   64 conftest_fchmod.c:
   65     @echo "#include <sys/types.h>" > $@
   66     @echo "#include <sys/stat.h>" >> $@
   67     @echo "int main() { return fchmod(2, 0644); }" >> $@
   68 
   69 conftest_arpa_ftp_h.c:
   70     @echo "#include <arpa/ftp.h>" > $@
   71 
   72 conftest_netinet_ip_h.c:
   73     @echo "#include <sys/types.h>" > $@
   74     @echo "#include <sys/socket.h>" >> $@
   75     @echo "#include <netinet/ip.h>" >> $@
   76 
   77 conftest_sys_stat_h.c:
   78     @echo "#include <sys/stat.h>" > $@
   79 
   80 conftest_SOL_IP.c:
   81     @echo "#include <sys/types.h>" > $@
   82     @echo "#include <sys/socket.h>" >> $@
   83     @echo "#include <netinet/ip.h>" >> $@
   84     @echo "int main ()" >> $@
   85     @echo "{ return SOL_IP; }" >> $@
   86 
   87 conftest_struct_msghdr_msg_control.c:
   88     @echo "#include <sys/types.h>" > $@
   89     @echo "#include <sys/socket.h>" >> $@
   90     @echo "int main ()" >> $@
   91     @echo "{ static struct msghdr ac_aggr;" >> $@
   92     @echo "  return sizeof(ac_aggr.msg_control); }" >> $@
   93 
   94 conftest_struct_msghdr_msg_accrights.c:
   95     @echo "#include <sys/types.h>" > $@
   96     @echo "#include <sys/socket.h>" >> $@
   97     @echo "int main ()" >> $@
   98     @echo "{ static struct msghdr ac_aggr;" >> $@
   99     @echo "  return sizeof(ac_aggr.msg_accrights); }" >> $@
  100