diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/Makefile')
-rw-r--r-- | sys/arch/i386/stand/libsa/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/libsa/Makefile b/sys/arch/i386/stand/libsa/Makefile index 67be2420a55..a12565b7cef 100644 --- a/sys/arch/i386/stand/libsa/Makefile +++ b/sys/arch/i386/stand/libsa/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.30 1998/02/24 22:06:42 weingart Exp $ +# $OpenBSD: Makefile,v 1.31 1998/05/25 19:20:50 mickey Exp $ +.include "${.CURDIR}/../Makefile.inc" LIB= sa @@ -7,17 +8,24 @@ S=${.CURDIR}/../../../.. SADIR=${.CURDIR}/.. DIR_SA= $S/lib/libsa DIR_KERN=$S/lib/libkern - -#AS=cat ; -#AS+= -R -#AS+= -a +CLEANFILES=i386 machine # i386 stuff (so, it will possibly load in the same 64k) -SRCS= gidt.S debug_i386.S alloca.S \ - machdep.c dev_i386.c exec_i386.c cmd_i386.c \ +SRCS+= machdep.c dev_i386.c exec_i386.c cmd_i386.c + +.if defined(DEBUGFLAGS) && !empty(DEBUGFLAGS:M-D_TEST) +SRCS+= unixdev.c unixsys.S nullfs.c +CLEANFILES+= gidt.o debug_i386.o alloca.o \ + biosdev.o bioscons.o gateA20.o apmprobe.o \ + memprobe.o diskprobe.o pciprobe.o smpprobe.o \ + time.o +.else +SRCS+= gidt.S debug_i386.S alloca.S \ biosdev.c bioscons.c gateA20.c apmprobe.c \ memprobe.c diskprobe.c pciprobe.c smpprobe.c \ time.c +CLEANFILES+= unixdev.o unixsys.o nullfs.o +.endif # stand routines SRCS+= alloc.c exit.c exec.c getfile.c gets.c globals.c strcmp.c strlen.c \ @@ -62,3 +70,6 @@ install: CPPFLAGS+=-DLINKADDR=${LINKADDR} -DHEAP_LIMIT=${HEAP_LIMIT} ${DEBUGFLAGS} CPPFLAGS+=-I${S}/stand/boot CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD +#AS=cat ; +#AS+= -R +#AS+= -a |