Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/pmax/ramdisk Pull up revisions 1.4-1.9 (request...



details:   https://anonhg.NetBSD.org/src/rev/9b9544fec5d4
branches:  netbsd-1-4
changeset: 469619:9b9544fec5d4
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 20 23:09:53 1999 +0000

description:
Pull up revisions 1.4-1.9 (requested by simonb):
  Bring pmax release building machinery up-to-date.
(BTW, revision 1.3 was pulled up already, noted as 1.2.)

diffstat:

 distrib/pmax/ramdisk/Makefile |  22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r 94f730f3bacb -r 9b9544fec5d4 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile     Wed Oct 20 23:05:59 1999 +0000
+++ b/distrib/pmax/ramdisk/Makefile     Wed Oct 20 23:09:53 1999 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile,v 1.2.2.1 1999/04/17 11:09:58 simonb Exp $
+#      $NetBSD: Makefile,v 1.2.2.2 1999/10/20 23:09:53 he Exp $
+
+BINDIR=                /installation/netboot
 
 TOP?=          ${.CURDIR}/..
 ARCHDIR?=        ${.CURDIR}/../../${MACHINE}/miniroot
@@ -17,14 +19,17 @@
 VND_RDEV=      /dev/r${VND}a
 VND_CDEV=      /dev/${VND}c
 VND_CRDEV=     /dev/r${VND}c
-IMAGE?=                xxx.fs
 MDEC=          ${DESTDIR}/usr/mdec
 
+CLEANFILES=    ${IMAGE} ${DISKIMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache
+
 LISTS=         list
 CRUNCHCONF=    ${CBIN}.conf
 MTREE=         mtree.conf
 
-all: ${CBIN} 
+all: ${IMAGE}
+
+${IMAGE}: ${CBIN} 
        dd if=/dev/zero of=${IMAGE} count=${CSIZE}
        vnconfig -v -c ${VND_CDEV} ${IMAGE}
 #      disklabel -rw ${VND_CDEV} ${DISKTYPE}
@@ -54,9 +59,16 @@
 ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
        make -f ${CBIN}.mk all
 
+realinstall:
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
+               -m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
+
 clean cleandir distclean:
-       /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
+       /bin/rm -f *.core ${CLEANFILES} *.o *.cro *.c
+
+# XXX!
+depend:
 
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
-.include <bsd.subdir.mk>
+.include "../Makefile.inc"



Home | Main Index | Thread Index | Old Index