32 lines
667 B
Makefile
32 lines
667 B
Makefile
# $NetBSD: Makefile,v 1.16 1997/05/06 20:45:38 gwr Exp $
|
|
# from: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
|
|
|
|
PROG= passwd
|
|
SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c
|
|
.PATH.c: ${.CURDIR}/../../lib/libc/gen
|
|
DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
|
|
LDADD+= -lrpcsvc -lcrypt -lutil
|
|
CFLAGS+=-I${.CURDIR} -DYP
|
|
|
|
.if defined(KERBEROS5)
|
|
SRCS+= krb5_passwd.c
|
|
CFLAGS+= -DKERBEROS5
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
|
|
LDADD+= -lkrb5 -lcrypto
|
|
.endif
|
|
|
|
LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
MLINKS= passwd.1 yppasswd.1
|
|
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
.if defined(notyet)
|
|
INSTALLFLAGS=-fschg
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
getpwent.o: getpwent.c
|
|
${COMPILE.c} -UYP ${.IMPSRC}
|