Return to Makefile CVS log | Up to [local] / src / usr.bin / cpp |
File: [local] / src / usr.bin / cpp / Makefile (download)
Revision 1.11, Tue Aug 6 19:11:53 2013 UTC (10 years, 10 months ago) by miod
Remove support for COMPILER_VERSION == gcc2. Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything. |
# $OpenBSD: Makefile,v 1.11 2013/08/06 19:11:53 miod Exp $ .include <bsd.own.mk> NOMAN= PROG=cpp SRCS= INSTALL_STRIP= cpp: cpp.sh .if ${COMPILER_VERSION:L} == "gcc3" sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ .else sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ .endif .include <bsd.prog.mk>