diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-01-23 02:38:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-01-23 02:38:47 +0000 |
commit | a911936af4a9df244d448d45c97891f07298e690 (patch) | |
tree | 3d68fff2847c8fb6d05ec997aa60095cc4766393 | |
parent | 2eb37a155c3c69b572ce48560f4348013822dfba (diff) |
Don't try to build new_pwd.c unless KERBEROS is "yes"
-rw-r--r-- | usr.bin/passwd/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index cd4d904978d..067dd1af10f 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.16 1998/01/20 15:32:19 art Exp $ +# $OpenBSD: Makefile,v 1.17 1998/01/23 02:38:46 millert Exp $ .include <bsd.own.mk> PROG= passwd -SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c new_pwd.c +SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c .PATH: ${.CURDIR}/../../lib/libc/gen DPADD+= ${LIBRPCSVC} ${LIBUTIL} LDADD+= -lrpcsvc -lutil @@ -22,7 +22,7 @@ DPADD+= ${LIBKRB5} ${LIBCRYPTO} LDADD+= -lkrb5 -lcrypto .elif (${KERBEROS} == "yes") .PATH: ${.CURDIR}/../rlogin -SRCS+= krb_passwd.c des_rw.c +SRCS+= new_pwd.c krb_passwd.c des_rw.c CFLAGS+= -DKERBEROS DPADD+= ${LIBKRB} ${LIBDES} LDADD+= -lkadm -lkrb -ldes -lcom_err |