41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2002/04/12 02:19:31 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${_SRC_TOP_}/distrib/Makefile.inc"
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 2048k
|
|
MAKEFS_FLAGS= -f 15
|
|
|
|
WARNS= 1
|
|
DBG= -Os -mmultiple -mstring
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= be
|
|
MAKEDEVTARGETS= floppy
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
dot.profile termcap.src \
|
|
${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/usr/mdec/bootxx \
|
|
${_SRC_TOP_}/etc/group ${_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>
|