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