1998-04-09 04:32:31 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1998/04/09 00:32:33 tv Exp $
|
1998-03-29 15:34:19 +04:00
|
|
|
|
|
|
|
|
|
|
|
PROG= cc1plus
|
1998-04-03 06:20:28 +04:00
|
|
|
SRCS= c-common.c call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c \
|
1998-04-09 04:32:31 +04:00
|
|
|
expr.c friend.c init.c lex.c method.c parse.y pt.c ptree.c \
|
1998-03-29 15:34:19 +04:00
|
|
|
repo.c rtti.c search.c sig.c spew.c tree.c typeck.c typeck2.c \
|
|
|
|
xref.c
|
1998-04-09 04:32:31 +04:00
|
|
|
YHEADER=1
|
1998-03-29 15:34:19 +04:00
|
|
|
|
1998-04-09 04:32:31 +04:00
|
|
|
lex.c pt.c spew.c: parse-h
|
1998-03-29 15:34:19 +04:00
|
|
|
|
1998-04-09 04:32:31 +04:00
|
|
|
parse-h: parse.h
|
|
|
|
grep '^#define[ ]*YYEMPTY' parse.c >>parse.h
|
|
|
|
@touch parse-h
|
|
|
|
CLEANFILES+= parse-h
|
1998-03-29 15:34:19 +04:00
|
|
|
|
|
|
|
# XXX needs to be before dist/gcc or tree.c comes from the
|
|
|
|
# wrong place..
|
1998-04-03 06:20:28 +04:00
|
|
|
.PATH: ${.CURDIR}/../../../dist/gcc/cp
|
1998-03-29 15:34:19 +04:00
|
|
|
|
|
|
|
.include "../Makefile.cc1"
|
|
|
|
|
1998-04-03 06:20:28 +04:00
|
|
|
CPPFLAGS+= -I. -I${DIST}/cp
|