summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/libstdc++
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-13 11:32:49 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-13 11:32:49 +0000
commit7765329deea9c86c7517097653a087af30c7bd9f (patch)
tree9c9b7d3cd474c162fa2b9b9beb60c5db3277d8c7 /gnu/lib/libg++/libstdc++
parent6b3352d4addbff179912915ad004947505e67434 (diff)
Don't do PREREQ's when making obj.
Diffstat (limited to 'gnu/lib/libg++/libstdc++')
-rw-r--r--gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper b/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper
index 260171bdddd..fe7683af593 100644
--- a/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper
+++ b/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1996/03/28 07:31:10 etheisen Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1996/05/13 11:32:48 niklas Exp $
LIB= stdc++
CXXFLAGS+= -fno-implicit-templates -nostdinc++
@@ -41,6 +41,7 @@ LIBIBERTY_OBJDIR!=if [ -d $(LIBIBERTY_DIR)/$(OBJDIR) ]; then \
# we must first see to that they are really generated. This is a hack that
# ensures this. The echo at the end is because make doesn't like command
# substitutions to not generate output.
+.ifnmake obj
PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \
(cd $(IO_DIR); \
make -f Makefile.bsd-wrapper iostream.list); \
@@ -49,7 +50,6 @@ PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \
make -f Makefile.bsd-wrapper needed-list); \
echo 'Prerequistes made'
-
IO_OBJS!= cat $(IO_OBJDIR)/iostream.list
QIO_OBJS= $(IO_OBJS:S/^/$(IO_OBJDIR)\//g)
@@ -58,6 +58,7 @@ LIBIBERTY_OBJS=$(LIBIBERTY_SRCS:N*.h:R:S/$/.o/g)
# XXX why does strerror.o need to be hardwired?
LIBIBERTY_OBJS+=strerror.o
QLIBIBERTY_OBJS=$(LIBIBERTY_OBJS:S/^/$(LIBIBERTY_OBJDIR)\//g)
+.endif
STL_OBJDIR!= if [ -d $(STL_DIR)/$(OBJDIR) ]; then \
echo $(STL_DIR)/$(OBJDIR); \