diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-17 08:33:08 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-17 08:33:08 +0000 |
commit | 316d268ee39e01f3142870210fbd987b6ff2c560 (patch) | |
tree | bc7cac01fe3e1ad751789f71793665a4fad8dc55 /sys/arch/hp300/stand/libkern/Makefile.inc | |
parent | cd74f171ba09aeab84ca45e1fc7af11b7f2caee1 (diff) |
hp300 bootblocks, sync'd with NetBSD 011697, with changes and a new build
method.
Diffstat (limited to 'sys/arch/hp300/stand/libkern/Makefile.inc')
-rw-r--r-- | sys/arch/hp300/stand/libkern/Makefile.inc | 23 |
1 files changed, 23 insertions, 0 deletions
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 |