Use ${DESTDIR}.

Handcraft ${LIBCURSES} as we don't include bsd.prog.mk here.
This commit is contained in:
pk 1994-01-05 21:56:40 +00:00
parent eda5beab5a
commit 30ebbeb8bf
1 changed files with 5 additions and 3 deletions

View File

@ -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>