No empty .Rs/.Re
[netbsd-mini2440.git] / usr.bin / eject / Makefile
blobf62a6244790977c260f0454f5f0b0ed16234401d
1 # $NetBSD: Makefile,v 1.8 2009/03/28 12:19:51 he Exp $
3 .include <bsd.own.mk>
5 .if !defined(SMALLPROG)
6 AMD_SUPPORT?=yes
7 .endif
9 PROG= eject
10 SRCS= eject.c
12 .if ${AMD_SUPPORT:Uno} == "yes"
13 IDIST= ${NETBSDSRCDIR}/external/bsd/am-utils/dist
14 LIBAMUOBJDIR!= cd ${IDIST}/../lib/libamu && ${PRINTOBJDIR}
16 .PATH: ${IDIST}/libamu
18 SRCS+= am_glue.c
19 SRCS+= nfs_prot_xdr.c
21 CPPFLAGS+= -DAMD_SUPPORT
22 CPPFLAGS+= -DHAVE_CONFIG_H
23 CPPFLAGS+= -I${IDIST}
24 CPPFLAGS+= -I${IDIST}/libamu
25 CPPFLAGS+= -I${IDIST}/include
26 CPPFLAGS+= -I${IDIST}/../include
27 CPPFLAGS+= -I${LIBAMUOBJDIR}
28 .endif
30 LDADD+= -lutil
31 DPADD+= ${LIBUTIL}
33 .include <bsd.prog.mk>