diff options
author | Darren Reed <darrenr@FreeBSD.org> | 2005-04-28 16:26:35 +0000 |
---|---|---|
committer | Darren Reed <darrenr@FreeBSD.org> | 2005-04-28 16:26:35 +0000 |
commit | cf4ee2c93375233319f03138af1a68340ab1380b (patch) | |
tree | b61a87e7924e447add6908ae64bd8cc5aaefd0cb /sbin/ipf/ipf/Makefile | |
parent | 58b6761db32fe1da4c086480075222f15692d1ab (diff) | |
download | src-cf4ee2c93375233319f03138af1a68340ab1380b.tar.gz src-cf4ee2c93375233319f03138af1a68340ab1380b.zip |
Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
build problems with rescue.
Notes
Notes:
svn path=/head/; revision=145630
Diffstat (limited to 'sbin/ipf/ipf/Makefile')
-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 fc8dfe798bf2..820de398d256 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> |