freebsd-dev/gnu/usr.bin/cc/cc1plus/Makefile

36 lines
830 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}/cp
YACC= bison --broken-undeftoken-init
PROG= cc1plus
SRCS= parse.c parse.h
SRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \
friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \
search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR= /usr/libexec
NOMAN= 1
NOSHARED=yes
1995-09-22 14:14:32 +00:00
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
CFLAGS+= -I${GCCDIR}/cp -I.
.ORDER: parse.c parse.h
parse.c parse.h: parse.y
1999-07-28 07:22:08 +00:00
${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y
grep '^#define[ ]*YYEMPTY' parse.c >>parse.h
CLEANFILES+= parse.c parse.h
CPPHDRS= exception new new.h typeinfo
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \
${DESTDIR}/usr/include/g++
.include <bsd.prog.mk>