Annotation of src/usr.bin/cpp/Makefile, Revision 1.9
1.9 ! drahn 1: # $OpenBSD: Makefile,v 1.8 2004/02/10 02:02:22 espie 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=
1.9 ! drahn 10: USE_GCC3?="no"
! 11: USE_GCC4?="no"
1.8 espie 12:
13: cpp: cpp.sh
1.9 ! drahn 14: .if ${USE_GCC3:L} == "yes"
! 15: sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@
! 16: .elif ${USE_GCC4:L} == "yes"
! 17: sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@
1.8 espie 18: .else
1.9 ! drahn 19: sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@
1.8 espie 20: .endif
1.1 deraadt 21:
22: .include <bsd.prog.mk>