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

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

1.24    ! espie       1: #      $OpenBSD: Makefile,v 1.23 2001/07/19 18:21:50 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
                     22: DPADD+=        ${LIBKRB5} ${LIBCRYPTO}
                     23: LDADD+=        -lkrb5 -lcrypto -lasn1
                     24: .endif
1.21      hin        25:
                     26: .if (${KERBEROS:L} == "yes")
1.7       deraadt    27: .PATH:  ${.CURDIR}/../rlogin
1.17      millert    28: SRCS+= new_pwd.c krb_passwd.c des_rw.c
1.2       tholo      29: CFLAGS+= -DKERBEROS
1.1       deraadt    30: DPADD+=        ${LIBKRB} ${LIBDES}
1.23      deraadt    31: LDADD+=        -lkadm -lkrb -ldes -lcom_err -lkafs
1.1       deraadt    32: .endif
                     33:
                     34: BINMODE=4555
1.16      art        35: BINOWN=root
1.1       deraadt    36:
1.18      deraadt    37: getpwent.o: getpwent.c
1.24    ! espie      38:        ${COMPILE.c} -UYP ${.CURDIR}/../../lib/libc/gen/getpwent.c
1.18      deraadt    39:
1.1       deraadt    40: .include <bsd.prog.mk>