2000-10-18 04:24:18 +04:00
|
|
|
# $NetBSD: Makefile,v 1.30 2000/10/18 00:24:19 simonb Exp $
|
1996-12-28 07:30:02 +03:00
|
|
|
# from: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
|
|
|
2000-06-24 10:52:10 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= passwd
|
2000-07-06 15:16:50 +04:00
|
|
|
SRCS= local_passwd.c passwd.c pwd_gensalt.c yp_passwd.c
|
1996-05-16 01:50:39 +04:00
|
|
|
DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
LDADD+= -lrpcsvc -lcrypt -lutil
|
2000-01-12 08:13:32 +03:00
|
|
|
CPPFLAGS+=-I${.CURDIR} -DYP -DLOGIN_CAP
|
1994-07-27 07:28:11 +04:00
|
|
|
|
1995-02-12 20:45:54 +03:00
|
|
|
LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
|
|
MLINKS= passwd.1 yppasswd.1
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
|
2000-06-24 10:52:10 +04:00
|
|
|
.if (${MKKERBEROS} != "no")
|
2000-06-20 10:00:24 +04:00
|
|
|
CPPFLAGS+= -DKERBEROS5 -I${DESTDIR}/usr/include/krb5
|
|
|
|
SRCS+= krb5_passwd.c
|
2000-08-04 02:56:29 +04:00
|
|
|
|
|
|
|
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lcrypt
|
2000-06-24 10:52:10 +04:00
|
|
|
.endif
|
1999-07-13 02:11:37 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1993-06-11 04:34:38 +04:00
|
|
|
|
1999-12-23 04:02:52 +03:00
|
|
|
# getpwent.o: getpwent.c
|
|
|
|
# ${COMPILE.c} -UYP ${.IMPSRC}
|