Cross Reference: Makefile
xref: /src/distrib/sun2/ramdisk/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/sun2/ramdisk/
Makefile revision 1.11
1#	$NetBSD: Makefile,v 1.11 2002/04/26 03:15:15 lukem Exp $
2
3TOP=		${.CURDIR}/..
4
5.include <bsd.own.mk>
6.include <bsd.kernobj.mk>
7.include "${_SRC_TOP_}/distrib/Makefile.inc"
8
9IMAGE=		ramdisk.fs
10IMAGESIZE=	400k
11MAKEFS_FLAGS=	-f 15 -o minfree=0,optimization=space,density=4096,cpg=20
12
13WARNS=		1
14DBG=		-Os
15
16CRUNCHBIN=	rd_bin
17LISTS=		${.CURDIR}/list
18MTREECONF=	${.CURDIR}/mtree.conf
19IMAGEENDIAN=	be
20PARSELISTENV=	TOPDIR=${TOP}
21MAKEDEVTARGETS=	__ramdisk std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0
22IMAGEDEPENDS=	${CRUNCHBIN} \
23		${TOPDIR}/common/rd.disktab ${TOPDIR}/common/rd.fstab \
24		${TOPDIR}/common/rd.passwd ${TOPDIR}/common/rd.protocols \
25		${TOPDIR}/common/rd.services ${TOPDIR}/common/rd.sshrc \
26		${TOPDIR}/common/rd.welcome \
27		${_SRC_TOP_}/etc/netconfig
28
29MDSETTARGETS=	RAMDISK ramdisk.fs -
30MDSETDIR=	binary/kernel
31
32# Use stubs to eliminate some large stuff from libc
33HACKSRC=	${DISTRIBDIR}/utils/libhack
34.include	"${HACKSRC}/Makefile.inc"
35${CRUNCHBIN}:	libhack.o
36
37.include "${DISTRIBDIR}/common/Makefile.crunch"
38.include "${DISTRIBDIR}/common/Makefile.makedev"
39.include "${DISTRIBDIR}/common/Makefile.image"
40.include "${DISTRIBDIR}/common/Makefile.mdset"
41
42.include <bsd.prog.mk>
43

Indexes created Sat Dec 13 21:09:37 GMT 2025