summaryrefslogtreecommitdiff
path: root/usr.bin/cpp/Makefile
blob: a028dbd02813bc815612b161dd7f65fe887f87d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.12 2013/12/09 02:35:09 guenther 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__/' ${.CURDIR}/cpp.sh >$@
.else
	sed -e 's/@GNUC@//' ${.CURDIR}/cpp.sh >$@
.endif

.include <bsd.prog.mk>