aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc1plus/Makefile
blob: 8bc910e9ec880499f2bcd477d08511ef071bda88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

.include "../Makefile.inc"

.PATH: ${GCCDIR}/cp ${GCCDIR}

PROG=	cc1plus
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 

BINDIR=	/usr/libexec
NO_MAN=
NOSHARED?=yes

CFLAGS+= -I${GCCDIR}/cp -I.

DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

#-----------------------------------------------------------------------
# C++ parser
cfns.h: cfns.gperf
	gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
	    ${.ALLSRC} > ${.TARGET}

CLEANFILES= cfns.h

.include <bsd.prog.mk>