Annotation of src/usr.bin/cpp/Makefile, Revision 1.10
1.10 ! drahn 1: # $OpenBSD: Makefile,v 1.9 2010/05/03 18:34:01 drahn Exp $
1.8 espie 2:
3: .include <bsd.own.mk>
1.1 deraadt 4:
5: NOMAN=
6:
1.8 espie 7: PROG=cpp
8: SRCS=
9: INSTALL_STRIP=
10:
11: cpp: cpp.sh
1.10 ! drahn 12: .if ${COMPILER_VERSION:L} == "gcc3"
1.9 drahn 13: sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@
1.10 ! drahn 14: .elif ${COMPILER_VERSION:L} == "gcc4"
1.9 drahn 15: sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@
1.8 espie 16: .else
1.9 drahn 17: sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@
1.8 espie 18: .endif
1.1 deraadt 19:
20: .include <bsd.prog.mk>