Use ${DESTDIR}.
Handcraft ${LIBCURSES} as we don't include bsd.prog.mk here.
This commit is contained in:
parent
eda5beab5a
commit
30ebbeb8bf
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue