NetBSD/usr.bin/eject/Makefile

34 lines
628 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2009/04/14 22:15:19 lukem Exp $
.include <bsd.own.mk>
.if !defined(SMALLPROG)
AMD_SUPPORT?=yes
.endif
1995-10-22 19:48:52 +03:00
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
2001-08-20 12:21:09 +04:00
LDADD+= -lutil
DPADD+= ${LIBUTIL}
1995-10-22 19:48:52 +03:00
.include <bsd.prog.mk>