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

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

1.19    ! provos      1: #      $OpenBSD: Makefile,v 1.18 1998/03/09 09:00:42 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.15      millert    13: .if (${YP} == "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.15      millert    19: .if (${KERBEROS5} == "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.15      millert    24: .elif (${KERBEROS} == "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>