must track changes to src/sys/lkm/netinet/if_ipl/Makefile here

This commit is contained in:
mikel 1998-02-06 06:44:47 +00:00
parent 34a98169f0
commit e134619946

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
#
# Copyright (c) 1996 Matthew R. Green
# All rights reserved.
@ -67,7 +67,7 @@ cd $d/src/usr.sbin/ipf
echo creating main Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
SUBDIR= ipf ipfstat ipftest ipmon ipnat ipresend ipsend iptest rules
@ -80,7 +80,7 @@ cd $d/src/usr.sbin/ipf
echo creating main Makefile.inc
cat > Makefile.inc<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
WARNS?= 1
@ -101,7 +101,7 @@ cd $d/src/usr.sbin/ipf/ipf
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipf
SRCS= ipf.c parse.c opt.c
@ -125,7 +125,7 @@ cd $d/src/usr.sbin/ipf/ipfstat
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipfstat
SRCS= kmem.c fils.c opt.c parse.c
@ -151,7 +151,7 @@ cd $d/src/usr.sbin/ipf/ipftest
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipftest
SRCS= ipt.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ipft_hx.c ip_fil.c fil.c parse.c ip_proxy.c ip_auth.c
@ -176,7 +176,7 @@ cd $d/src/usr.sbin/ipf/ipmon
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipmon
MAN= ipmon.8
@ -201,7 +201,7 @@ mv ipnat.1 ipnat.8
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipnat
SRCS= kmem.c ipnat.c
@ -229,7 +229,7 @@ cd $d/src/usr.sbin/ipf/ipresend
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipresend
SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipft_tx.c sbpf.c 44arp.c ipft_pc.c
@ -256,7 +256,7 @@ cd $d/src/usr.sbin/ipf/ipsend
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= ipsend
SRCS= ipsend.c ip.c ipsopt.c 44arp.c sbpf.c iplang_l.l iplang_y.y
@ -285,7 +285,7 @@ cd $d/src/usr.sbin/ipf/iptest
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
PROG= iptest
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
@ -311,7 +311,7 @@ cd $d/src/usr.sbin/ipf/rules
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
FILESDIR= /usr/share/examples/ipf
MAN= mkfilters.1
@ -346,12 +346,13 @@ cd $d/src/sys/lkm/netinet/if_ipl
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $
# $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $
.include "../Makefile.inc"
.PATH: $S/netinet
CPPFLAGS+= -DIPFILTER_LOG
KMOD= if_ipl
SRCS= ip_fil.c fil.c mln_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c \
ip_auth.c ip_log.c
@ -373,7 +374,7 @@ find $d -name '*.[chly]' -print | while read c; do
< $c > /tmp/ipf2n$$ && mv /tmp/ipf2n$$ $c && echo transformed $c
sed 1q < $c | grep '\$NetBSD' || (
cat <<'__eof_header'
/* $NetBSD: ipfilter2netbsd,v 1.18 1998/01/24 19:15:04 veego Exp $ */
/* $NetBSD: ipfilter2netbsd,v 1.19 1998/02/06 06:44:47 mikel Exp $ */
__eof_header
cat $c