1993-03-21 12:45:37 +03:00
|
|
|
# @(#)Makefile 5.11 (Berkeley) 2/19/91
|
|
|
|
|
|
|
|
PROG= passwd
|
1993-06-11 04:34:38 +04:00
|
|
|
SRCS= local_passwd.c yp_passwd.c passwd.c pw_copy.c pw_util.c getpwent.c
|
1993-03-21 12:45:37 +03:00
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
|
1993-06-11 04:34:38 +04:00
|
|
|
${.CURDIR}/../rlogin ${.CURDIR}/../../lib/libc/gen
|
|
|
|
CFLAGS+=-I${.CURDIR} -DYP
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
1993-06-11 04:34:38 +04:00
|
|
|
DPADD+= ${LIBRPCSVC}
|
|
|
|
LDADD+= -lrpcsvc
|
1993-04-26 18:42:34 +04:00
|
|
|
.ifndef EXPORTABLE_SYSTEM
|
|
|
|
DPADD+= ${LIBCRYPT}
|
|
|
|
LDADD+= -lcrypt
|
|
|
|
.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
|
|
|
|
${CC} ${CFLAGS} -UYP -c ${.IMPSRC}
|