diff options
Diffstat (limited to 'usr.bin/cpp/Makefile')
-rw-r--r-- | usr.bin/cpp/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile index 53cd6ee212b..b99cc0482c2 100644 --- a/usr.bin/cpp/Makefile +++ b/usr.bin/cpp/Makefile @@ -1,10 +1,18 @@ -# $OpenBSD: Makefile,v 1.7 1999/12/23 07:14:12 mickey Exp $ +# $OpenBSD: Makefile,v 1.8 2004/02/10 02:02:22 espie Exp $ + +.include <bsd.own.mk> NOMAN= -NOOBJ= -beforeinstall: - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/cpp.sh ${DESTDIR}${BINDIR}/cpp +PROG=cpp +SRCS= +INSTALL_STRIP= + +cpp: cpp.sh +.if ${USE_GCC3:L} == "no" + sed -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ +.else + sed -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ +.endif .include <bsd.prog.mk> |