mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 05:32:15 -04:00
35 lines
839 B
Makefile
35 lines
839 B
Makefile
#
|
|
# $Id: Makefile,v 1.16 1999/03/05 04:55:03 obrien Exp $
|
|
#
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${GCCDIR}/cp
|
|
|
|
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
|
|
DPADD+= ${LIBCC_INT}
|
|
LDADD+= ${LIBCC_INT}
|
|
CFLAGS+= -I${GCCDIR}/cp -I.
|
|
|
|
.ORDER: parse.c parse.h
|
|
parse.c parse.h: parse.y
|
|
${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c
|
|
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>
|