diff options
author | darrenr <darrenr@FreeBSD.org> | 2000-08-13 04:58:02 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2000-08-13 04:58:02 +0000 |
commit | 54a215376523c9828e0092de33f29614fca24281 (patch) | |
tree | 73c5d7610005d77ef48ecc4df40b50c23486a0dc /contrib/ipfilter/Makefile | |
parent | 90778a716059d6db7810bad8d8a4e1b787dc4a06 (diff) | |
download | FreeBSD-src-54a215376523c9828e0092de33f29614fca24281.zip FreeBSD-src-54a215376523c9828e0092de33f29614fca24281.tar.gz |
Import base ipfilter 3.4.9 into contrib dir.
Diffstat (limited to 'contrib/ipfilter/Makefile')
-rw-r--r-- | contrib/ipfilter/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/ipfilter/Makefile b/contrib/ipfilter/Makefile index cb4199e..947c3b6 100644 --- a/contrib/ipfilter/Makefile +++ b/contrib/ipfilter/Makefile @@ -5,7 +5,7 @@ # provided that this notice is preserved and due credit is given # to the original author and the contributors. # -# $Id: Makefile,v 2.11.2.2 2000/07/18 13:58:10 darrenr Exp $ +# $Id: Makefile,v 2.11.2.3 2000/08/05 14:50:00 darrenr Exp $ # BINDEST=/usr/local/bin SBINDEST=/sbin @@ -15,6 +15,7 @@ CC=gcc -Wstrict-prototypes -Wmissing-prototypes #CC=gcc #CC=cc -Dconst= DEBUG=-g +TOP=../.. CFLAGS=-I$$(TOP) -g CPU=`uname -m` CPUDIR=`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m` @@ -63,7 +64,8 @@ MFLAGS1='CFLAGS=$(CFLAGS) $(ARCHINC) $(SOLARIS2) $(INET6)' \ "IPFLOG=$(IPFLOG)" "LOGFAC=$(LOGFAC)" "POLICY=$(POLICY)" \ "SOLARIS2=$(SOLARIS2)" "DEBUG=$(DEBUG)" "DCPU=$(CPU)" \ "CPUDIR=$(CPUDIR)" 'STATETOP_CFLAGS=$(STATETOP_CFLAGS)' \ - 'STATETOP_INC=$(STATETOP_INC)' 'STATETOP_LIB=$(STATETOP_LIB)' + 'STATETOP_INC=$(STATETOP_INC)' 'STATETOP_LIB=$(STATETOP_LIB)' \ + "BITS=$(BITS)" "OBJ=$(OBJ)" DEST="BINDEST=$(BINDEST)" "SBINDEST=$(SBINDEST)" "MANDIR=$(MANDIR)" MFLAGS=$(MFLAGS1) "IPFLKM=$(IPFLKM)" # @@ -105,7 +107,7 @@ include: fi sunos solaris: include - ./buildsunos + ./buildsunos $(MFLAGS) freebsd22: include make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)" @@ -132,7 +134,7 @@ freebsd4: include echo "#define INET6" > opt_inet6.h; \ fi make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)" - (cd BSD/$(CPUDIR); make build TOP=../.. $(MFLAGS) "ML=mlfk_ipl.c" "MLD=mlfk_ipl.c" "LKM=ipf.ko" "DLKM=-DKLD_MODULE"; cd ..) + (cd BSD/$(CPUDIR); make build TOP=../.. $(MFLAGS) "ML=mlfk_ipl.c" "MLD=mlfk_ipl.c" "LKM=ipf.ko" "DLKM=-DKLD_MODULE -I/sys"; cd ..) (cd BSD/$(CPUDIR); make -f Makefile.ipsend TOP=../.. $(MFLAGS1); cd ..) freebsd3 freebsd30: include @@ -186,7 +188,8 @@ setup: clean: clean-include ${RM} -f core *.o ipt fils ipf ipfstat ipftest ipmon if_ipl \ - vnode_if.h $(LKM) *~ opt_inet6.h + vnode_if.h $(LKM) *~ + ${RM} -rf sparcv7 sparcv9 (cd SunOS4; make clean) (cd SunOS5; make clean) (cd BSD; make clean) |