From: Sergey M. <sm...@us...> - 2010-09-12 11:59:28
|
Update of /cvsroot/ipac-ng/ipac-ng/agents/iptables In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv13817/agents/iptables Modified Files: Makefile.in Log Message: Added possibility to build with iptables source Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/agents/iptables/Makefile.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile.in 6 Sep 2010 21:57:35 -0000 1.7 +++ Makefile.in 12 Sep 2010 11:59:20 -0000 1.8 @@ -1,21 +1,23 @@ # $Id$ # Makefile for iptables -# NEEDLIBS=-lxtables -liptc + SAGENT=iptables CFLAGS=@CFLAGS@ CC=@CC@ -DEFS=@DEFS@ -DNDEBUG +DEFS=@DEFS@ -DNDEBUG -DXTABLES_LIBDIR=\"@XTABLES_LIBDIR@\" +SLIBS=@IPTSLIBS@ all: libipac$(SAGENT).a -libipac$(SAGENT).a: iptables.o +libipac$(SAGENT).a: iptables.o $(SLIBS) ar -crus libipac$(SAGENT).a $? %.o: %.c ../../config.h ../../ipac.h - $(CC) -DXTABLES_INTERNAL -c -I. -I../.. -lxtables -liptc $(DEFS) $(CFLAGS) $< -o $@ + $(CC) -DXTABLES_INTERNAL -c -I. -I../.. $(DEFS) $(CFLAGS) $< -o $@ clean: rm -f *.a *.o distclean: rm -f Makefile *~ *.orig + rm -f xtables.c libiptc.c libip4tc.c linux_list.h linux_stddef.h |