Updates to build infrastructure for the MFC of IPFilter into RELENG_6

This commit is contained in:
darrenr 2007-11-19 00:48:39 +00:00
parent 008a2a4527
commit 66af1f729a
6 changed files with 47 additions and 46 deletions

View File

@ -1,15 +1,15 @@
# $FreeBSD$
PROG= ipf
SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c
SRCS= ${GENHDRS} ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c
MAN= ipf.8 ipf.4 ipf.5 ipl.4
MLINKS= ipl.4 ipfilter.4 ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5
CFLAGS+= -I. -DIPFILTER_BPF
DPSRCS+= ipf_l.h ipf_y.h
GENHDRS= ipf_l.h ipf_y.h
DPSRCS+= ${GENHDRS}
CLEANFILES+= ipf_y.c ipf_y.h
CLEANFILES+= ipf_l.c ipf_l.h
CLEANFILES+= ${GENHDRS} ipf_y.c ipf_l.c
ipf_y.c: ipf_y.y
${YACC} -d ${.ALLSRC}

View File

@ -1,7 +1,9 @@
# $FreeBSD$
WARNS=0
PROG= ipftest
SRCS= ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \
SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \
ip_proxy.c ip_auth.c ip_htable.c ip_lookup.c \
ip_pool.c ip_scan.c ip_sync.c ip_rules.c \
ip_fil.c ip_log.c ippool_y.c ippool_l.c ipf_y.c \
@ -13,16 +15,15 @@ CFLAGS+= -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP \
.PATH: ${.CURDIR}/../../../sys/contrib/ipfilter/netinet
DPSRCS+= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h
GENHDRS= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h
DPSRCS+= ${GENHDRS}
CLEANFILES+= ipf_y.c ipf_y.h
CLEANFILES+= ipf_l.c ipf_l.h
CLEANFILES+= ${GENHDRS}
CLEANFILES+= ipf_y.c ipf_l.c
CLEANFILES+= ipf.tab.c ipf.tab.h
CLEANFILES+= ipnat_y.c ipnat_y.h
CLEANFILES+= ipnat_l.c ipnat_l.h
CLEANFILES+= ipnat_y.c ipnat_l.c
CLEANFILES+= ipnat.tab.c ipnat.tab.h
CLEANFILES+= ippool_y.c ippool_y.h
CLEANFILES+= ippool_l.c ippool_l.h
CLEANFILES+= ippool_y.c ippool_l.c
CLEANFILES+= ippool.tab.c ippool.tab.h
ipnat_y.c: ipnat_y.y

View File

@ -1,15 +1,15 @@
# $FreeBSD$
PROG= ipmon
SRCS= ipmon.c ipmon_y.c ipmon_l.c
SRCS= ${GENHDRS} ipmon.c ipmon_y.c ipmon_l.c
MAN= ipmon.8
CFLAGS+= -DLOGFAC=LOG_LOCAL0 -I.
DPSRCS+= ipmon_l.h ipmon_y.h
GENHDRS+= ipmon_l.h ipmon_y.h
DPSRCS+= ${GENHDRS}
CLEANFILES+= ipmon_y.c ipmon_y.h
CLEANFILES+= ipmon_l.c ipmon_l.h
CLEANFILES+= ${GENHDRS} ipmon_y.c ipmon_l.c
ipmon_y.c: ipmon_y.y
${YACC} -d ${.ALLSRC}

View File

@ -1,15 +1,15 @@
# $FreeBSD$
PROG= ipnat
SRCS= ipnat.c ipnat_y.c ipnat_l.c
SRCS= ${GENHDRS} ipnat.c ipnat_y.c ipnat_l.c
MAN= ipnat.8 ipnat.4 ipnat.5
MLINKS= ipnat.5 ipnat.conf.5
CFLAGS+= -I.
DPSRCS+= ipnat_l.h ipnat_y.h
GENHDRS= ipnat_l.h ipnat_y.h
DPSRCS+= ${GENHDRS}
CLEANFILES+= ipnat_y.c ipnat_y.h
CLEANFILES+= ipnat_l.c ipnat_l.h
CLEANFILES+= ${GENHDRS} ipnat_y.c ipnat_l.c
ipnat_y.c: ipnat_y.y
${YACC} -d ${.ALLSRC}

View File

@ -1,14 +1,14 @@
# $FreeBSD$
PROG= ippool
SRCS= ippool_y.c ippool_l.c kmem.c ippool.c
SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c
MAN= ippool.5 ippool.8
CFLAGS+= -I.
DPSRCS+= ippool_l.h ippool_y.h
GENHDRS= ippool_l.h ippool_y.h
DPSRCS+= ${GENHDRS}
CLEANFILES+= ippool_y.c ippool_y.h
CLEANFILES+= ippool_l.c ippool_l.h
CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
ippool_y.c: ippool_y.y
${YACC} -d ${.ALLSRC}

View File

@ -3,27 +3,27 @@
LIB= ipf
INTERNALLIB=
SRCS= addicmp.c addipopt.c bcopywrap.c binprint.c \
buildopts.c checkrev.c count6bits.c count4bits.c debug.c \
extras.c facpri.c flags.c fill6bits.c genmask.c gethost.c \
getifname.c getline.c getnattype.c getport.c getportproto.c \
getproto.c getsumd.c hexdump.c hostmask.c hostname.c \
hostnum.c icmpcode.c initparse.c ionames.c \
ipoptsec.c ipf_dotuning.c ipft_ef.c ipft_hx.c ipft_pc.c \
ipft_sn.c ipft_td.c ipft_tx.c kmem.c kmemcpywrap.c \
kvatoname.c load_hash.c load_hashnode.c load_pool.c \
load_poolnode.c mutex_emul.c \
nametokva.c nat_setgroupmap.c ntomask.c optname.c \
optprint.c optprintv6.c optvalue.c portname.c portnum.c \
ports.c print_toif.c printactivenat.c printaps.c printbuf.c \
printhash.c printhashnode.c printip.c printpool.c \
printpoolnode.c printfr.c printfraginfo.c printhostmap.c \
printifname.c printhostmask.c printlog.c printmask.c \
printnat.c printportcmp.c printpacket.c printpacket6.c \
printproto.c printsbuf.c printstate.c printtunable.c ratoi.c \
ratoui.c remove_hash.c remove_hashnode.c remove_pool.c \
remove_poolnode.c resetlexer.c rwlock_emul.c tcpflags.c \
tcp_flags.c to_interface.c var.c verbose.c v6ionames.c \
v6optvalue.c
SRCS= addicmp.c addipopt.c alist_free.c alist_new.c bcopywrap.c \
binprint.c buildopts.c checkrev.c count4bits.c count6bits.c \
debug.c facpri.c fill6bits.c flags.c gethost.c getifname.c \
getnattype.c getport.c getportproto.c getproto.c getsumd.c \
hostname.c icmpcode.c initparse.c ionames.c \
ipf_dotuning.c ipft_ef.c ipft_hx.c ipft_pc.c ipft_sn.c \
ipft_td.c ipft_tx.c ipoptsec.c kmem.c kmemcpywrap.c \
kvatoname.c load_file.c load_hash.c load_hashnode.c \
load_http.c load_pool.c load_poolnode.c load_url.c \
mutex_emul.c nametokva.c nat_setgroupmap.c ntomask.c \
optname.c optprint.c optprintv6.c optvalue.c portname.c \
print_toif.c printactivenat.c printaps.c printbuf.c \
printfr.c printfraginfo.c printhash.c printhash_live.c \
printhashdata.c printhashnode.c printhostmap.c \
printhostmask.c printifname.c printip.c printlog.c \
printmask.c printnat.c printpacket.c printpacket6.c \
printpool.c printpool_live.c printpooldata.c printpoolnode.c \
printportcmp.c printproto.c printsbuf.c printstate.c \
printtqtable.c printtunable.c remove_hash.c remove_hashnode.c \
remove_pool.c remove_poolnode.c resetlexer.c rwlock_emul.c \
tcp_flags.c tcpflags.c v6ionames.c v6optvalue.c \
var.c verbose.c
.include <bsd.lib.mk>