Module Name:    src
Committed By:   tsutsui
Date:           Thu Apr 23 16:35:20 UTC 2009

Modified Files:
        src/sys/arch/pmax/stand: Makefile.booters

Log Message:
Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/pmax/stand/Makefile.booters

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

Modified files:

Index: src/sys/arch/pmax/stand/Makefile.booters
diff -u src/sys/arch/pmax/stand/Makefile.booters:1.49 src/sys/arch/pmax/stand/Makefile.booters:1.50
--- src/sys/arch/pmax/stand/Makefile.booters:1.49	Fri Apr  3 10:38:14 2009
+++ src/sys/arch/pmax/stand/Makefile.booters	Thu Apr 23 16:35:20 2009
@@ -1,19 +1,10 @@
-# $NetBSD: Makefile.booters,v 1.49 2009/04/03 10:38:14 tsutsui Exp $
+# $NetBSD: Makefile.booters,v 1.50 2009/04/23 16:35:20 tsutsui Exp $
 
 .include <bsd.sys.mk>		# for HOST_SH
 
 # $S must correspond to the top of the 'sys' tree
 S=	${.CURDIR}/../../../..
 
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
-	@[ -h machine ] || ln -s $S/arch/${MACHINE}/include machine
-	@[ -h pmax ] || ln -s $S/arch/${MACHINE}/include pmax
-	@[ -h mips ] || ln -s $S/arch/mips/include mips
-.NOPATH: machine pmax mips
-.endif
-CLEANFILES+= machine pmax mips
-
 BINMODE?=	444
 
 # XXX SHOULD NOT NEED TO DEFINE THESE!
@@ -111,7 +102,7 @@
 vers.c: ${.CURDIR}/version
 	${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "pmax"
 
-${PROG}: machine mips pmax ${OBJS} ${LIBS}
+${PROG}: ${OBJS} ${LIBS}
 	${LD} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
 	    ${LDBUG} -e start -o ${PROG} ${OBJS} ${LIBS}
 	@${SIZE} ${PROG}
@@ -126,6 +117,7 @@
 	@echo done.
 .endif
 
+.include <bsd.klinks.mk>
 .include <bsd.prog.mk>
 
 CLEANFILES+=	${PROG}.map

Reply via email to