Cross Reference: Makefile
xref: /src/distrib/miniroot/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/miniroot/
Makefile revision 1.51
1#	$NetBSD: Makefile,v 1.51 2002/03/16 01:32:21 lukem Exp $
2
3.include "${.CURDIR}/../Makefile.inc"
4.include <bsd.own.mk>
5.include <bsd.kernobj.mk>
6
7ARCHDIR=	${.CURDIR}/../${MACHINE}/miniroot
8
9CRUNCHBIN=	instbin
10LISTS=		${.CURDIR}/list ${ARCHDIR}/list
11MTREECONF=	${DISTRIBDIR}/common/mtree.common
12IMAGE=		miniroot.fs
13IMAGEDEPENDS=	${CRUNCHBIN} install.sub install.sh upgrade.sh \
14		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
15		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
16		${_SRC_TOP_}/etc/services
17PARSELISTENV=	ARCHDIR=${ARCHDIR:Q} \
18		DISTRIBREV=${DISTRIBREV:Q} \
19		DISTRIBVER=${DISTRIBVER:Q} \
20		KERNOBJDIR=${KERNOBJDIR:Q}
21
22.include "${ARCHDIR}/Makefile.inc"
23
24
25all:	check_DESTDIR .WAIT image
26	@true
27
28release: check_RELEASEDIR .WAIT image
29	mkdir -p ${RELEASEDIR}/installation/miniroot
30	gzip -c -9 < ${.OBJDIR}/miniroot.fs \
31		> ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz
32	sh ${DISTRIBDIR}/sets/makesums \
33		-t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz
34
35image:	${IMAGE} image_md_post
36
37
38.include "${DISTRIBDIR}/common/Makefile.crunch"
39.if defined(MAKEDEVTARGETS)
40.include "${DISTRIBDIR}/common/Makefile.makedev"
41.endif
42.include "${DISTRIBDIR}/common/Makefile.image"
43
44.include <bsd.prog.mk>
45

Indexes created Fri Dec 19 10:09:33 GMT 2025