summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/egcs/cc1plus
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-04-03 02:20:28 +0000
committertv <tv@NetBSD.org>1998-04-03 02:20:28 +0000
commitde3cddeaa77f76f499b5bddaa04edfc8ecbbfc46 (patch)
tree2175653bcbf56453740654be43861193a7732aac /gnu/usr.bin/egcs/cc1plus
parent3d26c2dbf1738864f805f5d6134cfb26ddfa6a92 (diff)
- make f771 work with CC1_SHLIB: move files that aren't actually "common"
and referencing externs in non-common code to the appropriate modules - add -DLANG_SPECIFIC_DRIVER for g++ and g77 as required by a "GNU build" - Cleanup: $() -> ${}
Diffstat (limited to 'gnu/usr.bin/egcs/cc1plus')
-rw-r--r--gnu/usr.bin/egcs/cc1plus/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/egcs/cc1plus/Makefile b/gnu/usr.bin/egcs/cc1plus/Makefile
index b85082c997b..0ac0c76ffe2 100644
--- a/gnu/usr.bin/egcs/cc1plus/Makefile
+++ b/gnu/usr.bin/egcs/cc1plus/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 1998/04/01 21:13:24 tv Exp $
+# $NetBSD: Makefile,v 1.4 1998/04/03 02:20:29 tv Exp $
PROG= cc1plus
-SRCS= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c \
+SRCS= c-common.c 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 parse.c pt.c ptree.c \
repo.c rtti.c search.c sig.c spew.c tree.c typeck.c typeck2.c \
xref.c
@@ -13,15 +13,15 @@ CLEANFILES+= parse.c parse.h
parse.h: parse.c
parse.c: parse.y
- $(YACC) -d $(.IMPSRC)
+ ${YACC} -d ${.IMPSRC}
grep '^#define[ ]*YYEMPTY' y.tab.c >>y.tab.h
mv -f y.tab.c parse.c
mv -f y.tab.h parse.h
# XXX needs to be before dist/gcc or tree.c comes from the
# wrong place..
-.PATH: $(.CURDIR)/../../../dist/gcc/cp
+.PATH: ${.CURDIR}/../../../dist/gcc/cp
.include "../Makefile.cc1"
-CPPFLAGS+= -I. -I$(DIST)/cp
+CPPFLAGS+= -I. -I${DIST}/cp