diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-18 03:12:24 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-18 03:12:24 +0000 |
| commit | 9018d6738b78a5dd1be351e07133122d659c50ee (patch) | |
| tree | bcabba0b4f12e8b4d5897dadb8503d8085e4d98b /gnu/usr.bin/cc | |
| parent | 3a7789cfeb789b970a110eccac99ed93f00d0f38 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/cc')
| -rw-r--r-- | gnu/usr.bin/cc/cc1plus/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc1plus/Makefile b/gnu/usr.bin/cc/cc1plus/Makefile new file mode 100644 index 000000000000..cf89851c1d87 --- /dev/null +++ b/gnu/usr.bin/cc/cc1plus/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +.include "../Makefile.inc" + +.PATH: ${GCCDIR}/cp ${GCCDIR} + +PROG= cc1plus +SRCS= parse.c parse.h cfns.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 mangle.c method.c pt.c ptree.c repo.c rtti.c \ + search.c semantics.c spew.c tree.c typeck.c typeck2.c xref.c dump.c optimize.c + +BINDIR= /usr/libexec +NOMAN= 1 +NOSHARED=yes + +CFLAGS+= -I${GCCDIR}/cp -I. + +DPADD+= ${LIBCC_INT} +LDADD+= ${LIBCC_INT} + +.ORDER: parse.c parse.h +parse.c parse.h: parse.y + ${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y + grep '^#define[ ]*YYEMPTY' parse.c >>parse.h + +CLEANFILES+= parse.c parse.h cfns.h + +cfns.h: + gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' \ + ${GCCDIR}/cp/cfns.gperf > ${.TARGET} + +.include <bsd.prog.mk> |
