cvs commit: src/sbin/ipf Makefile Makefile.inc src/sbin/ipf/ipf Makefile src/sbin/ipf/ipfs Makefile src/sbin/ipf/ipfstat Makefile src/sbin/ipf/ipftest Makefile src/sbin/ipf/ipmon Makefile src/sbin/ipf/ipnat Makefile src/sbin/ipf/ippool Makefile ...

Giorgos Keramidas keramida at freebsd.org
Mon Apr 25 16:03:16 PDT 2005


On 2005-04-25 18:55, Darren Reed <darrenr at freebsd.org> wrote:
>create a new build heirarchy for ipfilter tools
>
>Revision  Changes    Path
>1.16      +6 -16     src/sbin/ipf/Makefile
>1.1       +24 -0     src/sbin/ipf/Makefile.inc (new)
>1.1       +44 -0     src/sbin/ipf/ipf/Makefile (new)
>[...]

Hi Darren,

this breaks the src/rescue/rescue build, because one more level is
introduced for the IP Filter tools and the ipl.h header cannot be
located without src/sys/contrib/ipfilter/netinet/ in the include path
too.  The following seems to fix the build of at least src/rescue here,
at least until the link stage.  Then it breaks again because of a
missing libipf :-(

%%%
Index: rescue/rescue/Makefile
===================================================================
RCS file: /home/ncvs/src/rescue/rescue/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- rescue/rescue/Makefile	18 Mar 2005 12:55:07 -0000	1.42
+++ rescue/rescue/Makefile	25 Apr 2005 22:05:19 -0000
@@ -124,7 +124,8 @@
 .endif
 
 .if !defined(NO_IPFILTER)
-CRUNCH_PROGS_sbin+= ipf ipfs ipfstat ipmon ipnat
+CRUNCH_SRCDIRS += sbin/ipf
+CRUNCH_PROGS_sbin/ipf += ipf ipfs ipfstat ipmon ipnat
 .endif
 
 # crunchgen does not like C++ programs; this should be fixed someday
Index: sbin/ipf/Makefile.inc
===================================================================
RCS file: /home/ncvs/src/sbin/ipf/Makefile.inc,v
retrieving revision 1.1
diff -u -r1.1 Makefile.inc
--- sbin/ipf/Makefile.inc	25 Apr 2005 18:55:50 -0000	1.1
+++ sbin/ipf/Makefile.inc	25 Apr 2005 21:57:36 -0000
@@ -6,6 +6,7 @@
 CFLAGS+=	-I${.CURDIR}/../../../contrib/ipfilter/tools
 CFLAGS+=	-I${.CURDIR}/../../../sys
 CFLAGS+=	-I${.CURDIR}/../../../sys/contrib/ipfilter
+CFLAGS+=	-I${.CURDIR}/../../../sys/contrib/ipfilter/netinet
 CFLAGS+=	-DSTATETOP -D__UIO_EXPOSE
 
 IPFOBJDIR=	${.OBJDIR}/../libipf
%%%


More information about the cvs-src mailing list