freebsd-skq/usr.bin/passwd/Makefile

36 lines
1.2 KiB
Makefile
Raw Normal View History

# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $Id: Makefile,v 1.10 1995/02/11 18:20:06 ache Exp $
1994-05-27 12:33:43 +00:00
PROG= passwd
SRCS= local_passwd.c yp_passwd.c yppasswd_xdr.c passwd.c pw_copy.c pw_util.c
1994-08-20 21:19:46 +00:00
LDADD= -lcrypt
1994-05-27 12:33:43 +00:00
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../rlogin ${.CURDIR}/../../gnu/usr.sbin/yppasswdd
CFLAGS+=-DCRYPT -DYP -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \
-I${.CURDIR}/../../usr.bin/chpass \
-I${.CURDIR}/../../gnu/usr.sbin/yppasswdd
1994-05-27 12:33:43 +00:00
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
MAN1=passwd.1 yppasswd.1
MLINKS=yppasswd.1 ypchsh.1 yppasswd.1 ypchpass.1 yppasswd.1 ypchfn.1
LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd ${BINDIR}/passwd ${BINDIR}/ypchsh \
${BINDIR}/passwd ${BINDIR}/ypchfn ${BINDIR}/passwd ${BINDIR}/ypchpass
LN_FLAGS= -s
1994-05-27 12:33:43 +00:00
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
SRCS+= kpasswd.c
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../../usr.bin/rlogin ${.CURDIR}/../../usr.bin/passwd \
${.CURDIR}/../../eBones/passwd
CFLAGS+= -DKERBEROS \
-I${.CURDIR}/../../eBones/include \
-I${.CURDIR}/../../eBones/libkadm
LDADD= -lkadm -lkrb -ldes -lcrypt -lcom_err
.endif
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>