1994-09-29 13:06:54 +00:00
|
|
|
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
|
|
# $Id$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= passwd
|
1994-08-05 20:39:34 +00:00
|
|
|
SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c
|
1994-08-20 21:19:46 +00:00
|
|
|
LDADD= -lcrypt
|
1994-05-27 12:33:43 +00:00
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
|
|
|
|
${.CURDIR}/../rlogin
|
1994-08-05 20:39:34 +00:00
|
|
|
CFLAGS+=-DCRYPT -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \
|
1994-05-27 12:33:43 +00:00
|
|
|
-I${.CURDIR}/../../usr.bin/chpass
|
1994-09-29 13:06:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
|
|
|
|| defined(MAKE_EBONES))
|
|
|
|
SRCS+= krb_passwd.c
|
|
|
|
CFLAGS+=-DKERBEROS
|
|
|
|
LDADD+=-lkrb -ldes
|
|
|
|
DPADD= ${LIBKRB} ${LIBDES}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|