1999-04-05 10:17:44 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 1999/04/05 06:17:44 simonb Exp $
|
1998-12-05 10:33:13 +03:00
|
|
|
|
|
|
|
|
|
|
|
KERN= ${.CURDIR}/../../../sys/arch/pmax/compile/RAMDISK/netbsd
|
|
|
|
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
|
|
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
|
|
|
|
${MAKE} -s -f-
|
|
|
|
CLEANFILES= netbsd.tmp netbsd.ecoff netbsd.ecoff.gz \
|
|
|
|
netbsd.aout netbsd.aout.gz
|
|
|
|
|
1999-04-05 10:17:44 +04:00
|
|
|
all: netbsd.gz
|
1998-12-05 10:33:13 +03:00
|
|
|
|
1999-04-05 10:17:44 +04:00
|
|
|
netbsd.gz: ${KERN} ${RAMDISK}
|
|
|
|
cp ${KERN} netbsd
|
|
|
|
mdsetimage -v netbsd ${RAMDISK}
|
|
|
|
elf2ecoff netbsd netbsd.ecoff
|
1998-12-05 10:33:13 +03:00
|
|
|
rm -f netbsd.ecoff.gz
|
1999-04-05 10:17:44 +04:00
|
|
|
gzip -9 netbsd.ecoff
|
|
|
|
rm -f netbsd.gz
|
|
|
|
gzip -9 netbsd
|
1998-12-05 10:33:13 +03:00
|
|
|
|
|
|
|
clean cleandir distclean:
|
|
|
|
rm -f ${CLEANFILES}
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include <bsd.obj.mk>
|