Home | History | Annotate | Line # | Download | only in eject
      1  1.9     lukem #	$NetBSD: Makefile,v 1.9 2009/04/14 22:15:19 lukem Exp $
      2  1.5  christos 
      3  1.5  christos .include <bsd.own.mk>
      4  1.5  christos 
      5  1.8        he .if !defined(SMALLPROG)
      6  1.7  christos AMD_SUPPORT?=yes
      7  1.8        he .endif
      8  1.2        pk 
      9  1.2        pk PROG=	eject
     10  1.2        pk SRCS=	eject.c
     11  1.3        ad 
     12  1.5  christos .if ${AMD_SUPPORT:Uno} == "yes"
     13  1.7  christos IDIST=		${NETBSDSRCDIR}/external/bsd/am-utils/dist
     14  1.7  christos LIBAMUOBJDIR!=	cd ${IDIST}/../lib/libamu && ${PRINTOBJDIR}
     15  1.7  christos 
     16  1.5  christos .PATH:	${IDIST}/libamu
     17  1.5  christos 
     18  1.5  christos SRCS+=		am_glue.c
     19  1.5  christos SRCS+=		nfs_prot_xdr.c
     20  1.5  christos 
     21  1.5  christos CPPFLAGS+=	-DAMD_SUPPORT
     22  1.5  christos CPPFLAGS+=	-DHAVE_CONFIG_H
     23  1.5  christos CPPFLAGS+=	-I${IDIST}
     24  1.5  christos CPPFLAGS+=	-I${IDIST}/libamu
     25  1.5  christos CPPFLAGS+=	-I${IDIST}/include
     26  1.7  christos CPPFLAGS+=	-I${IDIST}/../include
     27  1.7  christos CPPFLAGS+=	-I${LIBAMUOBJDIR}
     28  1.5  christos .endif
     29  1.5  christos 
     30  1.3        ad LDADD+=	-lutil
     31  1.3        ad DPADD+=	${LIBUTIL}
     32  1.2        pk 
     33  1.2        pk .include <bsd.prog.mk>
     34