NetBSD/distrib/newsmips/floppies/ramdisk/Makefile
lukem 484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00

38 lines
944 B
Makefile

# $NetBSD: Makefile,v 1.16 2002/03/28 04:33:23 lukem Exp $
.include "${.CURDIR}/../../../Makefile.inc"
.include <bsd.own.mk>
IMAGE= ramdisk.fs
IMAGESIZE= 2048k
WARNS= 1
CRUNCHBIN= ramdiskbin
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/boot ${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>