Cross Reference: Makefile
xref: /src/distrib/miniroot/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/miniroot/
Makefile revision 1.54
1#	$NetBSD: Makefile,v 1.54 2002/04/08 23:15:50 bjh21 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		${KERNSRCDIR}/conf/osrelease.sh \
15		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
16		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
17		${_SRC_TOP_}/etc/services
18PARSELISTENV=	ARCHDIR=${ARCHDIR:Q} \
19		DISTRIBREV=${DISTRIBREV:Q} \
20		DISTRIBVER=${DISTRIBVER:Q} \
21		KERNOBJDIR=${KERNOBJDIR:Q}
22MAKESUMS=	CKSUM=${CKSUM:Q} sh ${DISTRIBDIR}/sets/makesums
23
24.include "${ARCHDIR}/Makefile.inc"
25
26
27all:	check_DESTDIR .WAIT image
28	@true
29
30release: check_RELEASEDIR .WAIT image
31	mkdir -p ${RELEASEDIR}/installation/miniroot
32	gzip -c -9 < ${.OBJDIR}/miniroot.fs \
33		> ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz
34	 ${MAKESUMS} -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz
35
36image:	${IMAGE} image_md_post
37
38image_md_post:
39# nothing here; refer to machine-dependant ${ARCHDIR}/Makefile.inc
40
41
42.include "${DISTRIBDIR}/common/Makefile.crunch"
43.if defined(MAKEDEVTARGETS)
44.include "${DISTRIBDIR}/common/Makefile.makedev"
45.endif
46.include "${DISTRIBDIR}/common/Makefile.image"
47
48.include <bsd.prog.mk>
49

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