NetBSD/usr.bin/passwd/Makefile

37 lines
733 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2002/03/22 18:10:23 thorpej Exp $
1996-12-28 07:30:02 +03:00
# from: @(#)Makefile 8.3 (Berkeley) 4/2/94
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
PROG= passwd
SRCS= local_passwd.c passwd.c pwd_gensalt.c
CPPFLAGS+=-I${.CURDIR} -DLOGIN_CAP
.if (${USE_YP} != "no")
SRCS+= yp_passwd.c
CPPFLAGS+=-DYP
DPADD+= ${LIBRPCSVC}
LDADD+= -lrpcsvc
LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS= passwd.1 yppasswd.1
.endif
DPADD+= ${LIBCRYPT} ${LIBUTIL}
LDADD+= -lcrypt -lutil
1993-03-21 12:45:37 +03:00
BINOWN= root
BINMODE=4555
.if (${USE_KERBEROS} != "no")
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
.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
# getpwent.o: getpwent.c
# ${COMPILE.c} -UYP ${.IMPSRC}