Makefile revision 52861
1# $FreeBSD: head/gnu/usr.bin/cc/cc1plus/Makefile 52861 1999-11-04 04:46:04Z obrien $ 2 3.include "../Makefile.inc" 4 5.PATH: ${GCCDIR}/cp 6 7YACC= bison --broken-undeftoken-init 8 9PROG= cc1plus 10SRCS= parse.c parse.h 11SRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \ 12 friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \ 13 search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c 14BINDIR= /usr/libexec 15NOMAN= 1 16NOSHARED=yes 17 18CFLAGS+= -I${GCCDIR}/cp -I. 19 20DPADD+= ${LIBCC_INT} 21LDADD+= ${LIBCC_INT} 22 23.ORDER: parse.c parse.h 24parse.c parse.h: parse.y 25 ${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y 26 grep '^#define[ ]*YYEMPTY' parse.c >>parse.h 27 28CLEANFILES+= parse.c parse.h 29 30CPPHDRS= exception new new.h typeinfo 31 32beforeinstall: 33 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ 34 ${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \ 35 ${DESTDIR}/usr/include/g++ 36 37.include <bsd.prog.mk> 38