summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eBones/libexec/telnetd/Makefile4
-rw-r--r--eBones/usr.bin/telnet/Makefile3
-rw-r--r--secure/Makefile.inc14
-rw-r--r--secure/bin/ed/Makefile6
-rw-r--r--secure/libexec/Makefile.inc4
-rw-r--r--secure/libexec/telnetd/Makefile4
-rw-r--r--secure/usr.bin/telnet/Makefile3
7 files changed, 27 insertions, 11 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index 977271d..0bd111c 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -9,8 +9,8 @@ MAN8= telnetd.8
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
-DPADD= ${LIBUTIL} ${LIBTERMCAP}
-LDADD= -lutil -ltermcap -ltelnet
+DPADD= ${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
+LDADD= -L${TELNETOBJDIR} -lutil -ltermcap -ltelnet
CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
diff --git a/eBones/usr.bin/telnet/Makefile b/eBones/usr.bin/telnet/Makefile
index c77577a..3144b0c 100644
--- a/eBones/usr.bin/telnet/Makefile
+++ b/eBones/usr.bin/telnet/Makefile
@@ -38,7 +38,8 @@ PROG= telnet
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO
CFLAGS+=-DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
-LDADD+= -ltermcap -ltelnet
+LDADD+= -L${TELNETOBJDIR} -ltermcap -ltelnet
+DPADD+= ${TELNETOBJDIR}/libtelnet.a
#ifdef ENCRYPTION
diff --git a/secure/Makefile.inc b/secure/Makefile.inc
index 2d323a2..65ea36b 100644
--- a/secure/Makefile.inc
+++ b/secure/Makefile.inc
@@ -1,3 +1,15 @@
-# $Id: Makefile.inc,v 1.5 1995/05/09 05:22:41 jkh Exp $
+# $Id: Makefile.inc,v 1.6 1995/05/11 22:07:49 jkh Exp $
DISTRIBUTION=des
+
+.if exists(${.CURDIR}/../../lib/libtelnet/obj)
+TELNETOBJDIR= ${.CURDIR}/../../lib/libtelnet/obj
+.else
+TELNETOBJDIR= ${.CURDIR}/../../lib/libtelnet
+.endif
+
+.if exists(${.CURDIR}/../../lib/libcrypt/obj)
+CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj
+.else
+CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
+.endif
diff --git a/secure/bin/ed/Makefile b/secure/bin/ed/Makefile
index 5c5742b..bd04941 100644
--- a/secure/bin/ed/Makefile
+++ b/secure/bin/ed/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1994/11/14 20:45:26 phk Exp $
+# $Id: Makefile,v 1.2 1994/11/21 02:58:43 phk Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
@@ -7,7 +7,7 @@ LINKS= ${BINDIR}/ed ${BINDIR}/red
NOMAN= true
CFLAGS+=-DDES
-LDADD+= -L../../lib/libcrypt -ldescrypt
-DPADD+= ../../lib/libcrypt/libdescrypt.a
+LDADD+= -L${CRYPTOBJDIR} -ldescrypt
+DPADD+= ${CRYPTOBJDIR}/libdescrypt.a
.include <bsd.prog.mk>
diff --git a/secure/libexec/Makefile.inc b/secure/libexec/Makefile.inc
index 6657676..26d868c 100644
--- a/secure/libexec/Makefile.inc
+++ b/secure/libexec/Makefile.inc
@@ -1,4 +1,6 @@
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
-# $Id: Makefile,v 1.2 1995/07/25 14:03:35 mark Exp $
+# $Id: Makefile.inc,v 1.2 1995/07/29 12:49:22 markm Exp $
BINDIR?= /usr/libexec
+
+.include "${.CURDIR}/../../Makefile.inc"
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile
index 977271d..0bd111c 100644
--- a/secure/libexec/telnetd/Makefile
+++ b/secure/libexec/telnetd/Makefile
@@ -9,8 +9,8 @@ MAN8= telnetd.8
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
-DPADD= ${LIBUTIL} ${LIBTERMCAP}
-LDADD= -lutil -ltermcap -ltelnet
+DPADD= ${TELNETOBJDIR}/libtelnet.a ${LIBUTIL} ${LIBTERMCAP}
+LDADD= -L${TELNETOBJDIR} -lutil -ltermcap -ltelnet
CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index c77577a..3144b0c 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -38,7 +38,8 @@ PROG= telnet
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO
CFLAGS+=-DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
-LDADD+= -ltermcap -ltelnet
+LDADD+= -L${TELNETOBJDIR} -ltermcap -ltelnet
+DPADD+= ${TELNETOBJDIR}/libtelnet.a
#ifdef ENCRYPTION
OpenPOWER on IntegriCloud