Makefile revision 6384
13197Scsgr# From: @(#)Makefile 8.3 (Berkeley) 4/2/94 26384Srgrimes# $Id: Makefile,v 1.11 1995/02/14 15:38:13 wpaul Exp $ 31590Srgrimes 41590SrgrimesPROG= passwd 56067SwpaulSRCS= local_passwd.c yp_passwd.c yppasswd_xdr.c passwd.c pw_copy.c pw_util.c 62158ScsgrLDADD= -lcrypt 71590Srgrimes.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 86067Swpaul ${.CURDIR}/../rlogin ${.CURDIR}/../../gnu/usr.sbin/yppasswdd 93197Scsgr 106067SwpaulCFLAGS+=-DCRYPT -DYP -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \ 116067Swpaul -I${.CURDIR}/../../usr.bin/chpass \ 126067Swpaul -I${.CURDIR}/../../gnu/usr.sbin/yppasswdd 136067Swpaul 141590SrgrimesBINOWN= root 151590SrgrimesBINMODE=4555 161590SrgrimesINSTALLFLAGS=-fschg 176109SwpaulMAN1=passwd.1 yppasswd.1 186109SwpaulMLINKS=yppasswd.1 ypchsh.1 yppasswd.1 ypchpass.1 yppasswd.1 ypchfn.1 191590Srgrimes 206314Sache.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES)) 216314SacheSRCS+= kpasswd.c 226314Sache.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ 236314Sache ${.CURDIR}/../../usr.bin/rlogin ${.CURDIR}/../../usr.bin/passwd \ 246314Sache ${.CURDIR}/../../eBones/passwd 256314Sache 266314SacheCFLAGS+= -DKERBEROS \ 276314Sache -I${.CURDIR}/../../eBones/include \ 286314Sache -I${.CURDIR}/../../eBones/libkadm 296314SacheLDADD= -lkadm -lkrb -ldes -lcrypt -lcom_err 306314Sache.endif 316314Sache 326384Srgrimesafterinstall: 336384Srgrimes ln -sf passwd ${DESTDIR}${BINDIR}/yppasswd 346384Srgrimes ln -sf passwd ${DESTDIR}${BINDIR}/ypchsh 356384Srgrimes ln -sf passwd ${DESTDIR}${BINDIR}/ypchfn 366384Srgrimes ln -sf passwd ${DESTDIR}${BINDIR}/ypchpass 376384Srgrimes 381590Srgrimes.include <bsd.prog.mk> 39