Source-Changes-HG archive

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

[src/trunk]: src/distrib/acorn32/stand oop; we need <bsd.own.mk> for ${PRINTO...



details:   https://anonhg.NetBSD.org/src/rev/3c202d9cf141
branches:  trunk
changeset: 534324:3c202d9cf141
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jul 22 04:42:43 2002 +0000

description:
oop; we need <bsd.own.mk> for ${PRINTOBJDIR}; pull that in, and
convert this Makefile to be more similar to others in distrib/**.

XXX: this still needs work to make this more non-netbsd-cross friendly.
e.g, use ${PAX} and compress instead of assuming that tar supports `Z', etc.

diffstat:

 distrib/acorn32/stand/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r a59441678cad -r 3c202d9cf141 distrib/acorn32/stand/Makefile
--- a/distrib/acorn32/stand/Makefile    Mon Jul 22 04:26:10 2002 +0000
+++ b/distrib/acorn32/stand/Makefile    Mon Jul 22 04:42:43 2002 +0000
@@ -1,12 +1,18 @@
-#      $NetBSD: Makefile,v 1.5 2002/07/19 16:32:13 lukem Exp $
+#      $NetBSD: Makefile,v 1.6 2002/07/22 04:42:43 lukem Exp $
 #
 
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+.include <bsd.kernobj.mk>
+
+
 # we use compressed tar, SparkPlug doesn't handle gzipped tar
 ARCHIVE=BtNetBSD.tar.Z
 
 RAMDISKDIR!=   cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
 
-all:
+all: ${ARCHIVE}
 
 release: check_RELEASEDIR .WAIT ${ARCHIVE}
        mv -f ${ARCHIVE} ${RELEASEDIR}/installation/misc/
@@ -31,11 +37,7 @@
        cd tmp/BtNetBSD && cp -R '!BtNetBSD/native' unixfs
 
 clean:
-       @rm -f BtNetBSD.tar.Z
+       @rm -f ${ARCHIVE}
        @if [ -d tmp ]; then rm -rf tmp; fi
 
-.include <bsd.subdir.mk>
-
-.include <bsd.obj.mk>
-.include <bsd.kernobj.mk>
-
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index