head	1.9;
access;
symbols
	perseant-exfatfs-base-20250801:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.48
	perseant-exfatfs-base:1.9
	cjep_sun2x:1.9.0.46
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	cjep_staticlib_x:1.9.0.44
	cjep_staticlib_x-base:1.9
	phil-wifi-20200421:1.9
	phil-wifi-20200411:1.9
	phil-wifi-20200406:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	pgoyette-compat-0728:1.9
	pgoyette-compat-0625:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	pgoyette-compat:1.9.0.42
	pgoyette-compat-base:1.9
	perseant-stdc-iso10646:1.9.0.40
	perseant-stdc-iso10646-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.38
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	bouyer-socketcan:1.9.0.36
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	pgoyette-localcount-20161104:1.9
	localcount-20160914:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.34
	pgoyette-localcount-base:1.9
	netbsd-5-2-3-RELEASE:1.9
	netbsd-5-1-5-RELEASE:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.9
	tls-earlyentropy:1.9.0.30
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-5-2-2-RELEASE:1.9
	netbsd-5-1-4-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.9
	netbsd-5-1-3-RELEASE:1.9
	agc-symver:1.9.0.32
	agc-symver-base:1.9
	tls-maxphys-base:1.9
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.9.0.28
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.9
	netbsd-5-2-RC1:1.9
	yamt-pagecache-base6:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-5-1-2-RELEASE:1.9
	netbsd-5-1-1-RELEASE:1.9
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.26
	yamt-pagecache-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.24
	bouyer-quota2-base:1.9
	matt-nb5-pq3:1.9.0.22
	matt-nb5-pq3-base:1.9
	netbsd-5-1:1.9.0.20
	netbsd-5-1-RELEASE:1.9
	netbsd-5-1-RC4:1.9
	netbsd-5-1-RC3:1.9
	netbsd-5-1-RC2:1.9
	netbsd-5-1-RC1:1.9
	netbsd-5-0-2-RELEASE:1.9
	netbsd-5-0-1-RELEASE:1.9
	jym-xensuspend-nbase:1.9
	netbsd-5-0:1.9.0.18
	netbsd-5-0-RELEASE:1.9
	netbsd-5-0-RC4:1.9
	netbsd-5-0-RC3:1.9
	netbsd-5-0-RC2:1.9
	jym-xensuspend:1.9.0.16
	jym-xensuspend-base:1.9
	netbsd-5-0-RC1:1.9
	netbsd-5:1.9.0.14
	netbsd-5-base:1.9
	yamt-pf42-base4:1.9
	yamt-pf42-base3:1.9
	hpcarm-cleanup-nbase:1.9
	yamt-pf42-base2:1.9
	yamt-pf42:1.9.0.12
	yamt-pf42-base:1.9
	mjf-devfs2:1.9.0.10
	mjf-devfs2-base:1.9
	keiichi-mipv6:1.9.0.8
	keiichi-mipv6-base:1.9
	mjf-devfs:1.9.0.6
	mjf-devfs-base:1.9
	cube-autoconf:1.9.0.4
	cube-autoconf-base:1.9
	hpcarm-cleanup:1.9.0.2
	hpcarm-cleanup-base:1.9
	netbsd-1-2-PATCH001:1.6.4.1
	netbsd-1-2-RELEASE:1.6.4.1
	netbsd-1-2-BETA:1.6
	netbsd-1-2-base:1.6
	netbsd-1-2:1.6.0.4
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.4
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.1.1.1.2.2
	netbsd-1-0-PATCH05:1.1.1.1.2.2
	netbsd-1-0-PATCH04:1.1.1.1.2.2
	netbsd-1-0-PATCH03:1.1.1.1.2.2
	netbsd-1-0-PATCH02:1.1.1.1.2.2
	netbsd-1-0-PATCH1:1.1.1.1.2.2
	netbsd-1-0-PATCH0:1.1.1.1.2.2
	netbsd-1-0-RELEASE:1.1.1.1.2.2
	netbsd-1-0:1.1.1.1.0.2
	netbsd-1-0-base:1.1.1.1
	cgd-940829:1.1.1.1
	cgd:1.1.1;
locks; strict;
comment	@# @;


1.9
date	97.06.14.18.33.15;	author perry;	state dead;
branches;
next	1.8;

1.8
date	96.10.09.19.16.10;	author perry;	state Exp;
branches;
next	1.7;

1.7
date	96.10.09.00.13.36;	author jtc;	state Exp;
branches;
next	1.6;

1.6
date	96.05.07.18.45.18;	author thorpej;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	95.05.12.21.16.03;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	95.05.06.06.51.12;	author jtc;	state Exp;
branches;
next	1.3;

1.3
date	95.04.16.19.11.44;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	94.10.18.21.21.34;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	94.08.29.15.30.22;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.6.4.1
date	96.09.04.06.55.18;	author thorpej;	state Exp;
branches;
next	;

1.1.1.1
date	94.08.29.15.30.23;	author cgd;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	94.08.29.15.30.23;	author cgd;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	94.10.18.21.24.03;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.9
log
@obsolete
@
text
@#	$NetBSD: Makefile.inc,v 1.8 1996/10/09 19:16:10 perry Exp $

# TOP is assumed to be defined by Makefile including this one.

CBIN=		instbin
COMMONDIR=	${TOP}/inst-common

MOUNT_POINT?=	/mnt
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
IMAGE?=		xxx-${REV}.fs
MDEC=		${DESTDIR}/usr/mdec

LISTS=		${COMMONDIR}/list ${.CURDIR}/list
CRUNCHCONF=	${COMMONDIR}/${CBIN}.conf
MTREE=		${COMMONDIR}/mtree.conf

all: ${CBIN}
	dd if=/dev/zero of=${IMAGE} bs=100k count=12
	vnconfig -v -c ${VND_DEV} ${IMAGE}
	newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy5
	mount ${VND_DEV} ${MOUNT_POINT}
	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_DEV}
	cat /*bin/* > /dev/null

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND_DEV}
	-/bin/rm -f ${IMAGE}

${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}

${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	make -f ${CBIN}.mk all

clean cleandir:
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c

.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@


1.8
log
@Changed *.ccore to *.core. "make clean" now works right again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 1996/10/09 00:13:47 jtc Exp $
@


1.7
log
@merge in 1.2 branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6.4.1 1996/09/04 06:55:18 thorpej Exp $
d46 1
a46 1
	/bin/rm -f *.ccore ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@


1.6
log
@RCS id police.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 1995/05/12 21:16:03 cgd Exp $
d46 1
a46 1
	/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@


1.6.4.1
log
@Fix the clean target, from Rob Windsor <windsor@@warped.com>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 1996/05/07 18:45:18 thorpej Exp $
d46 1
a46 1
	/bin/rm -f *.ccore ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@


1.5
log
@use new crunchgen options
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.4 1995/05/06 06:51:12 jtc Exp $
@


1.4
log
@update other instance of old vnconfig syntax
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.3 1995/04/16 19:11:44 mycroft Exp $
d40 1
a40 1
	crunchgen ${CRUNCHCONF}
@


1.3
log
@Update syntax for vnconfig(8).  From Greg Hudson.
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.2 1994/10/18 21:21:34 cgd Exp $
d36 1
a36 1
	-vnconfig -u ${VND_DEV} ${IMAGE}
@


1.2
log
@put dd on install & kc disks, as requested by John Kohl in pr 472,
and make sure the .o's are made (e.g. after clean), as proposed by
Rafal Boni in pr 493.
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.1.1.1 1994/08/29 15:30:23 cgd Exp $
d31 1
a31 1
	vnconfig -u ${VND_DEV} ${IMAGE}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$Id$
d43 1
a43 1
	make -f ${CBIN}.mk
@


1.1.1.1
log
@i386 floppy build tools
@
text
@@


1.1.1.1.2.1
log
@file Makefile.inc was added on branch netbsd-1-0 on 1994-10-18 21:24:03 +0000
@
text
@d1 49
@


1.1.1.1.2.2
log
@from trunk
@
text
@a0 49
#	$Id: Makefile.inc,v 1.1.1.1.2.1 1994/10/18 21:24:03 cgd Exp $

# TOP is assumed to be defined by Makefile including this one.

CBIN=		instbin
COMMONDIR=	${TOP}/inst-common

MOUNT_POINT?=	/mnt
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
IMAGE?=		xxx-${REV}.fs
MDEC=		${DESTDIR}/usr/mdec

LISTS=		${COMMONDIR}/list ${.CURDIR}/list
CRUNCHCONF=	${COMMONDIR}/${CBIN}.conf
MTREE=		${COMMONDIR}/mtree.conf

all: ${CBIN}
	dd if=/dev/zero of=${IMAGE} bs=100k count=12
	vnconfig -v -c ${VND_DEV} ${IMAGE}
	newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy5
	mount ${VND_DEV} ${MOUNT_POINT}
	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_DEV} ${IMAGE}
	cat /*bin/* > /dev/null

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND_DEV} ${IMAGE}
	-/bin/rm -f ${IMAGE}

${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	crunchgen ${CRUNCHCONF}

${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	make -f ${CBIN}.mk all

clean cleandir:
	/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c

.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@
