2001-12-18 03:12:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${GCCDIR}/cp ${GCCDIR}
|
|
|
|
|
|
|
|
PROG= cc1plus
|
2004-07-28 05:27:21 +00:00
|
|
|
SRCS= cfns.h
|
|
|
|
SRCS+= main.c cp-lang.c c-opts.c call.c class.c cvt.c cxx-pretty-print.c \
|
|
|
|
decl.c decl2.c error.c except.c expr.c dump.c friend.c init.c lex.c \
|
|
|
|
mangle.c method.c name-lookup.c parser.c pt.c ptree.c repo.c rtti.c \
|
|
|
|
search.c semantics.c tree.c typeck.c typeck2.c optimize.c
|
2001-12-18 03:12:24 +00:00
|
|
|
|
|
|
|
BINDIR= /usr/libexec
|
2004-12-21 08:47:35 +00:00
|
|
|
NO_MAN=
|
2002-04-06 23:18:01 +00:00
|
|
|
NOSHARED?=yes
|
2001-12-18 03:12:24 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${GCCDIR}/cp -I.
|
|
|
|
|
2004-10-24 15:33:08 +00:00
|
|
|
DPADD= ${LIBCC_INT}
|
2004-02-05 22:44:25 +00:00
|
|
|
LDADD= ${LIBCC_INT}
|
2001-12-18 03:12:24 +00:00
|
|
|
|
2002-05-13 03:27:03 +00:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
# C++ parser
|
2002-12-04 17:34:21 +00:00
|
|
|
cfns.h: cfns.gperf
|
2004-07-28 05:27:21 +00:00
|
|
|
gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
|
2002-12-04 17:34:21 +00:00
|
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
|
2004-07-28 05:27:21 +00:00
|
|
|
CLEANFILES= cfns.h
|
2002-05-13 03:27:03 +00:00
|
|
|
|
2001-12-18 03:12:24 +00:00
|
|
|
.include <bsd.prog.mk>
|