1999-07-20 13:35:18 +04:00
|
|
|
# $NetBSD: Makefile,v 1.22 1999/07/20 09:35:21 mrg Exp $
|
1996-12-28 07:30:02 +03:00
|
|
|
# from: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
|
|
|
1999-07-13 02:11:37 +04:00
|
|
|
SRCTOP= ../..
|
|
|
|
.include <bsd.crypto.mk>
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= passwd
|
1996-05-16 01:50:39 +04:00
|
|
|
SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c
|
1997-05-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../../lib/libc/gen
|
1996-05-16 01:50:39 +04:00
|
|
|
DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
LDADD+= -lrpcsvc -lcrypt -lutil
|
1997-10-24 13:00:17 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../lib/libc/include -DYP
|
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
|
1996-12-28 07:30:02 +03:00
|
|
|
.if defined(notyet)
|
|
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-07-13 02:11:37 +04:00
|
|
|
.if defined(CRYPTOPATH)
|
1999-07-20 13:35:18 +04:00
|
|
|
.sinclude "${CRYPTOPATH}/usr.bin/passwd/Makefile.frag"
|
1999-07-13 02:11:37 +04:00
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1993-06-11 04:34:38 +04:00
|
|
|
|
|
|
|
getpwent.o: getpwent.c
|
1995-01-08 02:07:03 +03:00
|
|
|
${COMPILE.c} -UYP ${.IMPSRC}
|