NetBSD/usr.bin/eject/Makefile

30 lines
547 B
Makefile
Raw Normal View History

2009-01-21 16:13:26 +03:00
# $NetBSD: Makefile,v 1.6 2009/01/21 13:13:26 christos Exp $
.include <bsd.own.mk>
2009-01-21 16:13:26 +03:00
AMD_SUPPORT?=no # XXX: Off since we don't have the sync umount patch in yet.
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
.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
.endif
2001-08-20 12:21:09 +04:00
LDADD+= -lutil
DPADD+= ${LIBUTIL}
WARNS= 4
1995-10-22 19:48:52 +03:00
.include <bsd.prog.mk>