diff --git a/distrib/pmax/Makefile b/distrib/pmax/Makefile new file mode 100644 index 000000000000..3c887c12c30e --- /dev/null +++ b/distrib/pmax/Makefile @@ -0,0 +1,5 @@ +# $NetBSD: Makefile.inc,v 1.1 1998/12/05 06:42:55 jonathan Exp + +SUBDIR= ramdisk instkernel + +.include diff --git a/distrib/pmax/instkernel/Makefile b/distrib/pmax/instkernel/Makefile new file mode 100644 index 000000000000..301c8d9ff5f3 --- /dev/null +++ b/distrib/pmax/instkernel/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 1998/12/05 07:33:13 jonathan Exp $ + + +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 + +all: netbsd.ram.gz + +netbsd.ram.gz: ${KERN} ${RAMDISK} + cp ${KERN} netbsd.tmp + mdsetimage -v netbsd.tmp ${RAMDISK} + elf2ecoff netbsd.tmp netbsd.ecoff + rm -f netbsd.ecoff.gz + gzip netbsd.ecoff + elf2aout netbsd.tmp netbsd.aout + rm -f netbsd.aout.gz + gzip netbsd.aout + +clean cleandir distclean: + rm -f ${CLEANFILES} + +.include +.include