Mon Jan 12 07:25:39 2009 UTC ()
- add some make variables to suppress errors on build without DESTDIR
- make sure machine and ${MACHINE_ARCH} symlinks are always created


(tsutsui)
diff -r1.6 -r1.7 src/sys/arch/mvmeppc/stand/Makefile.booters

cvs diff -r1.6 -r1.7 src/sys/arch/mvmeppc/stand/Makefile.booters (expand / switch to context diff)
--- src/sys/arch/mvmeppc/stand/Makefile.booters 2005/12/11 12:18:20 1.6
+++ src/sys/arch/mvmeppc/stand/Makefile.booters 2009/01/12 07:25:39 1.7
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.booters,v 1.6 2005/12/11 12:18:20 christos Exp $
+#	$NetBSD: Makefile.booters,v 1.7 2009/01/12 07:25:39 tsutsui Exp $
 
 S?=		${.CURDIR}/../../../..
 MDEC_DIR?=	/usr/mdec
@@ -22,6 +22,12 @@
 	-DLIBSA_USE_MEMSET -DLIBSA_USE_MEMCPY ${INCPATH} ${DEFS}
 BINDIR= ${MDEC_DIR}
 
+# XXX SHOULD NOT NEED TO DEFINE THESE!
+LIBCRT0=
+LIBC=
+LIBCRTBEGIN=
+LIBCRTEND=
+
 .if exists(${.CURDIR}/version)
 SRCS+= vers.c
 CLEANFILES+= vers.c
@@ -32,6 +38,10 @@
 
 CLEANFILES+= machine powerpc
 
+.if !make(obj) && !make(clean) && !make(cleandir)
+.NOPATH: machine powerpc
+.BEGIN: machine powerpc
+
 machine :
 	-rm -f ${.TARGET}
 	ln -s $S/arch/mvmeppc/include machine
@@ -39,6 +49,7 @@
 powerpc :
 	-rm -f ${.TARGET}
 	ln -s $S/arch/powerpc/include powerpc
+.endif
 
 .if defined(LIB)