summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc1plus/Makefile
blob: b054b8ae73fcbf6b27100fb003da44011f03febc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# $Id: Makefile,v 1.8 1996/09/19 15:39:23 peter Exp $
#

#First, so that we get cp/tree.c and cp/expr.c instead of the C version
.PATH:	${.CURDIR}/../../../../contrib/gcc/cp

PROG =	cc1plus
SRCS =	parse.c \
	call.c class.c cvt.c decl.c decl2.c edsel.c errfn.c \
	error.c except.c expr.c gc.c init.c lex.c method.c pt.c \
	ptree.c repo.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR=	/usr/libexec
NOMAN=	1
NOSHARED= true
DPADD+=	${LIBCC_INT} 
LDADD+=	${LIBCC_INT}
CFLAGS+= -I.	# I mean it.

parse.c parse.h: parse.y
	${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c 
	grep '^#define[   ]*YYEMPTY' parse.c >>parse.h

CLEANFILES+=	parse.c parse.h

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud