version 1.8, 2004/02/10 02:02:22 |
version 1.9, 2010/05/03 18:34:01 |
|
|
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} == "no" |
.if ${USE_GCC3:L} == "yes" |
sed -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ |
sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
|
.elif ${USE_GCC4:L} == "yes" |
|
sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
.else |
.else |
sed -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ |
sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ |
.endif |
.endif |
|
|
.include <bsd.prog.mk> |
.include <bsd.prog.mk> |