c1ceae17f0
awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
34 lines
628 B
Makefile
34 lines
628 B
Makefile
# $NetBSD: Makefile,v 1.9 2009/04/14 22:15:19 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if !defined(SMALLPROG)
|
|
AMD_SUPPORT?=yes
|
|
.endif
|
|
|
|
PROG= eject
|
|
SRCS= eject.c
|
|
|
|
.if ${AMD_SUPPORT:Uno} == "yes"
|
|
IDIST= ${NETBSDSRCDIR}/external/bsd/am-utils/dist
|
|
LIBAMUOBJDIR!= cd ${IDIST}/../lib/libamu && ${PRINTOBJDIR}
|
|
|
|
.PATH: ${IDIST}/libamu
|
|
|
|
SRCS+= am_glue.c
|
|
SRCS+= nfs_prot_xdr.c
|
|
|
|
CPPFLAGS+= -DAMD_SUPPORT
|
|
CPPFLAGS+= -DHAVE_CONFIG_H
|
|
CPPFLAGS+= -I${IDIST}
|
|
CPPFLAGS+= -I${IDIST}/libamu
|
|
CPPFLAGS+= -I${IDIST}/include
|
|
CPPFLAGS+= -I${IDIST}/../include
|
|
CPPFLAGS+= -I${LIBAMUOBJDIR}
|
|
.endif
|
|
|
|
LDADD+= -lutil
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
.include <bsd.prog.mk>
|