diff options
author | darrenr <darrenr@FreeBSD.org> | 2005-04-28 16:26:35 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2005-04-28 16:26:35 +0000 |
commit | f739412edd54e37f5ef93d4acf46bd0326fce031 (patch) | |
tree | b61a87e7924e447add6908ae64bd8cc5aaefd0cb /sbin/ipf/ipf | |
parent | 38dd7daaf5ef4165c5d6c2ca436f49446cfc7301 (diff) | |
download | FreeBSD-src-f739412edd54e37f5ef93d4acf46bd0326fce031.zip FreeBSD-src-f739412edd54e37f5ef93d4acf46bd0326fce031.tar.gz |
Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
build problems with rescue.
Diffstat (limited to 'sbin/ipf/ipf')
-rw-r--r-- | sbin/ipf/ipf/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sbin/ipf/ipf/Makefile b/sbin/ipf/ipf/Makefile index fc8dfe7..820de39 100644 --- a/sbin/ipf/ipf/Makefile +++ b/sbin/ipf/ipf/Makefile @@ -1,7 +1,5 @@ # $FreeBSD$ -.include <bsd.own.mk> # for MKDYNAMICROOT definition - PROG= ipf SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c MAN= ipf.8 ipf.4 ipf.5 ipl.4 @@ -14,7 +12,6 @@ CLEANFILES+= ipf_y.c ipf_y.h CLEANFILES+= ipf_l.c ipf_l.h ipf_y.c: ipf_y.y - ${_MKTARGET_CREATE} ${YACC} -d ${.ALLSRC} sed -e 's/yy/ipf_yy/g' \ -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \ @@ -25,20 +22,18 @@ ipf_y.c: ipf_y.y ipf_y.h: ipf_y.c ipf_l.c: lexer.c - ${_MKTARGET_CREATE} sed -e 's/yy/ipf_yy/g' \ -e 's/y.tab.h/ipf_y.h/' \ -e 's/lexer.h/ipf_l.h/' \ ${.ALLSRC} > ${.TARGET} ipf_l.h: lexer.h - ${_MKTARGET_CREATE} sed -e 's/yy/ipf_yy/g' \ ${.ALLSRC} > ${.TARGET} -BINDIR= /sbin -.if defined(NO_DYNAMICROOT) -LDSTATIC?= -static +.if defined(RESCUE) +LIBIPF_SRCS!= cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS +SRCS+= ${LIBIPF_SRCS} .endif .include <bsd.prog.mk> |