2009-01-21 16:13:26 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2009/01/21 13:13:26 christos Exp $
|
2009-01-16 20:31:22 +03:00
|
|
|
|
|
|
|
.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
|
|
|
|
|
2009-01-16 20:31:22 +03:00
|
|
|
.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}
|
|
|
|
|
2009-01-14 18:47:23 +03:00
|
|
|
WARNS= 4
|
|
|
|
|
1995-10-22 19:48:52 +03:00
|
|
|
.include <bsd.prog.mk>
|