NetBSD/gnu/usr.bin/egcs/cc1plus/Makefile

28 lines
711 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 1998/10/14 20:46:36 tv Exp $
1998-08-17 06:25:44 +04:00
PROG= cc1plus
1998-08-18 02:29:54 +04:00
SRCS= c-common.c c-pragma.c \
1998-08-17 06:25:44 +04:00
call.c decl.c errfn.c expr.c pt.c sig.c typeck2.c class.c \
decl2.c error.c lex.c parse.y ptree.c rtti.c spew.c typeck.c \
cvt.c except.c friend.c init.c method.c search.c semantics.c \
tree.c xref.c repo.c
CLEANFILES+= parse-h
YHEADER=1
lex.o pt.o spew.o: parse-h
parse-h: parse.h
1998-10-14 16:32:37 +04:00
grep '^#define[ ]*YYEMPTY' parse.c >> parse.h
@touch parse-h
1998-08-17 06:25:44 +04:00
# Needs to be before dist/gcc or tree.c comes from the wrong place.
.PATH: ${.CURDIR}/../../../dist/gcc/cp
.NOPATH: parse.c parse.h
.BEGIN:
@rm -f ${DIST}/cp/parse.c ${DIST}/cp/parse.h
.include "../Makefile.cc1"
1998-08-17 06:25:44 +04:00
CPPFLAGS+= -I. -I${DIST}/cp