Module Name:    src
Committed By:   christos
Date:           Mon Mar 23 04:00:45 UTC 2009

Modified Files:
        src/usr.bin/eject: Makefile

Log Message:
turn on amd support for eject now that we have it. From Anon Ymous


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/eject/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/eject/Makefile
diff -u src/usr.bin/eject/Makefile:1.6 src/usr.bin/eject/Makefile:1.7
--- src/usr.bin/eject/Makefile:1.6	Wed Jan 21 08:13:26 2009
+++ src/usr.bin/eject/Makefile	Mon Mar 23 00:00:44 2009
@@ -1,14 +1,16 @@
-#	$NetBSD: Makefile,v 1.6 2009/01/21 13:13:26 christos Exp $
+#	$NetBSD: Makefile,v 1.7 2009/03/23 04:00:44 christos Exp $
 
 .include <bsd.own.mk>
 
-AMD_SUPPORT?=no	# XXX: Off since we don't have the sync umount patch in yet.
+AMD_SUPPORT?=yes
 
 PROG=	eject
 SRCS=	eject.c
 
 .if ${AMD_SUPPORT:Uno} == "yes"
-IDIST=	${NETBSDSRCDIR}/external/bsd/am-utils/dist
+IDIST=		${NETBSDSRCDIR}/external/bsd/am-utils/dist
+LIBAMUOBJDIR!=	cd ${IDIST}/../lib/libamu && ${PRINTOBJDIR}
+
 .PATH:	${IDIST}/libamu
 
 SRCS+=		am_glue.c
@@ -19,6 +21,8 @@
 CPPFLAGS+=	-I${IDIST}
 CPPFLAGS+=	-I${IDIST}/libamu
 CPPFLAGS+=	-I${IDIST}/include
+CPPFLAGS+=	-I${IDIST}/../include
+CPPFLAGS+=	-I${LIBAMUOBJDIR}
 .endif
 
 LDADD+=	-lutil

Reply via email to