"Fossies" - the Fresh Open Source Software Archive

Member "isic-0.07/Makefile.in" (22 Dec 2006, 1872 Bytes) of package /linux/privat/old/isic-0.07.tgz:


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 # To build for Trinux, add '-static' to LDFLAGS
    3 # and 'strip *sic' after they compile
    4 
    5 PREFIX  = @prefix@
    6 CC	= @CC@
    7 DEFS	= @DEFS@ `libnet-config --defines`
    8 CFLAGS	= @CFLAGS@ `libnet-config --cflags`
    9 LIBS	= @LIBS@ `libnet-config --libs`
   10 LDFLAGS	= @LDFLAGS@
   11 
   12 INSTALL	= @INSTALL@
   13 
   14 VERSION = 0.07
   15 DEFS   += -DVERSION=\"$(VERSION)\"
   16 
   17 BINS	= isic tcpsic udpsic icmpsic esic multisic isic6 tcpsic6 udpsic6 icmpsic6
   18 MAN	= isic.1
   19 
   20 all: $(BINS)
   21 
   22 isic:	isic.c isic.h
   23 	$(CC) -o isic isic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   24 
   25 tcpsic:	tcpsic.c isic.h
   26 	$(CC) -o tcpsic tcpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   27 
   28 udpsic:	udpsic.c isic.h
   29 	$(CC) -o udpsic udpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   30 
   31 icmpsic: icmpsic.c isic.h
   32 	$(CC) -o icmpsic icmpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   33 
   34 esic:	esic.c isic.h
   35 	$(CC) -o esic esic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   36 
   37 multisic:	multisic.c isic.h
   38 	$(CC) -o multisic multisic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   39 
   40 isic6:	isic6.c isic.h
   41 	$(CC) -o isic6 isic6.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   42 
   43 tcpsic6: tcpsic6.c isic.h
   44 	$(CC) -o tcpsic6 tcpsic6.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   45 
   46 udpsic6: udpsic6.c isic.h
   47 	$(CC) -o udpsic6 udpsic6.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   48 
   49 icmpsic6: icmpsic6.c isic.h
   50 	$(CC) -o icmpsic6 icmpsic6.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS)
   51 
   52 realclean: distclean
   53 distclean: clean
   54 	rm -f config.cache config.log config.status
   55 
   56 clean:
   57 	rm -f $(BINS)
   58 
   59 package: distclean
   60 	rm -f Makefile
   61 	chmod 755 configure
   62 	( cd .. ; rm -f isic-$(VERSION).tgz ; \
   63 	  tar -czvf isic-$(VERSION).tgz ./isic-$(VERSION)/* )
   64 
   65 install: $(BINS) $(MAN)
   66 	$(INSTALL) -m 0755 -d $(PREFIX)/bin
   67 	$(INSTALL) -m 0755 -c $(BINS) $(PREFIX)/bin
   68 	$(INSTALL) -m 0755 -d $(PREFIX)/man/man1
   69 	${INSTALL} -m 0755 -c $(MAN) $(PREFIX)/man/man1