summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/Makefile
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-01 04:52:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-01 04:52:48 +0000
commit578efbfa2de99f72e0c84130ddba49afb782a27e (patch)
treee8820b312f1a4d4f4d7c26f08d883c7e2603f798 /sys/arch/i386/stand/libsa/Makefile
parent905b4f13d1f353ceb071c91af223a162c645bd13 (diff)
debugger started.
only one entry for now: chek_regs (use DUMP_REGS macro instead) dumps registers. must be called by lcall or so (to push %cs)
Diffstat (limited to 'sys/arch/i386/stand/libsa/Makefile')
-rw-r--r--sys/arch/i386/stand/libsa/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/libsa/Makefile b/sys/arch/i386/stand/libsa/Makefile
index 23103a5ca61..87ff92e9159 100644
--- a/sys/arch/i386/stand/libsa/Makefile
+++ b/sys/arch/i386/stand/libsa/Makefile
@@ -1,19 +1,19 @@
-# $OpenBSD: Makefile,v 1.4 1997/03/31 23:06:25 mickey Exp $
+# $OpenBSD: Makefile,v 1.5 1997/04/01 04:52:44 mickey Exp $
LIB= sa
+S=${.CURDIR}/../../../..
+DIR_SA= $S/lib/libsa
+DIR_KERN=$S/lib/libkern
+
CFLAGS+=$(SACFLAGS) -D__INTERNAL_LIBSA_CREAD
CFLAGS+=-DHEAP_START=$(HEAP_START) -DHEAP_LIMIT=$(HEAP_LIMIT)
CFLAGS+=${DEBUGFLAGS} -I${.CURDIR} -I${.CURDIR}/..
-CFLAGS+=-I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libsa
+CFLAGS+=-I$(S)/lib/libsa -I$(S)
AS+= -R
#AS+= -Wa,-a
-S=${.CURDIR}/../../../..
-DIR_SA= $S/lib/libsa
-DIR_KERN=$S/lib/libkern
-
# stand routines
SRCS= alloc.c exit.c exec.c getfile.c gets.c globals.c strcmp.c strlen.c \
strncmp.c memcmp.c memcpy.c memset.c printf.c strerror.c strncpy.c
@@ -34,6 +34,9 @@ SRCS+= bootp.c bootparam.c rarp.c
# boot filesystems
SRCS+= ufs.c nfs.c cd9660.c
+# debugger
+SRCS+= debug.c debug_aout.c debug_i386.S
+
# i386 stuff
SRCS+= asm.S bioscom.S biosdev.c biosdisk.S bioskbd.S biostime.S biosmem.S \
dev_i386.c gateA20.c memprobe.c real_prot.S unixsys.S exec_i386.S