"Fossies" - the Fresh Open Source Software Archive

Member "tcpproxy-2.0.0-beta15/makefile" (30 Aug 2007, 726 Bytes) of package /linux/privat/old/tcpproxy-2.0.0-beta15.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 CC =		gcc
    3 CFLAGS =	-ggdb -O2 -Wall -DVERSION='"$(VERSION) $(RELEASE)"'
    4 
    5 PROGRAM =	tcpproxy
    6 VERSION =	2.0.0-beta15
    7 RELEASE =	0004-2007-03-21
    8 DEBRELEASE =	1
    9 DIR =		$(PROGRAM)-$(VERSION)
   10 TAR =		$(PROGRAM)-$(VERSION)
   11 
   12 TCPPROXY =	tcpproxy.o acp.o config.o procinfo.o ip-lib.o lib.o
   13 
   14 TARGETS =	tcpproxy
   15 
   16 
   17 all:		$(TARGETS)
   18 	-ctags *.[ch]
   19 
   20 install:	all
   21 	strip $(TARGETS)
   22 	cp $(TARGETS) /usr/local/sbin
   23 	cp *.1 /usr/local/man/man1
   24 
   25 
   26 tcpproxy:	$(TCPPROXY)
   27 	$(CC) -o $@ $(TCPPROXY)
   28 
   29 debian:		all
   30 	strip $(TARGETS)
   31 	deb-packager $(PROGRAM) $(VERSION)+$(DEBRELEASE) debian/files.list
   32 
   33 tar:		clean
   34 	rm -f *.deb
   35 	cd ..; tar cvf $(TAR).tar $(DIR); gzip $(TAR).tar
   36 	mv ../$(TAR).tar.gz .
   37 	
   38 clean:
   39 	rm -f *.o cut out $(TARGETS) $(TAR).tar.gz
   40