diff options
| author | Roger Hardiman <roger@FreeBSD.org> | 1999-10-30 09:19:30 +0000 |
|---|---|---|
| committer | Roger Hardiman <roger@FreeBSD.org> | 1999-10-30 09:19:30 +0000 |
| commit | f5d015398118abfe3a5f27fcc3b6c6700ae53c15 (patch) | |
| tree | 3238112a428af58ab3adfcb3d73aedb594ebf98b /usr.bin | |
| parent | 12a69a6af452929e81468b2d57fb156c20c92642 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -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 9b6de34cce73..953e5347e086 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 |
