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

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