Return to Makefile CVS log | Up to [local] / src / usr.bin / passwd |
File: [local] / src / usr.bin / passwd / Makefile (download)
Revision 1.10, Mon Dec 23 19:21:07 1996 UTC (27 years, 5 months ago) by deraadt
warn whoever wants krb5 that they have a /tmp race to fix first |
# $OpenBSD: Makefile,v 1.10 1996/12/23 19:21:07 deraadt Exp $ .include <bsd.own.mk> PROG= passwd SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c .PATH: ${.CURDIR}/../../lib/libc/gen DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL} LDADD+= -lrpcsvc -lcrypt -lutil CFLAGS+=-I${.CURDIR} .if defined(YP) CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp .endif .include <bsd.own.mk> # For Kerberos .if defined(KERBEROS5) #SRCS+= krb5_passwd.c XXX fix the /tmp/tkt_cpw_%d race first CFLAGS+= -DKERBEROS5 DPADD+= ${LIBKRB5} ${LIBCRYPTO} LDADD+= -lkrb5 -lcrypto .elif defined(KERBEROS) .PATH: ${.CURDIR}/../rlogin SRCS+= krb_passwd.c des_rw.c CFLAGS+= -DKERBEROS DPADD+= ${LIBKRB} ${LIBDES} LDADD+= -lkrb -ldes .endif BINMODE=4555 BINOWN= root .include <bsd.prog.mk> getpwent.o: getpwent.c ${COMPILE.c} -UYP ${.IMPSRC}