40 lines
986 B
Makefile
40 lines
986 B
Makefile
# $NetBSD: Makefile,v 1.21 2002/04/12 13:59:32 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${_SRC_TOP_}/distrib/Makefile.inc"
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 800k
|
|
|
|
WARNS= 1
|
|
DBG= -Os
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
LISTS= ${.CURDIR}/list
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= be
|
|
MAKEDEVTARGETS= std md0 sd0 sd1 sd2 st0 cd0
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
dot.profile rd.fstab rd.welcome \
|
|
${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/usr/mdec/bootst \
|
|
${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/stboot \
|
|
${_SRC_TOP_}/etc/master.passwd \
|
|
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
|
${_SRC_TOP_}/etc/services
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
|
|
realall: ${IMAGE}
|
|
|
|
release:
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
.include <bsd.prog.mk>
|