[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / cpp

File: [local] / src / usr.bin / cpp / Makefile (download)

Revision 1.8, Tue Feb 10 02:02:22 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.7: +13 -5 lines

Clean-up logic, support -$ on gcc2, nothing on gcc3.
Add -notraditional to help the transition into not -trad land.

ok deraadt@

#	$OpenBSD: Makefile,v 1.8 2004/02/10 02:02:22 espie Exp $

.include <bsd.own.mk>

NOMAN=

PROG=cpp
SRCS=
INSTALL_STRIP=

cpp: cpp.sh
.if ${USE_GCC3:L} == "no"
	sed -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@
.else
	sed -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@
.endif

.include <bsd.prog.mk>