Home | History | Annotate | Line # | Download | only in eject
Makefile revision 1.5
      1  1.5  christos #	$NetBSD: Makefile,v 1.5 2009/01/16 17:31:22 christos Exp $
      2  1.5  christos 
      3  1.5  christos .include <bsd.own.mk>
      4  1.5  christos 
      5  1.5  christos AMD_SUPPORT=no	# XXX: Off since we don't have the sync umount patch in yet.
      6  1.2        pk 
      7  1.2        pk PROG=	eject
      8  1.2        pk SRCS=	eject.c
      9  1.3        ad 
     10  1.5  christos .if ${AMD_SUPPORT:Uno} == "yes"
     11  1.5  christos IDIST=	${NETBSDSRCDIR}/external/bsd/am-utils/dist
     12  1.5  christos .PATH:	${IDIST}/libamu
     13  1.5  christos 
     14  1.5  christos SRCS+=		am_glue.c
     15  1.5  christos SRCS+=		nfs_prot_xdr.c
     16  1.5  christos 
     17  1.5  christos CPPFLAGS+=	-DAMD_SUPPORT
     18  1.5  christos CPPFLAGS+=	-DHAVE_CONFIG_H
     19  1.5  christos CPPFLAGS+=	-I${IDIST}
     20  1.5  christos CPPFLAGS+=	-I${IDIST}/libamu
     21  1.5  christos CPPFLAGS+=	-I${IDIST}/include
     22  1.5  christos .endif
     23  1.5  christos 
     24  1.3        ad LDADD+=	-lutil
     25  1.3        ad DPADD+=	${LIBUTIL}
     26  1.2        pk 
     27  1.4  christos WARNS=	4
     28  1.4  christos 
     29  1.2        pk .include <bsd.prog.mk>
     30