summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++
diff options
context:
space:
mode:
authorpk <pk@NetBSD.org>1994-01-05 21:56:40 +0000
committerpk <pk@NetBSD.org>1994-01-05 21:56:40 +0000
commit30ebbeb8bf80aed7f53632430b581242fcbd00d4 (patch)
tree9a32e2e7cba172aa1c862ce781da958d70e975b4 /gnu/lib/libg++
parenteda5beab5a3bef686173bd082f1e4436319c1488 (diff)
Use ${DESTDIR}.
Handcraft ${LIBCURSES} as we don't include bsd.prog.mk here.
Diffstat (limited to 'gnu/lib/libg++')
-rw-r--r--gnu/lib/libg++/libg++/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/lib/libg++/libg++/Makefile b/gnu/lib/libg++/libg++/Makefile
index 7746f95e5ba..d9aeea08058 100644
--- a/gnu/lib/libg++/libg++/Makefile
+++ b/gnu/lib/libg++/libg++/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.20 1994/01/05 21:34:30 mycroft Exp $
+# $Id: Makefile,v 1.21 1994/01/05 21:56:40 pk Exp $
LIB= g++
@@ -21,9 +21,11 @@ SRCS= AllocRing.cc Obstack.cc builtin.cc \
CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../g++-include \
-I$(.CURDIR)/../iostream
CFLAGS+= -I$(.CURDIR)
-LDADD= /usr/lib/c++rt0.o -lcurses
-DPADD= /usr/lib/c++rt0.o ${LIBCURSES}
+LDADD= $(DESTDIR)/usr/lib/c++rt0.o -lcurses
+DPADD= $(DESTDIR)/usr/lib/c++rt0.o ${LIBCURSES}
NOMAN= noman
.PATH: $(.CURDIR)/../iostream
+LIBCURSES!= printf "xxx:\n\techo \$${LIBCURSES}\n.include <bsd.prog.mk>" |\
+ make -r -s -f - xxx
.include <bsd.lib.mk>