deffb66504
- improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV */Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks */list* - replace @MACHINE@ with ${MACHINE}
35 lines
829 B
Makefile
35 lines
829 B
Makefile
# $NetBSD: Makefile,v 1.8 2002/03/14 22:26:08 lukem Exp $
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.include <bsd.own.mk>
|
|
|
|
IMAGE= ramdisk.fs
|
|
IMAGESIZE= 1920k
|
|
MAKEFS_FLAGS= -f 10
|
|
|
|
WARNS= 1
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
IMAGEENDIAN= le
|
|
MAKEDEVTARGETS= ramdisk
|
|
PARSELISTENV= PWD_MKDB=${PWD_MKDB:Q}
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
disktab.preinstall dot.hdprofile dot.profile termcap.vt100 \
|
|
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
|
|
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
|
${_SRC_TOP_}/etc/services
|
|
|
|
|
|
realall: ${IMAGE}
|
|
|
|
release:
|
|
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
.include <bsd.prog.mk>
|