Annotation of src/usr.bin/passwd/Makefile, Revision 1.28
1.28 ! deraadt 1: # $OpenBSD: Makefile,v 1.27 2003/05/14 07:22:47 mho 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.22 hin 19: .if (${KERBEROS5:L} == "yes")
1.27 mho 20: .PATH: ${.CURDIR}/../rsh
21: SRCS+= krb_passwd.c des_rw.c
1.22 hin 22: SRCS+= krb5_passwd.c
23: CFLAGS+= -DKRB5
1.28 ! deraadt 24: DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBDES} ${LIBCRYPTO}
! 25: LDADD+= -lkrb5 -lasn1 -ldes -lcrypto
1.1 deraadt 26: .endif
27:
28: BINMODE=4555
1.16 art 29: BINOWN=root
1.1 deraadt 30:
1.18 deraadt 31: getpwent.o: getpwent.c
1.24 espie 32: ${COMPILE.c} -UYP ${.CURDIR}/../../lib/libc/gen/getpwent.c
1.18 deraadt 33:
1.1 deraadt 34: .include <bsd.prog.mk>