Makefile revision 18390
1#
2# $Id: Makefile,v 1.7 1995/10/02 16:37:16 wollman 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=	makes_it_smaller_faster
16DPADD+=	${LIBCC_INT} 
17LDADD+=	-lcc_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