1994-08-02 20:15:59 +00:00
|
|
|
#
|
1997-10-05 09:40:24 +00:00
|
|
|
# $Id: Makefile,v 1.12 1997/06/29 06:03:27 pst Exp $
|
1994-08-02 20:15:59 +00:00
|
|
|
#
|
|
|
|
|
1996-09-19 15:53:53 +00:00
|
|
|
#First, so that we get cp/tree.c and cp/expr.c instead of the C version
|
|
|
|
.PATH: ${.CURDIR}/../../../../contrib/gcc/cp
|
|
|
|
|
1994-08-02 20:15:59 +00:00
|
|
|
PROG = cc1plus
|
1997-10-05 09:40:24 +00:00
|
|
|
SRCS = parse.c parse.h \
|
1996-09-19 15:53:53 +00:00
|
|
|
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
|
1994-08-02 20:15:59 +00:00
|
|
|
BINDIR= /usr/libexec
|
|
|
|
NOMAN= 1
|
1997-06-29 06:03:42 +00:00
|
|
|
NOSHARED=yes
|
1995-09-22 14:14:32 +00:00
|
|
|
DPADD+= ${LIBCC_INT}
|
1996-09-21 14:27:38 +00:00
|
|
|
LDADD+= ${LIBCC_INT}
|
1996-09-19 15:53:53 +00:00
|
|
|
CFLAGS+= -I. # I mean it.
|
|
|
|
|
1997-10-05 09:40:24 +00:00
|
|
|
.ORDER: parse.c parse.h
|
1996-09-19 15:53:53 +00:00
|
|
|
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
|
1994-08-02 20:15:59 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|