Cross Reference: Makefile
xref: /src/distrib/vax/ramdisk-kernel/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/vax/ramdisk-kernel/
Makefile revision 1.1
1#	$NetBSD: Makefile,v 1.1 2000/05/23 18:34:58 matt Exp $
2
3TOP=		${.CURDIR}/..
4
5.include "${TOP}/Makefile.inc"
6.include <bsd.kernobj.mk>
7
8MDEC=		${DESTDIR}/usr/mdec
9STRIP?=		strip
10
11RAMDISK!=	cd $(.CURDIR)/../ramdisk/; \
12	        printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
13		${MAKE} -s -f-
14
15.for kernel in INSTALL
16netbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
17	cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
18	${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
19	${STRIP} netbsd.tmp
20	gzip -9 netbsd.tmp
21	mv netbsd.tmp.gz ${.TARGET}
22KERNELS+=	netbsd.${kernel}.gz
23.endfor
24
25all: ${KERNELS}
26
27release:
28	-mkdir -p ${RELEASEDIR}/binary/kernel
29	cp -p ${KERNELS} ${RELEASEDIR}/binary/kernel
30
31clean cleandir distclean:
32	rm -f *.core ${KERNELS}
33
34.include <bsd.own.mk>
35.include <bsd.obj.mk>
36.include <bsd.subdir.mk>
37

Indexes created Mon Jan 26 14:10:17 GMT 2026