Makefile revision 1.32
11.32Schristos# $NetBSD: Makefile,v 1.32 2003/08/20 14:11:17 christos Exp $ 21.8Stls# from: @(#)Makefile 8.1 (Berkeley) 7/19/93 31.1Scgd 41.19Sthorpej.include <bsd.own.mk> 51.19Sthorpej 61.1ScgdPROG= su 71.11SmycroftDPADD+= ${LIBCRYPT} 81.17SmjlLDADD+= -lcrypt -lutil 91.1ScgdBINOWN= root 101.1ScgdBINMODE=4555 111.17SmjlCPPFLAGS+=-DLOGIN_CAP 121.10Slukem 131.10Slukem# Uncomment the following line to change the group that may su root to "sugroup" 141.10Slukem# 151.32Schristos#CPPFLAGS+=-DSU_GROUP=\"sugroup\" 161.25Ssjg 171.26Ssjg# Uncomment the following line to make su 181.26Ssjg# treat group wheel (SUGROUP) and/or ROOTAUTH as an indirect 191.25Ssjg# list of groups. 201.26Ssjg#CPPFLAGS+=-DSU_INDIRECT_GROUP 211.15Sthorpej 221.29Sitojun.if (${USE_KERBEROS} != "no" || ${USE_KERBEROS4} != "no") 231.18Sthorpej.ifdef AFS 241.18SthorpejDPADD+= ${LIBKAFS} 251.18SthorpejLDADD+= -lkafs 261.15Sthorpej.endif 271.18Sthorpej 281.29Sitojun.if (${USE_KERBEROS} != "no") 291.20SassarCPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5 301.28SitojunDPADD+= ${LIBKRB5} ${LIBASN1} 311.21SmycroftLDADD+= -lkrb5 -lasn1 321.29Sitojun.endif 331.20Sassar 341.29Sitojun.if (${USE_KERBEROS4} != "no") 351.18SthorpejCPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV 361.28SitojunDPADD+= ${LIBKRB} 371.31StronLDADD+= -lkrb 381.29Sitojun.endif 391.20Sassar 401.28SitojunDPADD+= ${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR} 411.23SassarLDADD+= -lcrypto -lroken -lcom_err 421.19Sthorpej.endif 431.7Schristos 441.7Schristos.include <bsd.prog.mk> 451.7Schristos 461.27Sthorpej.if (${USE_SKEY} != "no") 471.11SmycroftCPPFLAGS+=-DSKEY 481.11SmycroftDPADD+= ${LIBSKEY} 491.11SmycroftLDADD+= -lskey 501.14Skim.endif 511.14Skim 521.32Schristos.ifdef SU_ROOTAUTH 531.32SchristosCPPFLAGS+=-DSU_ROOTAUTH=\"${SU_ROOTAUTH}\" 541.7Schristos.endif 55