use ${.CURDIR} correctly. from enami tsugutomo in pr#3582
This commit is contained in:
parent
01925a4fb0
commit
78c51899a9
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
#
|
||||
# Copyright (c) 1996 Matthew R. Green
|
||||
# All rights reserved.
|
||||
@ -76,7 +76,7 @@ mv ipf.1 ipf.8
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= ipf
|
||||
SRCS= ipf.c parse.c opt.c
|
||||
@ -103,7 +103,7 @@ cd $d/src/usr.sbin/ipf/ipfstat
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= ipfstat
|
||||
SRCS= kmem.c fils.c opt.c parse.c
|
||||
@ -127,7 +127,7 @@ cd $d/src/usr.sbin/ipf/ipftest
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg 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
|
||||
@ -152,13 +152,13 @@ cd $d/src/usr.sbin/ipf/ipmon
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= ipmon
|
||||
MAN= ipmon.8
|
||||
CFLAGS+=-DLOGFAC=LOG_LOCAL0 -I${.CURDIR}/../ipf
|
||||
|
||||
.PATH: .${CURDIR}/../ipf
|
||||
.PATH: ${.CURDIR}/../ipf
|
||||
.include <bsd.prog.mk>
|
||||
__eof_makefile
|
||||
### end ipmon ###############################
|
||||
@ -177,7 +177,7 @@ mv ipnat.1 ipnat.8
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= ipnat
|
||||
SRCS= kmem.c ipnat.c
|
||||
@ -200,7 +200,7 @@ cd $d/src/usr.sbin/ipf/ipresend
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg 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
|
||||
@ -223,7 +223,7 @@ cd $d/src/usr.sbin/ipf/ipsend
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= ipsend
|
||||
SRCS= ipsend.c ip.c ipsopt.c 44arp.c sbpf.c
|
||||
@ -246,7 +246,7 @@ cd $d/src/usr.sbin/ipf/iptest
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
PROG= iptest
|
||||
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
|
||||
@ -277,7 +277,7 @@ cd $d/src/sys/lkm/netinet/if_ipl
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.1 1997/05/04 15:10:36 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -301,7 +301,7 @@ find $d -name '*.[ch]' -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.1 1997/05/04 15:10:36 mrg Exp $ */
|
||||
/* $NetBSD: ipfilter2netbsd,v 1.2 1997/05/07 13:20:40 mrg Exp $ */
|
||||
|
||||
__eof_header
|
||||
cat $c
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.7 1997/05/06 20:46:09 gwr Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1997/05/07 13:20:43 mrg Exp $
|
||||
|
||||
PROG= ipmon
|
||||
MAN= ipmon.8
|
||||
CFLAGS+=-DLOGFAC=LOG_LOCAL0 -I${.CURDIR}/../ipf
|
||||
|
||||
.PATH.c: ${CURDIR}/../ipf
|
||||
.PATH.c: ${.CURDIR}/../ipf
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user