diff options
author | roger <roger@FreeBSD.org> | 1999-10-30 09:19:30 +0000 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 1999-10-30 09:19:30 +0000 |
commit | 12f5be6150cfef25a7e2069898edfd11ceba0bc2 (patch) | |
tree | 3238112a428af58ab3adfcb3d73aedb594ebf98b /usr.bin/passwd/Makefile | |
parent | 9ef42993803ac939b64a1b281b2eaf7940c317a1 (diff) | |
download | FreeBSD-src-12f5be6150cfef25a7e2069898edfd11ceba0bc2.zip FreeBSD-src-12f5be6150cfef25a7e2069898edfd11ceba0bc2.tar.gz |
Update PicoBSD so it does not need to patch the passwd Makefile.
Diffstat (limited to 'usr.bin/passwd/Makefile')
-rw-r--r-- | usr.bin/passwd/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 9b6de34..953e534 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -1,6 +1,29 @@ # From: @(#)Makefile 8.3 (Berkeley) 4/2/94 # $FreeBSD$ +# NOPAM is used by PicoBSD + +.if defined(NOPAM) + +PROG= passwd +SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c + +GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ + yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c +CFLAGS+=-Wall + +DPADD= ${LIBCRYPT} ${LIBUTIL} +LDADD= -lcrypt -lutil +.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ + ${.CURDIR}/../rlogin + +CFLAGS+= -DLOGIN_CAP -DCRYPT -I. -I${.CURDIR} \ + -I${.CURDIR}/../../usr.sbin/vipw \ + -I${.CURDIR}/../../usr.bin/chpass \ + -Dyp_error=warnx -DLOGGING + +.else + PROG= passwd SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \ yp_passwd.c ypxfr_misc.c ${GENSRCS} @@ -21,6 +44,8 @@ CFLAGS+= -DLOGIN_CAP -DCRYPT -DYP -I. -I${.CURDIR} \ -I${.CURDIR}/../../usr.sbin/rpc.yppasswdd \ -Dyp_error=warnx -DLOGGING +.endif + CLEANFILES= ${GENSRCS} RPCGEN= rpcgen -C |