version 1.9, 2010/05/03 18:34:01 |
version 1.10, 2010/05/10 18:20:31 |
|
|
PROG=cpp |
PROG=cpp |
SRCS= |
SRCS= |
INSTALL_STRIP= |
INSTALL_STRIP= |
USE_GCC3?="no" |
|
USE_GCC4?="no" |
|
|
|
cpp: cpp.sh |
cpp: cpp.sh |
.if ${USE_GCC3:L} == "yes" |
.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 ${USE_GCC4:L} == "yes" |
.elif ${COMPILER_VERSION:L} == "gcc4" |
sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
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@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ |