kernel/mkfiles/turbocpp.mak

54 lines
1.3 KiB
Makefile
Raw Normal View History

2012-10-15 02:08:06 +02:00
#
# TURBOCPP.MAK - kernel copiler options for TCPP 1.01
#
# Use these for Turbo CPP 1.01
COMPILERPATH=$(TP1_BASE)
COMPILERBIN=$(COMPILERPATH)\bin
CC=$(COMPILERBIN)\tcc -c
CL=$(COMPILERBIN)\tcc
INCLUDEPATH=$(COMPILERPATH)\include
LIBUTIL=$(COMPILERBIN)\tlib
LIBPATH=$(COMPILERPATH)\lib
LIBTERM=
LIBPLUS=+
TINY=-lt
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
CFLAGSC=-L$(LIBPATH) -a- -mc
TARGET=KTP
# used for building the library
CLIB=$(COMPILERPATH)\lib\cs.lib
MATH_EXTRACT=*H_LDIV *H_LLSH *H_LURSH *F_LXMUL
MATH_INSERT=+H_LDIV +H_LLSH +H_LURSH +F_LXMUL
#
# 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
#
ALLCFLAGS=$(TARGETOPT) -zCHMA_TEXT $(ALLCFLAGS)
INITCFLAGS=$(ALLCFLAGS) -zCINIT_TEXT -zDIB -zRID -zTID -zBIB -zGI_GROUP -zSI_GROUP
CFLAGS=$(ALLCFLAGS)