2001-11-04 22:43:35 +01:00
|
|
|
|
#
|
|
|
|
|
# BC5.MAK - kernel copiler options for Borland C++
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Use these for Borland C++
|
|
|
|
|
|
|
|
|
|
COMPILERPATH=$(BC5_BASE)
|
|
|
|
|
COMPILERBIN=$(COMPILERPATH)\bin
|
2002-08-02 23:53:00 +02:00
|
|
|
|
CC=$(COMPILERBIN)\bcc -c
|
|
|
|
|
CL=$(COMPILERBIN)\bcc
|
2001-11-04 22:43:35 +01:00
|
|
|
|
INCLUDEPATH=$(COMPILERPATH)\include
|
|
|
|
|
LIBUTIL=$(COMPILERBIN)\tlib
|
|
|
|
|
LIBPATH=$(COMPILERPATH)\lib
|
|
|
|
|
LIBTERM=
|
|
|
|
|
LIBPLUS=+
|
|
|
|
|
|
2002-08-02 23:53:00 +02:00
|
|
|
|
TINY=-lt
|
2002-10-22 04:40:19 +02:00
|
|
|
|
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
|
2001-11-14 00:36:45 +01:00
|
|
|
|
CFLAGSC=-L$(LIBPATH) -a- -mc
|
|
|
|
|
|
2001-11-04 22:43:35 +01:00
|
|
|
|
TARGET=KBC
|
|
|
|
|
|
|
|
|
|
# used for building the library
|
|
|
|
|
|
|
|
|
|
CLIB=$(COMPILERPATH)\lib\cs.lib
|
2003-03-12 23:43:53 +01:00
|
|
|
|
MATH_EXTRACT=*H_LDIV *H_LLSH *H_LURSH *F_LXMUL
|
|
|
|
|
MATH_INSERT=+H_LDIV +H_LLSH +H_LURSH +F_LXMUL
|
2001-11-04 22:43:35 +01:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# heavy stuff - building the kernel
|
|
|
|
|
# Compiler and Options for Borland C++
|
|
|
|
|
# ------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# -zAname <20> <20> Code class
|
|
|
|
|
# -zBname <20> <20> BSS class
|
|
|
|
|
# -zCname <20> <20> Code segment
|
|
|
|
|
# -zDname <20> <20> BSS segment
|
|
|
|
|
# -zEname <20> <20> Far segment
|
|
|
|
|
# -zFname <20> <20> Far class
|
|
|
|
|
# -zGname <20> <20> BSS group
|
|
|
|
|
# -zHname <20> <20> Far group
|
|
|
|
|
# -zPname <20> <20> Code group
|
|
|
|
|
# -zRname <20> <20> Data segment
|
|
|
|
|
# -zSname <20> <20> Data group
|
|
|
|
|
# -zTname <20> <20> Data class
|
|
|
|
|
# -zX <20><><EFBFBD> Use default name for "X"
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# ALLCFLAGS specified by turbo.cfg and config.mak
|
|
|
|
|
#
|
2003-03-12 23:43:53 +01:00
|
|
|
|
ALLCFLAGS=$(TARGETOPT) -zCHMA_TEXT $(ALLCFLAGS)
|
2003-06-15 14:56:57 +02:00
|
|
|
|
INITCFLAGS=$(ALLCFLAGS) -zCINIT_TEXT -zDIB -zRID -zTID -zBIB -zGI_GROUP -zSI_GROUP
|
2002-12-09 01:17:15 +01:00
|
|
|
|
CFLAGS=$(ALLCFLAGS)
|