From 5fd7ce706643c8a60759eaffd1c6abce21fd92b5 Mon Sep 17 00:00:00 2001 From: cjs Date: Mon, 26 May 1997 03:55:19 +0000 Subject: 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. --- gnu/lib/libg++/libstdc++/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gnu/lib/libg++/libstdc++') 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 + .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 - 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 - -- cgit