1 # $FreeBSD: src/gnu/usr.bin/cc/cc1plus/Makefile,v 1.22.2.1 2002/06/20 23:13:31 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/cc/cc1plus/Attic/Makefile,v 1.6 2004/02/02 05:43:11 dillon Exp $
4 .include "../Makefile.inc"
9 SRCS= parse.y y.tab.h parse.h
10 SRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \
11 friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \
12 search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
16 CFLAGS+= -I${GCCDIR}/cp -I.
21 parse.h: y.tab.h parse.c
22 cp -p y.tab.h ${.TARGET}
23 grep '^#define[ ]*YYEMPTY' parse.c >>${.TARGET}
27 CPPHDRS= exception new new.h typeinfo
30 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
31 ${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \
32 ${DESTDIR}/usr/include/c++/2.95
34 .include <bsd.prog.mk>