Makefile revision 18441
1#
2# $Id: Makefile,v 1.8 1996/09/19 15:39:23 peter Exp $
3#
4
5#First, so that we get cp/tree.c and cp/expr.c instead of the C version
6.PATH:	${.CURDIR}/../../../../contrib/gcc/cp
7
8PROG =	cc1plus
9SRCS =	parse.c \
10	call.c class.c cvt.c decl.c decl2.c edsel.c errfn.c \
11	error.c except.c expr.c gc.c init.c lex.c method.c pt.c \
12	ptree.c repo.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
13BINDIR=	/usr/libexec
14NOMAN=	1
15NOSHARED= true
16DPADD+=	${LIBCC_INT} 
17LDADD+=	${LIBCC_INT}
18CFLAGS+= -I.	# I mean it.
19
20parse.c parse.h: parse.y
21	${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c 
22	grep '^#define[   ]*YYEMPTY' parse.c >>parse.h
23
24CLEANFILES+=	parse.c parse.h
25
26.include <bsd.prog.mk>
27