summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/libstdc++
diff options
context:
space:
mode:
authorcjs <cjs@NetBSD.org>1997-05-26 03:55:19 +0000
committercjs <cjs@NetBSD.org>1997-05-26 03:55:19 +0000
commit5fd7ce706643c8a60759eaffd1c6abce21fd92b5 (patch)
treedf1210d11ba7530658dc43a7b13dd743544e3474 /gnu/lib/libg++/libstdc++
parent42012469efc2e12b6e37829abff5ae8a055d939a (diff)
These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree, while maintaining backward compatability with other build methods. See the notes in src/share/mk/bsd.README for full details. Note that the `make includes' target now only installs the include files in the build directory (if you use one--otherwise they go in DESTDIR just like before); `make install' will install include files in DESTDIR.
Diffstat (limited to 'gnu/lib/libg++/libstdc++')
-rw-r--r--gnu/lib/libg++/libstdc++/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/lib/libg++/libstdc++/Makefile b/gnu/lib/libg++/libstdc++/Makefile
index b75bc876feb..095c0f3978a 100644
--- a/gnu/lib/libg++/libstdc++/Makefile
+++ b/gnu/lib/libg++/libstdc++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1997/03/16 15:45:17 veego Exp $
+# $NetBSD: Makefile,v 1.7 1997/05/26 03:56:12 cjs Exp $
LIB= stdc++
@@ -22,13 +22,13 @@ NOLINT= nolint
.PATH: $(.CURDIR)/../libio $(.CURDIR)/stl $(.CURDIR)/../librx
+.include <bsd.lib.mk>
+
.if (${MACHINE} != "alpha")
-LDADD= ${DESTDIR}/usr/lib/c++rt0.o
-DPADD= ${DESTDIR}/usr/lib/c++rt0.o
+LDADD= ${BULDDIR}/usr/lib/c++rt0.o
+DPADD= ${BULDDIR}/usr/lib/c++rt0.o
.endif
-.include <bsd.lib.mk>
-
cstrmain.cc: Makefile
@echo Creating cstrmain.cc
@(for i in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP LESS LEPS LESP GESS GEPS GESP ; do \
@@ -137,4 +137,3 @@ stdexcepti.so: stdexcepti.cc
@$(LD) -x -r $(.TARGET).o -o $(.TARGET)
@rm -f $(.TARGET).o
-