Makefile revision 45299
1# 2# $Id: Makefile,v 1.16 1999/03/05 04:55:03 obrien Exp $ 3# 4 5.include "../Makefile.inc" 6 7.PATH: ${GCCDIR}/cp 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 17DPADD+= ${LIBCC_INT} 18LDADD+= ${LIBCC_INT} 19CFLAGS+= -I${GCCDIR}/cp -I. 20 21.ORDER: parse.c parse.h 22parse.c parse.h: parse.y 23 ${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c 24 grep '^#define[ ]*YYEMPTY' parse.c >>parse.h 25 26CLEANFILES+= parse.c parse.h 27 28CPPHDRS= exception new new.h typeinfo 29 30beforeinstall: 31 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ 32 ${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \ 33 ${DESTDIR}/usr/include/g++ 34 35.include <bsd.prog.mk> 36