head	1.4;
access;
symbols
	perseant-exfatfs-base-20250801:1.4
	perseant-exfatfs-base-20240630:1.4
	cjep_sun2x:1.4.0.46
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	cjep_staticlib_x:1.4.0.44
	cjep_staticlib_x-base:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	phil-wifi-20200406:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	pgoyette-compat-0625:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.42
	pgoyette-compat-base:1.4
	perseant-stdc-iso10646:1.4.0.40
	perseant-stdc-iso10646-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.38
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	bouyer-socketcan:1.4.0.36
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	pgoyette-localcount-20161104:1.4
	localcount-20160914:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.34
	pgoyette-localcount-base:1.4
	netbsd-5-2-3-RELEASE:1.4
	netbsd-5-1-5-RELEASE:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	tls-earlyentropy:1.4.0.30
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-5-2-2-RELEASE:1.4
	netbsd-5-1-4-RELEASE:1.4
	netbsd-5-2-1-RELEASE:1.4
	netbsd-5-1-3-RELEASE:1.4
	agc-symver:1.4.0.32
	agc-symver-base:1.4
	tls-maxphys-base:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.4.0.28
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.4
	netbsd-5-2-RC1:1.4
	yamt-pagecache-base6:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-5-1-2-RELEASE:1.4
	netbsd-5-1-1-RELEASE:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.26
	yamt-pagecache-base:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.24
	bouyer-quota2-base:1.4
	matt-nb5-pq3:1.4.0.22
	matt-nb5-pq3-base:1.4
	netbsd-5-1:1.4.0.20
	netbsd-5-1-RELEASE:1.4
	netbsd-5-1-RC4:1.4
	netbsd-5-1-RC3:1.4
	netbsd-5-1-RC2:1.4
	netbsd-5-1-RC1:1.4
	netbsd-5-0-2-RELEASE:1.4
	netbsd-5-0-1-RELEASE:1.4
	jym-xensuspend-nbase:1.4
	netbsd-5-0:1.4.0.18
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.16
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.4
	netbsd-5:1.4.0.14
	netbsd-5-base:1.4
	yamt-pf42-base4:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-base2:1.4
	yamt-pf42:1.4.0.12
	yamt-pf42-base:1.4
	mjf-devfs2:1.4.0.10
	mjf-devfs2-base:1.4
	keiichi-mipv6:1.4.0.8
	keiichi-mipv6-base:1.4
	mjf-devfs:1.4.0.6
	mjf-devfs-base:1.4
	cube-autoconf:1.4.0.4
	cube-autoconf-base:1.4
	hpcarm-cleanup:1.4.0.2
	hpcarm-cleanup-base:1.4
	netbsd-1-6-PATCH002-RELEASE:1.1
	netbsd-1-6-PATCH002:1.1
	netbsd-1-6-PATCH002-RC4:1.1
	netbsd-1-6-PATCH002-RC3:1.1
	netbsd-1-6-PATCH002-RC2:1.1
	netbsd-1-6-PATCH002-RC1:1.1
	netbsd-1-6-PATCH001:1.1
	netbsd-1-6-PATCH001-RELEASE:1.1
	netbsd-1-6-PATCH001-RC3:1.1
	netbsd-1-6-PATCH001-RC2:1.1
	netbsd-1-6-PATCH001-RC1:1.1
	netbsd-1-6-RELEASE:1.1
	netbsd-1-6-RC3:1.1
	netbsd-1-6-RC2:1.1
	netbsd-1-6-RC1:1.1
	netbsd-1-6:1.1.0.2
	netbsd-1-6-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2002.08.22.01.24.56;	author lukem;	state dead;
branches;
next	1.3;

1.3
date	2002.08.18.14.06.54;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.18.12.39.42;	author lukem;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.02.18.20.58;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Migrate rescue tools from distrib/rescue -> rescue
@
text
@#	$NetBSD: Makefile,v 1.3 2002/08/18 14:06:54 lukem Exp $

.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"

WARNS=		1
DBG=		-Os

CRUNCHBIN=	rescue
CRUNCHENV=	# empty - don't want SMALLPROG defined
LISTS=		${.CURDIR}/list
TARGETDIR=	${DESTDIR}/rescue
PARSELISTENV+=  TARGETDIR=${TARGETDIR:Q}


.for f in bim edlabel fdisk ldconfig pdisk
PROG_${f}!=	cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
.if (${PROG_${f}} != "")
LISTS+=		${.CURDIR}/list.${f}
.endif
.endfor

.if (${OBJECT_FMT} == "ELF")
PARSELISTENV+=	LDD_CMD=ldd_elf
.else
PARSELISTENV+=	LDD_CMD=ldd_aout
.endif


.include "${DISTRIBDIR}/common/Makefile.crunch"

realall: ${CRUNCHBIN}

install: ${CRUNCHBIN}
	${PARSELIST} -v mode=install ${LISTS} | ${MAKE} -f - install

.include <bsd.prog.mk>
@


1.3
log
@- implement `install' target with:
	${PARSELIST} -v mode=install | ${MAKE} -f - install
- don't need ../common/Makefile.image any more
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2002/08/18 12:39:42 lukem Exp $
@


1.2
log
@- use an improved heuristics for determining if certain special
  "for specific platform only" programs are to be included
- add pdisk to the list of specially handled programs
- use ../common/mtree.dot instead of local duplicate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2002/05/02 18:20:58 lukem Exp $
d12 3
a14 2
MTREECONF=	${DISTRIBDIR}/common/mtree.dot
IMAGEDEPENDS=	${CRUNCHBIN}
a30 1
.include "${DISTRIBDIR}/common/Makefile.image"
d32 1
a32 1
realall: ${WORKBUILT} ${WORKSPEC}
d34 2
a35 2
install:
#	XXX: implement
@


1.1
log
@Infrastructure to build a set of "rescue" tools; a crunched-up version
of all the statically linked binaries in /bin, /sbin and the few in /usr/bin.

This isn't built nor installed yet.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2002/04/26 15:50:31 lukem Exp $
d12 1
a12 1
MTREECONF=	${.CURDIR}/mtree.conf
d15 4
a18 2
.if (${MACHINE} == "pc532")
LISTS+=		${.CURDIR}/list.bim
d20 1
d22 4
a25 5
.if (${MACHINE} == "atari")	|| (${MACHINE} == "mvme68k")	|| \
    (${MACHINE} == "sparc")	|| (${MACHINE} == "sparc64")	|| \
    (${MACHINE} == "sun2")	|| (${MACHINE} == "sun3")	|| \
    (${MACHINE} == "sun3x")
LISTS+=		${.CURDIR}/list.edlabel
a26 25

.if (${MACHINE} == "arc")		|| (${MACHINE} == "bebox")	|| \
    (${MACHINE} == "cobalt")		|| (${MACHINE} == "hpcmips")	|| \
    (${MACHINE} == "i386")		|| (${MACHINE} == "mvmeppc")	|| \
    (${MACHINE} == "netwinder")		|| (${MACHINE} == "ofppc")	|| \
    (${MACHINE} == "playstation2")	|| (${MACHINE} == "prep")
LISTS+=		${.CURDIR}/list.fdisk
.endif

.if (${OBJECT_FMT} == "ELF")					# {

PARSELISTENV=	LDD_CMD=ldd_elf

.if (${MACHINE_ARCH} == "arm")	|| (${MACHINE_ARCH} == "i386")	|| \
    (${MACHINE_ARCH} == "m68k")	|| (${MACHINE_ARCH} == "sparc")	|| \
    (${MACHINE_ARCH} == "vax")
LISTS+=		${.CURDIR}/list.ldconfig
.endif

.else	# OBJECT_FMT != "ELF"					# } {

PARSELISTENV=	LDD_CMD=ldd_aout
LISTS+=		${.CURDIR}/list.ldconfig

.endif	# OBJECT_FMT != "ELF"					# }
@

