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

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

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