summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-03 07:36:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-03 07:36:34 +0000
commit457b54ca5a1b5ddaf998dd611efafe9043422adf (patch)
tree5f448c6670f988185123ec279c19a7aa67fe1040
parent2cb9165d5c943b2e3c97f4147527b095027b914b (diff)
do not build special files for clean, cleandir, or obj
-rw-r--r--gnu/lib/libg++/libiberty/Makefile.bsd-wrapper4
-rw-r--r--gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/libg++/libiberty/Makefile.bsd-wrapper b/gnu/lib/libg++/libiberty/Makefile.bsd-wrapper
index 45a83d24765..6932e5165ef 100644
--- a/gnu/lib/libg++/libiberty/Makefile.bsd-wrapper
+++ b/gnu/lib/libg++/libiberty/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1996/05/13 11:32:30 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1996/06/03 07:36:29 deraadt Exp $
LIB= iberty
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR)
@@ -8,7 +8,7 @@ CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR)
# 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
+.ifmake !obj && !clean && !cleandir
PREREQ!= test ! -f $(.OBJDIR)/needed-list && \
(cd $(.CURDIR); \
$(MAKE) -f Makefile.bsd-wrapper1); \
diff --git a/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper b/gnu/lib/libg++/libstdc++/Makefile.bsd-wrapper
index 658d9af07b7..836a35150ac 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.6 1996/05/19 21:48:31 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.7 1996/06/03 07:36:33 deraadt Exp $
IO_DIR= $(.CURDIR)/../libio
LIBIBERTY_DIR= $(.CURDIR)/../libiberty
@@ -41,7 +41,7 @@ STD_OBJS= $(STD_SRCS:N*.h:R:S/$/.o/g) $(SPEC_OBJS)
# 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
+.ifmake !obj && !clean && !cleandir
PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \
(cd $(IO_DIR); \
make -f Makefile.bsd-wrapper iostream.list); \