-# $OpenBSD: Makefile,v 1.4 1996/06/23 14:19:57 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1997/03/26 00:33:39 deraadt Exp $
# $NetBSD: Makefile,v 1.24 1995/03/21 09:04:30 cgd Exp $
PROG= ed
CFLAGS+=-DBACKWARDS -DDES
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
-
#LINKS= ${BINDIR}/ed ${BINDIR}/red
#MLINKS= ed.1 red.1
-# $OpenBSD: Makefile,v 1.8 1997/02/06 23:49:10 rahnds Exp $
+# $OpenBSD: Makefile,v 1.9 1997/03/26 00:34:34 deraadt Exp $
# $NetBSD: Makefile,v 1.13 1996/02/16 02:07:41 cgd Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
CLEANFILES+=ftpcmd.c y.tab.h
.PATH: ${.CURDIR}/../../usr.bin/ftp
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
-
.include <bsd.own.mk>
.if defined(SKEY)
# from: @(#)Makefile 5.3 (Berkeley) 5/11/90
-# $Id: Makefile,v 1.2 1996/02/15 03:50:46 etheisen Exp $
+# $Id: Makefile,v 1.3 1997/03/26 00:34:36 deraadt Exp $
PROG= rexecd
MAN= rexecd.8
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.2 1996/03/28 23:21:53 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 1997/03/26 00:34:38 deraadt Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $
CFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR}
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
-DPADD= ${LIBUTIL} ${LIBTERM}
+DPADD= ${LIBUTIL} ${LIBTERM} ${LIBTELNET}
LDADD+= -lutil -ltermcap -ltelnet
MAN= telnetd.8
# from: @(#)Makefile 5.3 (Berkeley) 6/25/90
-# $Id: Makefile,v 1.2 1996/02/15 03:50:49 etheisen Exp $
+# $Id: Makefile,v 1.3 1997/03/26 00:34:39 deraadt Exp $
CFLAGS+= -DBSDINETD
PROG= uucpd
NOMAN= noman
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.3 1996/07/27 10:28:40 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1997/03/26 00:34:44 deraadt Exp $
# $NetBSD: Makefile,v 1.1.1.1.6.1 1996/06/28 17:42:49 jtc Exp $
# edlabel (Edit Disk LABEL)
PROG= edlabel
NOMAN=
-CFLAGS += -Wall
-LDADD += -lutil
+CFLAGS+= -Wall
+LDADD+= -lutil
+DPADD+= ${LIBUTIL}
all: ${PROG}
-# $OpenBSD: bsd.prog.mk,v 1.11 1997/02/26 03:55:16 downsj Exp $
+# $OpenBSD: bsd.prog.mk,v 1.12 1997/03/26 00:34:54 deraadt Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
LIBRESOLV?= ${DESTDIR}/usr/lib/libresolv.a
LIBRPCSVC?= ${DESTDIR}/usr/lib/librpcsvc.a
LIBSKEY?= ${DESTDIR}/usr/lib/libskey.a
+LIBTELNET?= ${DESTDIR}/usr/lib/libtelnet.a
LIBTERMCAP?= ${DESTDIR}/usr/lib/libtermcap.a
LIBTERMLIB?= ${DESTDIR}/usr/lib/libtermlib.a
LIBUTIL?= ${DESTDIR}/usr/lib/libutil.a
-# $OpenBSD: Makefile,v 1.7 1997/03/21 20:59:26 millert Exp $
+# $OpenBSD: Makefile,v 1.8 1997/03/26 00:35:23 deraadt Exp $
# $NetBSD: Makefile,v 1.10 1997/03/14 01:39:31 christos Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
stringlist.c util.c
LDADD+= -ledit -ltermcap
+DPADD+= ${LIBEDIT} ${LIBTERMCAP}
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.4 1996/06/26 05:35:55 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1997/03/26 00:35:27 deraadt Exp $
PROG= lock
BINOWN= root
BINMODE=4555
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
.include <bsd.own.mk>
-# $OpenBSD: Makefile,v 1.7 1996/11/09 20:17:14 millert Exp $
+# $OpenBSD: Makefile,v 1.8 1997/03/26 00:35:29 deraadt Exp $
# $NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $
PROG= login
SRCS= login.c failedlogin.c
-#LDADD= -lutil -lcrypt
LDADD= -lutil
-#DPADD= ${LIBUTIL} ${LIBCRYPT}
DPADD= ${LIBUTIL}
.include <bsd.own.mk> # For SKEY, KERBEROS and KERBEROS5
-# $OpenBSD: Makefile,v 1.12 1997/02/14 23:27:25 provos Exp $
+# $OpenBSD: Makefile,v 1.13 1997/03/26 00:35:32 deraadt Exp $
.include <bsd.own.mk>
PROG= passwd
SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c pwd_gensalt.c
.PATH: ${.CURDIR}/../../lib/libc/gen
-DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
+DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
CFLAGS+= -I${.CURDIR}
-# $OpenBSD: Makefile,v 1.4 1996/09/27 15:49:03 millert Exp $
+# $OpenBSD: Makefile,v 1.5 1997/03/26 00:35:35 deraadt Exp $
PROG= skeyinit
BINOWN=root
BINMODE=4555
-#DPADD= ${LIBCRYPT} ${LIBSKEY}
DPADD= ${LIBSKEY}
-#LDADD= -lcrypt -lskey
LDADD= -lskey
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.4 1996/06/26 05:39:33 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1997/03/26 00:35:37 deraadt Exp $
PROG= su
BINOWN= root
BINMODE=4555
-#LDADD+= -lcrypt
-#DPADD+= ${LIBCRYPT}
.include <bsd.own.mk>
-# $OpenBSD: Makefile,v 1.6 1996/07/29 04:56:25 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 1997/03/26 00:35:38 deraadt Exp $
PROG= supfilesrv
MAN= supservers.8
SRCS= supfilesrv.c scan.c scm.c scmio.c stree.c log.c supmsg.c \
atoo.c errmsg.c expand.c ffilecopy.c filecopy.c nxtarg.c \
path.c quit.c run.c salloc.c skipto.c vprintf.c netcryptvoid.c
-#LDADD+= -lutil -lcrypt
LDADD+= -lutil
-#DPADD+= ${LIBUTIL} ${LIBCRYPT}
DPADD+= ${LIBUTIL}
BINOWN= root
BINGRP= daemon
-# $OpenBSD: Makefile,v 1.3 1996/09/05 09:10:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1997/03/26 00:35:39 deraadt Exp $
# $NetBSD: Makefile,v 1.6 1996/02/28 21:03:49 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
CFLAGS+=-DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
LDADD+= -ltermcap -ltelnet
-DPADD= ${LIBTERMCAP}
+DPADD= ${LIBTERMCAP} ${LIBTELNET}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
-# $OpenBSD: Makefile,v 1.7 1996/06/26 05:41:33 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 1997/03/26 00:35:41 deraadt Exp $
.include "../../Makefile.inc"
CFLAGS += -I${.CURDIR} -I.
-#LDADD += -locurses -ltermcap -ltelnet -lcrypt
LDADD += -locurses -ltermcap -ltelnet
-#DPADD += ${LIBOLDCURSES} ${LIBTERMCAP} /usr/lib/libtelnet.a ${LIBCRYPT}
-DPADD += ${LIBOLDCURSES} ${LIBTERMCAP} /usr/lib/libtelnet.a
+DPADD += ${LIBOLDCURSES} ${LIBTERMCAP} ${LIBTELNET}
SRCS += apilib.c api_bsd.c api_exch.c asc_ebc.c astosc.c dctype.c
SRCS += disp_asc.c ebc_disp.c
-# $Id: Makefile,v 1.2 1996/11/14 15:04:51 mickey Exp $
+# $Id: Makefile,v 1.3 1997/03/26 00:35:49 deraadt Exp $
SRCS= apm.c apmsubr.c
-#LDADD+= -lutil
.PATH: ${.CURDIR}/../apmd
-# $Id: Makefile,v 1.1 1996/04/29 13:08:42 hvozda Exp $
+# $Id: Makefile,v 1.2 1997/03/26 00:35:50 deraadt Exp $
SRCS= apmd.c apmsubr.c
-#LDADD+= -lutil
CFLAGS+= -g -O2 -Wmissing-prototypes -Wall
PROG= apmd
MAN= apmd.8
.include <bsd.prog.mk>
-# DO NOT DELETE THIS LINE -- make depend depends on it.
-# $OpenBSD: Makefile,v 1.8 1996/12/23 13:22:36 mickey Exp $
+# $OpenBSD: Makefile,v 1.9 1997/03/26 00:35:57 deraadt Exp $
# $NetBSD: Makefile,v 1.12 1996/03/19 03:03:04 jtc Exp $
PROG= pppd
BINMODE=4555
BINOWN= root
-#LDADD= -lcrypt -lutil
LDADD= -lutil
-#DPADD= ${LIBCRYPT} ${LIBUTIL}
DPADD= ${LIBUTIL}
CFLAGS+= -I. -I${.CURDIR} -DHAVE_PATHS_H -DIPX_CHANGE
CLEANFILES=y.tab.h grammar.c scanner.c
SRCS= pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
pcnfsd_cache.c pcnfsd_print.c pcnfsd_svc.c pcnfsd_xdr.c
-#DPADD= ${LIBRPCSVC} ${LIBCRYPT}
DPADD= ${LIBRPCSVC}
-#LDADD= -lrpcsvc -lcrypt
LDADD= -lrpcsvc
pcnfsd_svc.c: pcnfsd.x