Annotation of src/usr.bin/passwd/Makefile, Revision 1.17
1.17 ! millert 1: # $OpenBSD: Makefile,v 1.16 1998/01/20 15:32:19 art Exp $
1.8 deraadt 2:
3: .include <bsd.own.mk>
1.1 deraadt 4:
5: PROG= passwd
1.17 ! millert 6: SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c
1.7 deraadt 7: .PATH: ${.CURDIR}/../../lib/libc/gen
1.13 deraadt 8: DPADD+= ${LIBRPCSVC} ${LIBUTIL}
1.11 etheisen 9: LDADD+= -lrpcsvc -lutil
1.12 provos 10: CFLAGS+= -I${.CURDIR}
1.8 deraadt 11:
1.15 millert 12: .if (${YP} == "yes")
1.9 tholo 13: CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
1.8 deraadt 14: .endif
1.6 tholo 15:
16: .include <bsd.own.mk> # For Kerberos
1.1 deraadt 17:
1.15 millert 18: .if (${KERBEROS5} == "yes")
1.14 weingart 19: #SRCS+= krb5_passwd.c XXX fix the /tmp/tkt_cpw_%d race first + others
1.1 deraadt 20: CFLAGS+= -DKERBEROS5
21: DPADD+= ${LIBKRB5} ${LIBCRYPTO}
22: LDADD+= -lkrb5 -lcrypto
1.15 millert 23: .elif (${KERBEROS} == "yes")
1.7 deraadt 24: .PATH: ${.CURDIR}/../rlogin
1.17 ! millert 25: SRCS+= new_pwd.c krb_passwd.c des_rw.c
1.2 tholo 26: CFLAGS+= -DKERBEROS
1.1 deraadt 27: DPADD+= ${LIBKRB} ${LIBDES}
1.16 art 28: LDADD+= -lkadm -lkrb -ldes -lcom_err
1.1 deraadt 29: .endif
30:
31: BINMODE=4555
1.16 art 32: BINOWN=root
1.1 deraadt 33:
34: .include <bsd.prog.mk>
35: