version 1.10, 2010/05/10 18:20:31 |
version 1.11, 2013/08/06 19:11:53 |
|
|
cpp: cpp.sh |
cpp: cpp.sh |
.if ${COMPILER_VERSION:L} == "gcc3" |
.if ${COMPILER_VERSION:L} == "gcc3" |
sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
.elif ${COMPILER_VERSION:L} == "gcc4" |
|
sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
|
.else |
.else |
sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ |
sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
.endif |
.endif |
|
|
.include <bsd.prog.mk> |
.include <bsd.prog.mk> |