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

32 lines
735 B
Makefile
Raw Normal View History

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
NO_MAN=
2004-12-21 09:59:45 +00:00
NO_SHARED?=yes
2001-12-18 03:12:24 +00:00
CFLAGS+= -I${GCCDIR}/cp -I.
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
2001-12-18 03:12:24 +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
2001-12-18 03:12:24 +00:00
.include <bsd.prog.mk>