summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-09 21:07:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-09 21:07:07 +0000
commitbabb5977b8513f057e80cd58ba6fb631e63528ff (patch)
tree10c6fb4954b5c581efffafe4bad78da2482655e5 /gnu/egcs
parent0dae8a405b3fba6239032a94e113bceed3ade950 (diff)
Needed dependencies for make -j to behave correctly, backported from gcc 3;
ok espie@
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/Makefile.bsd-wrapper5
-rw-r--r--gnu/egcs/gcc/Makefile.in3
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/Makefile.bsd-wrapper b/gnu/egcs/gcc/Makefile.bsd-wrapper
index a3b458f217d..d2914bbef6e 100644
--- a/gnu/egcs/gcc/Makefile.bsd-wrapper
+++ b/gnu/egcs/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.21 2006/07/17 09:47:57 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.22 2009/03/09 21:07:06 miod Exp $
MAN= cpp.1 gcc.1 protoize.1 gcov.1
MLINKS+= gcc.1 cc.1
@@ -11,6 +11,7 @@ LANGUAGES=--enable-languages='c,c++,objc,f77'
MAN+= cp/g++.1 f/g77.1
MLINKS+= g++.1 c++.1
MLINKS+= g77.1 f77.1
+BEFOREMAN= config.status
.endif
FAKE_FILES= /usr/share/info/cppinternals.info \
@@ -102,7 +103,7 @@ maninstall:
# (pre-formatted) and also because of cpp, that we install by hand
# elsewhere, until we get rid of that old `compatibility' script.
-target_path: Makefile
+target_path: config.status
__target=`sed -n '/^target=/s/target=//p' Makefile`; \
__version=`sed -n '/^gcc_version=/s/gcc_version=//p' Makefile`; \
echo /usr/lib/gcc-lib/$$__target/$$__version >target_path
diff --git a/gnu/egcs/gcc/Makefile.in b/gnu/egcs/gcc/Makefile.in
index 17da6d528fa..dbefa3cf717 100644
--- a/gnu/egcs/gcc/Makefile.in
+++ b/gnu/egcs/gcc/Makefile.in
@@ -1594,6 +1594,9 @@ recog.o : recog.c $(CONFIG_H) system.h $(RTL_H) \
reg-stack.o : reg-stack.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) recog.h \
$(REGS_H) hard-reg-set.h flags.h insn-config.h insn-flags.h toplev.h
dyn-string.o: dyn-string.c dyn-string.h $(CONFIG_H) system.h
+protector.o: protector.c $(CONFIG_H) insn-config.h flags.h $(RTL_H) \
+ $(TREE_H) $(EXPR_H) $(REGS_H) $(RECOG_H) insn-attr.h real.h output.h \
+ except.h
$(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) \
$(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \