diff options
Diffstat (limited to 'usr.bin/passwd/Makefile')
-rw-r--r-- | usr.bin/passwd/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 25f20f2c3f4a2..85a23ca64b596 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -1,19 +1,27 @@ # @(#)Makefile 5.11 (Berkeley) 2/19/91 PROG= passwd -SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c yp_passwd.c getpwent.c +SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c yp_passwd.c getpwent.c \ + krb_passwd.c pw_fastmkdb.c CFLAGS+=-I${.CURDIR} -DYP .PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ ${.CURDIR}/../rlogin ${.CURDIR}/../../lib/libc/gen -DPADD+= ${LIBRPCSVC} #${LIBKRB} -LDADD+= -lrpcsvc #-lkrb +DPADD+= ${LIBRPCSVC} +LDADD+= -lrpcsvc -.if exists(/usr/lib/libcrypt.a) -#CFLAGS+=-DKERBEROS +.if exists(${DESTDIR}/usr/lib/libcrypt.a) DPADD+= ${LIBCRYPT} LDADD+= -lcrypt .endif +.if exists(${DESTDIR}/usr/lib/libkrb.a) +CFLAGS+= -DKERBEROS +DPADD+= ${LIBKRB} +LDADD+= -lkrb -ldes +.endif +.if defined (PW_COMPACT) +CFLAGS+=-DPW_COMPACT +.endif getpwent.o: getpwent.c ${CC} ${CFLAGS} -UYP -c ${.IMPSRC} |