diff options
author | gibbs <gibbs@FreeBSD.org> | 1995-09-16 03:04:10 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1995-09-16 03:04:10 +0000 |
commit | 8d7d06f373dac7b48b0c0ddc8def8ae4ded1c880 (patch) | |
tree | bae4eeef7bd0d19043f4167e231d1914eac110d5 /secure | |
parent | 9237addf837be5e733694a3a0f40fb72cb260ebb (diff) | |
download | FreeBSD-src-8d7d06f373dac7b48b0c0ddc8def8ae4ded1c880.zip FreeBSD-src-8d7d06f373dac7b48b0c0ddc8def8ae4ded1c880.tar.gz |
Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries. This makes
secure reference the libraries that were just build instead of in /usr/lib.
Diffstat (limited to 'secure')
-rw-r--r-- | secure/Makefile.inc | 14 | ||||
-rw-r--r-- | secure/bin/ed/Makefile | 6 | ||||
-rw-r--r-- | secure/libexec/Makefile.inc | 4 | ||||
-rw-r--r-- | secure/libexec/telnetd/Makefile | 4 | ||||
-rw-r--r-- | secure/usr.bin/telnet/Makefile | 3 |
5 files changed, 23 insertions, 8 deletions
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 |