From 316d268ee39e01f3142870210fbd987b6ff2c560 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Fri, 17 Jan 1997 08:33:08 +0000 Subject: hp300 bootblocks, sync'd with NetBSD 011697, with changes and a new build method. --- sys/arch/hp300/stand/libkern/Makefile.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys/arch/hp300/stand/libkern/Makefile.inc (limited to 'sys/arch/hp300/stand/libkern/Makefile.inc') diff --git a/sys/arch/hp300/stand/libkern/Makefile.inc b/sys/arch/hp300/stand/libkern/Makefile.inc new file mode 100644 index 00000000000..4dc628fd6a1 --- /dev/null +++ b/sys/arch/hp300/stand/libkern/Makefile.inc @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile.inc,v 1.1 1997/01/17 08:33:05 downsj Exp $ + +# NOTE: $S must correspond to the top of the 'sys' tree + +KERN_DIR= $S/arch/hp300/stand/libkern + +.if exists($(KERN_DIR)/${__objdir}) +KERN_LIBDIR= $(KERN_DIR)/${__objdir} +.else +KERN_LIBDIR= $(KERN_DIR) +.endif + +KERN_LIB= $(KERN_LIBDIR)/libkern.a + +$(KERN_LIB): .NOTMAIN __always_make_kern_lib + @echo making sure the kernel library is up to date... + @(cd $(KERN_DIR) ; make) + +clean:: .NOTMAIN __always_make_kern_lib + @echo cleaning the kernel library objects + @(cd $(KERN_DIR) ; make clean) + +__always_make_kern_lib: .NOTMAIN -- cgit v1.2.3