summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/libstdc++
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-03-28 07:31:11 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-03-28 07:31:11 +0000
commit13cb99c2ccdf834d8dee20b7d34ef255c88f7537 (patch)
tree0f16e18f15348447f85a9d90ac171af991e7b050 /gnu/lib/libg++/libstdc++
parentdfc8183d7df3fa3b6df04af4cbb7fe80d6a7d55c (diff)
Moved GNU spec stuff into Makefile.bsd-wrapper1 using PREREQ variable.
This makes full BSD build support a reality for libiberty. make obj tags depends now works. General cleanup and commenting.
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 be5240adbfb..260171bdddd 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.3 1996/03/27 23:00:05 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1996/03/28 07:31:10 etheisen Exp $
LIB= stdc++
CXXFLAGS+= -fno-implicit-templates -nostdinc++
@@ -53,7 +53,8 @@ PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \
IO_OBJS!= cat $(IO_OBJDIR)/iostream.list
QIO_OBJS= $(IO_OBJS:S/^/$(IO_OBJDIR)\//g)
-LIBIBERTY_OBJS!=cat $(LIBIBERTY_OBJDIR)/needed-list
+LIBIBERTY_SRCS!=cat $(LIBIBERTY_OBJDIR)/needed-list
+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)