1 1.19 christos # $NetBSD: Makefile,v 1.19 2011/08/16 10:35:03 christos Exp $ 2 1.4 cgd # from: @(#)Makefile 8.1 (Berkeley) 6/4/93 3 1.1 cgd 4 1.14 lukem .include <bsd.own.mk> 5 1.14 lukem 6 1.1 cgd PROG= rshd 7 1.6 cgd MAN= rshd.8 8 1.13 lukem 9 1.13 lukem DPADD+= ${LIBUTIL} 10 1.13 lukem LDADD+= -lutil 11 1.9 mjl 12 1.10 itojun CPPFLAGS+=-DLOGIN_CAP 13 1.11 itojun 14 1.14 lukem .if (${USE_INET6} != "no") 15 1.11 itojun CPPFLAGS+=-DINET6 16 1.14 lukem .endif 17 1.1 cgd 18 1.15 christos .if (${USE_PAM} != "no") 19 1.15 christos CPPFLAGS+=-DUSE_PAM 20 1.16 he DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD} 21 1.16 he LDADD+= -lpam ${PAM_STATIC_LDADD} 22 1.15 christos .endif 23 1.15 christos 24 1.19 christos COPTS.rshd.c = -Wno-format-nonliteral 25 1.19 christos 26 1.1 cgd .include <bsd.prog.mk> 27