2002-03-26 04:12:36 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 2002/03/26 01:12:36 lukem Exp $
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.include <bsd.own.mk>
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
IMAGE= ramdisk.fs
|
|
|
|
IMAGESIZE= 1600b
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
WARNS= 1
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
LISTS= ${.CURDIR}/list
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
MAKEDEVTARGETS= std md0 sd0 sd1 sd2 st0 cd0
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2002-03-26 04:12:36 +03:00
|
|
|
dot.profile rd.fstab rd.welcome \
|
2002-03-25 01:44:21 +03:00
|
|
|
${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/usr/mdec/bootst \
|
|
|
|
${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/stboot \
|
2002-03-26 04:12:36 +03:00
|
|
|
${_SRC_TOP_}/etc/master.passwd \
|
2002-03-25 01:44:21 +03:00
|
|
|
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
2002-03-24 21:08:18 +03:00
|
|
|
${_SRC_TOP_}/etc/services
|
1997-12-18 01:13:32 +03:00
|
|
|
|
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
realall: ${IMAGE}
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
release:
|
1997-12-18 01:13:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
2002-03-24 21:08:18 +03:00
|
|
|
HACKSRC=${DISTRIBDIR}/utils/libhack
|
1997-12-18 01:13:32 +03:00
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
# This is listed in ramdiskbin.conf but is built here.
|
|
|
|
${CRUNCHBIN}: libhack.o
|
1997-12-18 01:13:32 +03:00
|
|
|
|
2002-01-24 00:10:00 +03:00
|
|
|
|
2002-03-24 21:08:18 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|