From db37cd8003c371210064ba9f9a9c279f13a175d2 Mon Sep 17 00:00:00 2001 From: Tobias Weingartner Date: Mon, 31 Mar 1997 03:12:20 +0000 Subject: Initial /boot stuff (from Mickey) --- sys/arch/i386/stand/libsa/Makefile | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 sys/arch/i386/stand/libsa/Makefile (limited to 'sys/arch/i386/stand/libsa/Makefile') diff --git a/sys/arch/i386/stand/libsa/Makefile b/sys/arch/i386/stand/libsa/Makefile new file mode 100644 index 00000000000..42b2feed81e --- /dev/null +++ b/sys/arch/i386/stand/libsa/Makefile @@ -0,0 +1,51 @@ +# $OpenBSD: Makefile,v 1.2 1997/03/31 03:12:08 weingart Exp $ + + +LIB= sa + +CFLAGS+=-Wall +#CFLAGS+=-DBIOS_DEBUG +CFLAGS+=-DEXEC_DEBUG +CFLAGS+=-DNO_IDTR +CFLAGS+=-DHEAP_START="0x10000" +CFLAGS+=-DHEAP_LIMIT="0xa0000" +CFLAGS+=-D__INTERNAL_LIBSA_CREAD +CFLAGS+=${DEBUGFLAGS} -I${.CURDIR} -I${.CURDIR}/.. +CFLAGS+=-I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libsa +#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 \ + strncmp.c memcmp.c memcpy.c memset.c printf.c strerror.c strncpy.c + +# io routines +SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \ + open.c read.c stat.c write.c cread.c readdir.c cons.c + +# network routines +SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c + +# network info services +SRCS+= bootp.c bootparam.c rarp.c + +# boot filesystems +SRCS+= ufs.c nfs.c + +# i386 stuff +SRCS+= asm.S bioscom.S biosdev.c biosdisk.S bioskbd.S biostime.S startprog.S \ + dev_i386.c exec_i386.c gateA20.c memprobe.c memsize.S probe_keyboard.c \ + real_prot.S srt0.S unixsys.S + +NOPROFILE=noprofile +NOPIC=nopic + +.PATH: ${DIR_SA} ${DIR_KERN} + +all: ${SALIB} + +.include + -- cgit v1.2.3