"Fossies" - the Fresh Open Source Software Archive

Member "cgiwrap-4.1/Makefile.in" (16 Jun 2008, 3592 Bytes) of package /linux/www/old/cgiwrap-4.1.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 for CGIWrap
    3 # This file is automatically generated from Makefile.in
    4 #
    5 
    6 #
    7 # Compiler definitions and flags
    8 #
    9 VERSION=@VERSION@
   10 SHELL=/bin/sh
   11 
   12 srcdir=@srcdir@
   13 VPATH=@srcdir@
   14 @SET_MAKE@
   15 
   16 CC=@CC@
   17 CFLAGS=@GCC_WALL_OPT@ @CFLAGS@ @CPPFLAGS@
   18 LDFLAGS=@LDFLAGS@ @AFSLDFLAGS@
   19 LIBS=@AFSLIBS@ @LIBS@
   20 OBJS=cgiwrap.o debug.o util.o fetch.o stdutil.o msgs.o @GETUSERSHELL@
   21 
   22 DESTDIR=
   23 
   24 #
   25 # Dependencies for building cgiwrap
   26 #
   27 all: cgiwrap
   28 
   29 .c.o:
   30 	$(CC) -c $(CFLAGS) -I. -I$(srcdir) $<
   31 
   32 cgiwrap: $(OBJS)
   33 	$(CC) -o cgiwrap $(OBJS) $(LDFLAGS) $(LIBS)
   34 
   35 dep: Makefile
   36 	mv Makefile Makefile.bak
   37 	awk -f $(srcdir)/depend.awk < Makefile.bak > Makefile
   38 	echo '# DO NOT REMOVE THIS LINE' >> Makefile
   39 	$(CC) -MM -I. -I$(srcdir) $(srcdir)/*.c >> Makefile
   40 
   41 install: uninstall cgiwrap
   42 	@DOINSTALL@ cp cgiwrap $(DESTDIR)/@INSTALLDIR@/cgiwrap
   43 	@DOINSTALL@ chown root $(DESTDIR)/@INSTALLDIR@/cgiwrap
   44 	@DOINSTALL@ chgrp @INSTALLGROUP@ $(DESTDIR)/@INSTALLDIR@/cgiwrap
   45 	@DOINSTALL@ chmod @INSTALLMODE@ $(DESTDIR)/@INSTALLDIR@/cgiwrap
   46 	@DOINSTALLCGIWRAPD@ ln $(DESTDIR)/@INSTALLDIR@/cgiwrap $(DESTDIR)/@INSTALLDIR@/cgiwrapd
   47 	@DOINSTALLNPH@ ln $(DESTDIR)/@INSTALLDIR@/cgiwrap $(DESTDIR)/@INSTALLDIR@/nph-cgiwrap
   48 	@DOINSTALLCGIWRAPD@ @DOINSTALLNPH@ ln $(DESTDIR)/@INSTALLDIR@/cgiwrap $(DESTDIR)/@INSTALLDIR@/nph-cgiwrapd
   49 	@DOINSTALLPHP@ ln $(DESTDIR)/@INSTALLDIR@/cgiwrap $(DESTDIR)/@INSTALLDIR@/php-cgiwrap
   50 	@DOINSTALLCGIWRAPD@ @DOINSTALLPHP@ ln $(DESTDIR)/@INSTALLDIR@/cgiwrap $(DESTDIR)/@INSTALLDIR@/php-cgiwrapd
   51 
   52 uninstall:
   53 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/cgiwrap
   54 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/cgiwrapd
   55 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/nph-cgiwrap
   56 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/nph-cgiwrapd
   57 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/php-cgiwrap
   58 	@DOINSTALL@ rm -f $(DESTDIR)/@INSTALLDIR@/php-cgiwrapd
   59 
   60 clean:
   61 	rm -f cgiwrap core *~ *.o *.tar Makefile.bak
   62 
   63 distclean: clean
   64 	rm -f config.cache config.log config.h config.status Makefile
   65 	rm -f unsup/loganalyze.pl
   66 
   67 #
   68 # Dependencies for developing cgiwrap
   69 #
   70 allconf: configure config.h.in Makefile
   71 
   72 $(srcdir)/configure: $(srcdir)/configure.in
   73 	autoconf
   74 
   75 Makefile: $(srcdir)/Makefile.in
   76 	./config.status
   77 
   78 config.h.in: 
   79 	autoheader
   80 
   81 config.h: $(srcdir)/config.h.in
   82 	./config.status
   83 
   84 dist:
   85 	rm -rf ../cgiwrap-$(VERSION)
   86 	mkdir ../cgiwrap-$(VERSION)
   87 	touch * */*
   88 	cp -r * ../cgiwrap-$(VERSION)
   89 	cd ../cgiwrap-$(VERSION) && make distclean
   90 	cd ../cgiwrap-$(VERSION) && rm -rf .svn */.svn */*/.svn
   91 	cd ../cgiwrap-$(VERSION) && rm -rf CVS */CVS */*/CVS
   92 	cd ../cgiwrap-$(VERSION) && rm -rf .cvsignore */.cvsignore */*/.cvsignore
   93 	cd ../cgiwrap-$(VERSION) && rm -rf RCS */RCS */*/RCS
   94 	cd ../cgiwrap-$(VERSION) && rm -rf autom4te.cache *.rej *.orig
   95 	cd ../cgiwrap-$(VERSION) && rm -rf .#* */.#*
   96 	cd ../cgiwrap-$(VERSION) && rm -rf depend.awk
   97 	cd ../cgiwrap-$(VERSION) && rm -rf make-docs
   98 	cd ../cgiwrap-$(VERSION) && rm -rf U
   99 
  100 tardist: dist	
  101 	rm -f ../cgiwrap-$(VERSION).tar ../cgiwrap-$(VERSION).tar.gz
  102 	gtar -C .. -cvf ../cgiwrap-$(VERSION).tar cgiwrap-$(VERSION)
  103 	gzip -9v ../cgiwrap-$(VERSION).tar
  104 
  105 tardistpgp: tardist
  106 	pgp -sba ../cgiwrap-$(VERSION).tar.gz
  107 	rm -f ../cgiwrap-$(VERSION).tar.gz.sig
  108 	mv ../cgiwrap-$(VERSION).tar.gz.asc ../cgiwrap-$(VERSION).tar.gz.sig
  109 
  110 commit: configure config.h.in docs
  111 	cvs commit -m "" .
  112 
  113 #
  114 # Source file dependencies, replaced by 'make dep'
  115 #
  116 # DO NOT REMOVE THIS LINE
  117 cgiwrap.o: config.h cgiwrap.h cgiwrap.c
  118 debug.o: config.h cgiwrap.h debug.c
  119 util.o: config.h cgiwrap.h util.c
  120 fetch.o: config.h cgiwrap.h fetch.c
  121 stdutil.o: config.h cgiwrap.h stdutil.c
  122 msgs.o: config.h cgiwrap.h msgs.c
  123