Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/prep/stand/common sync with news68k:
details: https://anonhg.NetBSD.org/src/rev/c62c45e01631
branches: trunk
changeset: 555772:c62c45e01631
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Nov 27 16:19:16 2003 +0000
description:
sync with news68k:
> Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
diffstat:
sys/arch/prep/stand/common/Makefile | 25 ++++++++++---------------
1 files changed, 10 insertions(+), 15 deletions(-)
diffs (50 lines):
diff -r 0a7300cf827b -r c62c45e01631 sys/arch/prep/stand/common/Makefile
--- a/sys/arch/prep/stand/common/Makefile Thu Nov 27 15:02:21 2003 +0000
+++ b/sys/arch/prep/stand/common/Makefile Thu Nov 27 16:19:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/09/30 18:58:39 matt Exp $
+# $NetBSD: Makefile,v 1.4 2003/11/27 16:19:16 tsutsui Exp $
S= ${.CURDIR}/../../../..
@@ -12,19 +12,16 @@
CLEANFILES+= machine powerpc
-.BEGIN: machine powerpc
-.NOPATH: machine powerpc
-realdepend realall: machine powerpc
+.PHONY: machine-links
+beforedepend: machine-links
-machine::
- -rm -f $@
- ln -s ${S}/arch/${MACHINE}/include $@
+machine-links:
+ -rm -f machine
+ ln -s ${S}/arch/${MACHINE}/include machine
+ -rm -f ${MACHINE_ARCH}
+ ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
-powerpc::
- -rm -f $@
- ln -s ${S}/arch/powerpc/include $@
-
-${OBJS}: machine powerpc
+.include <bsd.prog.mk>
### find out what to use for libkern
KERN_AS= library
@@ -44,11 +41,9 @@
LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}
-realall: ${LIBS}
+realall: machine-links ${LIBS}
cleandir distclean: cleanlibdir
cleanlibdir:
-rm -rf lib
-
-.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index