NetBSD/usr.bin/passwd/Makefile

32 lines
701 B
Makefile
Raw Normal View History

1997-07-23 07:10:54 +04:00
# $NetBSD: Makefile,v 1.18 1997/07/23 03:10:54 mrg Exp $
1996-12-28 07:30:02 +03:00
# from: @(#)Makefile 8.3 (Berkeley) 4/2/94
1993-03-21 12:45:37 +03:00
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
1997-07-23 07:10:54 +04:00
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../lib/libc/include -DYP
.if defined(KERBEROS5)
SRCS+= krb5_passwd.c
CFLAGS+= -DKERBEROS5
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
LDADD+= -lkrb5 -lcrypto
.endif
LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS= passwd.1 yppasswd.1
1993-03-21 12:45:37 +03:00
BINOWN= root
BINMODE=4555
1996-12-28 07:30:02 +03:00
.if defined(notyet)
INSTALLFLAGS=-fschg
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
1993-06-11 04:34:38 +04:00
getpwent.o: getpwent.c
${COMPILE.c} -UYP ${.IMPSRC}