Makefile revision 49811
1# 2# $Id: Makefile,v 1.17 1999/08/01 15:44:51 obrien Exp $ 3# 4 5.include "../Makefile.inc" 6 7.PATH: ${GCCDIR}/cp 8 9YACC= bison --broken-undeftoken-init 10 11PROG = cc1plus 12SRCS = parse.c parse.h 13SRCS += call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \ 14 friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \ 15 search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c 16BINDIR= /usr/libexec 17NOMAN= 1 18NOSHARED=yes 19DPADD+= ${LIBCC_INT} 20LDADD+= ${LIBCC_INT} 21CFLAGS+= -I${GCCDIR}/cp -I. 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