[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / passwd

Annotation of src/usr.bin/passwd/Makefile, Revision 1.29

1.29    ! hin         1: #      $OpenBSD: Makefile,v 1.28 2003/07/15 19:02:19 deraadt 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")
                     20: SRCS+= krb5_passwd.c
                     21: CFLAGS+= -DKRB5
1.28      deraadt    22: DPADD+=        ${LIBKRB5} ${LIBASN1} ${LIBDES} ${LIBCRYPTO}
                     23: LDADD+=        -lkrb5 -lasn1 -ldes -lcrypto
1.1       deraadt    24: .endif
                     25:
                     26: BINMODE=4555
1.16      art        27: BINOWN=root
1.1       deraadt    28:
1.18      deraadt    29: getpwent.o: getpwent.c
1.24      espie      30:        ${COMPILE.c} -UYP ${.CURDIR}/../../lib/libc/gen/getpwent.c
1.18      deraadt    31:
1.1       deraadt    32: .include <bsd.prog.mk>