Makefile revision 49864
1196200Sscottl# $Id: Makefile,v 1.18 1999/08/14 22:44:36 obrien Exp $ 2196200Sscottl 3196200Sscottl.include "../Makefile.inc" 4196200Sscottl 5196200Sscottl.PATH: ${GCCDIR}/cp 6196200Sscottl 7196200SscottlYACC= bison --broken-undeftoken-init 8196200Sscottl 9196200SscottlPROG= cc1plus 10196200SscottlSRCS= parse.c parse.h 11196200SscottlSRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \ 12196200Sscottl friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \ 13196200Sscottl search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c 14196200SscottlBINDIR= /usr/libexec 15196200SscottlNOMAN= 1 16196200SscottlNOSHARED=yes 17196200SscottlDPADD+= ${LIBCC_INT} 18196200SscottlLDADD+= ${LIBCC_INT} 19196200SscottlCFLAGS+= -I${GCCDIR}/cp -I. 20196200Sscottl 21196200Sscottl.ORDER: parse.c parse.h 22196200Sscottlparse.c parse.h: parse.y 23196200Sscottl ${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y 24196200Sscottl grep '^#define[ ]*YYEMPTY' parse.c >>parse.h 25196200Sscottl 26196200SscottlCLEANFILES+= parse.c parse.h 27196200Sscottl 28196200SscottlCPPHDRS= exception new new.h typeinfo 29196200Sscottl 30196200Sscottlbeforeinstall: 31196200Sscottl ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ 32196200Sscottl ${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \ 33196200Sscottl ${DESTDIR}/usr/include/g++ 34196200Sscottl 35196200Sscottl.include <bsd.prog.mk> 36196200Sscottl