summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/libkern
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-14 08:15:01 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-14 08:15:01 +0000
commit68982ee9315c1d2dfd5ae49889ef59a9a0a2b18e (patch)
tree49722ae0f8e398f3a79268c08a236e5b9bf0c3ad /sys/arch/hp300/stand/libkern
parent5f2612599833ff2e0bc32cb218ce6f42643092b2 (diff)
The grand reorganization, OpenBSD style.
Lossely based on the NetBSD reorg, but much improved upon, simpler, and doesn't scribble needless junk into the bootblocks.
Diffstat (limited to 'sys/arch/hp300/stand/libkern')
-rw-r--r--sys/arch/hp300/stand/libkern/Makefile10
-rw-r--r--sys/arch/hp300/stand/libkern/Makefile.inc31
2 files changed, 5 insertions, 36 deletions
diff --git a/sys/arch/hp300/stand/libkern/Makefile b/sys/arch/hp300/stand/libkern/Makefile
index dea3881efe7..b42fddeefa0 100644
--- a/sys/arch/hp300/stand/libkern/Makefile
+++ b/sys/arch/hp300/stand/libkern/Makefile
@@ -1,18 +1,18 @@
-# $OpenBSD: Makefile,v 1.2 1997/01/18 03:18:18 downsj Exp $
+# $OpenBSD: Makefile,v 1.3 1997/07/14 08:14:44 downsj Exp $
LIB= kern
.PATH: ${.CURDIR}/../../../../lib/libkern
-.PATH: ${.CURDIR}/..
-CFLAGS+-Dhp300 =${DEBUGFLAGS}
-CFLAGS+=-I${.CURDIR}/..
-CFLAGS+=-I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libkern
+CFLAGS= -O2 -msoft-float -I${.CURDIR}/../include \
+ -I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libkern
# kern routines
SRCS= __main.c ashrdi3.c divdi3.c qdivrem.c strlen.c strcat.c strcmp.c \
strcpy.c strncmp.c umoddi3.c
+${OBJS}: ${.CURDIR}/../Makefile.inc
+
NOPROFILE=
NOPIC=
diff --git a/sys/arch/hp300/stand/libkern/Makefile.inc b/sys/arch/hp300/stand/libkern/Makefile.inc
deleted file mode 100644
index dc36d1b2148..00000000000
--- a/sys/arch/hp300/stand/libkern/Makefile.inc
+++ /dev/null
@@ -1,31 +0,0 @@
-# $OpenBSD: Makefile.inc,v 1.2 1997/04/16 12:38:25 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)
-
-cleandir: .NOTMAIN __always_make_kern_lib
- @echo cleandiring the kernel library objects
- @(cd $(KERN_DIR) ; make cleandir)
-
-depend:: .NOTMAIN __always_make_kern_lib
- @echo depending the kernel library objects
- @(cd $(KERN_DIR) ; make depend)
-
-__always_make_kern_lib: .NOTMAIN