Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Use <bsd.klinks.mk>



details:   https://anonhg.NetBSD.org/src/rev/716fc661ae9b
branches:  trunk
changeset: 789526:716fc661ae9b
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 21 06:58:58 2013 +0000

description:
Use <bsd.klinks.mk>

diffstat:

 sys/arch/mmeye/stand/bootelf/Makefile       |  13 +++----------
 sys/arch/mvme68k/stand/installboot/Makefile |  14 ++------------
 2 files changed, 5 insertions(+), 22 deletions(-)

diffs (56 lines):

diff -r d34a06a564fc -r 716fc661ae9b sys/arch/mmeye/stand/bootelf/Makefile
--- a/sys/arch/mmeye/stand/bootelf/Makefile     Wed Aug 21 06:56:14 2013 +0000
+++ b/sys/arch/mmeye/stand/bootelf/Makefile     Wed Aug 21 06:58:58 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2006/04/03 09:08:03 uebayasi Exp $
+#      $NetBSD: Makefile,v 1.15 2013/08/21 07:04:38 matt Exp $
 #
 # NOTE: This program is *not* standalone, but a userlevel program -- this
 #       program was run from within boot-only, NetBSD-as-bootloader as a
@@ -18,14 +18,7 @@
 CPPFLAGS+=     -I${.CURDIR}/../../../.. -I${.OBJDIR}
 LDSTATIC=      -static
 
-CLEANFILES+=   machine
-
-realdepend realall: machine
-
-machine::
-       -rm -f $@
-       ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@
-
-${PROG}: ${OBJS} machine
+${PROG}: ${OBJS}
 
 .include <bsd.prog.mk>
+.include <bsd.klinks.mk>
diff -r d34a06a564fc -r 716fc661ae9b sys/arch/mvme68k/stand/installboot/Makefile
--- a/sys/arch/mvme68k/stand/installboot/Makefile       Wed Aug 21 06:56:14 2013 +0000
+++ b/sys/arch/mvme68k/stand/installboot/Makefile       Wed Aug 21 06:58:58 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2005/12/28 08:08:00 skrll Exp $
+#      $NetBSD: Makefile,v 1.17 2013/08/21 06:58:58 matt Exp $
 
 NOMAN= # defined
 
@@ -12,19 +12,9 @@
 # Need this to work in the miniroot
 LDSTATIC= -static
 
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN: machine
-.NOPATH: machine
-
-machine::
-       -rm -f $@
-       ln -s ${.CURDIR}/../../include $@
-.endif
-
-CLEANFILES+= machine
-
 .PATH.c: ${LIBSA}
 
 SRCS=  installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
 
 .include <bsd.prog.mk>
+.include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index