Makefile revision 1.27
11.27Sthorpej# $NetBSD: Makefile,v 1.27 2002/03/22 18:10:24 thorpej 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.11Smycroft#CPPFLAGS+=-DSUGROUP=\"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.27Sthorpej.if (${USE_KERBEROS} != "no") 231.18Sthorpej.ifdef AFS 241.18SthorpejDPADD+= ${LIBKAFS} 251.18SthorpejLDADD+= -lkafs 261.15Sthorpej.endif 271.18Sthorpej 281.20SassarCPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5 291.21SmycroftLDADD+= -lkrb5 -lasn1 301.20Sassar 311.18SthorpejCPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV 321.20SassarLDADD+= -lkrb 331.20Sassar 341.23SassarLDADD+= -lcrypto -lroken -lcom_err 351.19Sthorpej.endif 361.7Schristos 371.7Schristos.include <bsd.prog.mk> 381.7Schristos 391.27Sthorpej.if (${USE_SKEY} != "no") 401.11SmycroftCPPFLAGS+=-DSKEY 411.11SmycroftDPADD+= ${LIBSKEY} 421.11SmycroftLDADD+= -lskey 431.14Skim.endif 441.14Skim 451.14Skim.ifdef SUROOTAUTH 461.14SkimCPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\" 471.7Schristos.endif 48