Cross Reference: Makefile
xref: /src/distrib/vax/ramdisk-kernel/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/vax/ramdisk-kernel/
Makefile revision 1.1
11.1Smatt#	$NetBSD: Makefile,v 1.1 2000/05/23 18:34:58 matt Exp $
21.1Smatt
31.1SmattTOP=		${.CURDIR}/..
41.1Smatt
51.1Smatt.include "${TOP}/Makefile.inc"
61.1Smatt.include <bsd.kernobj.mk>
71.1Smatt
81.1SmattMDEC=		${DESTDIR}/usr/mdec
91.1SmattSTRIP?=		strip
101.1Smatt
111.1SmattRAMDISK!=	cd $(.CURDIR)/../ramdisk/; \
121.1Smatt	        printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
131.1Smatt		${MAKE} -s -f-
141.1Smatt
151.1Smatt.for kernel in INSTALL
161.1Smattnetbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
171.1Smatt	cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
181.1Smatt	${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
191.1Smatt	${STRIP} netbsd.tmp
201.1Smatt	gzip -9 netbsd.tmp
211.1Smatt	mv netbsd.tmp.gz ${.TARGET}
221.1SmattKERNELS+=	netbsd.${kernel}.gz
231.1Smatt.endfor
241.1Smatt
251.1Smattall: ${KERNELS}
261.1Smatt
271.1Smattrelease:
281.1Smatt	-mkdir -p ${RELEASEDIR}/binary/kernel
291.1Smatt	cp -p ${KERNELS} ${RELEASEDIR}/binary/kernel
301.1Smatt
311.1Smattclean cleandir distclean:
321.1Smatt	rm -f *.core ${KERNELS}
331.1Smatt
341.1Smatt.include <bsd.own.mk>
351.1Smatt.include <bsd.obj.mk>
361.1Smatt.include <bsd.subdir.mk>
37

Indexes created Thu Dec 11 22:09:38 GMT 2025