2001-11-04 22:43:35 +01:00
|
|
|
#
|
|
|
|
# MSCL8.MAK - kernel copiler options for MS CL8 = MSVC1.52
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use these for MSCV 1.52
|
|
|
|
COMPILERPATH=$(MS_BASE)
|
|
|
|
COMPILERBIN=$(COMPILERPATH)\bin
|
|
|
|
INCLUDEPATH=$(COMPILERPATH)\include
|
|
|
|
CC=$(COMPILERBIN)\cl
|
2001-11-14 00:36:45 +01:00
|
|
|
CFLAGST=/Fm /AT /Os
|
|
|
|
CFLAGSC=/Fm /AL /Os
|
2001-11-04 22:43:35 +01:00
|
|
|
LIBPATH=$(COMPILERPATH)\lib
|
2001-11-14 00:36:45 +01:00
|
|
|
LIB=$(COMPILERPATH)\lib
|
|
|
|
INCLUDE=$(COMPILERPATH)\include
|
2001-11-04 22:43:35 +01:00
|
|
|
LIBUTIL=$(COMPILERBIN)\lib /nologo
|
2001-11-14 00:36:45 +01:00
|
|
|
LIBPLUS=+
|
2001-11-04 22:43:35 +01:00
|
|
|
LIBTERM=;
|
2001-11-14 00:36:45 +01:00
|
|
|
INCLUDE=$(COMPILERPATH)\include
|
|
|
|
LIB=$(COMPILERPATH)\lib
|
2001-11-04 22:43:35 +01:00
|
|
|
|
|
|
|
# used for building the library
|
|
|
|
|
|
|
|
CLIB=$(COMPILERPATH)\lib\slibce.lib
|
|
|
|
MATH_EXTRACT=*aflmul *aFlshl *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv
|
|
|
|
MATH_INSERT= +aflmul +aFlshl +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv
|
|
|
|
|
2001-11-14 00:36:45 +01:00
|
|
|
TARGETOPT=
|
2001-11-04 22:43:35 +01:00
|
|
|
!if $(XCPU) == 186
|
|
|
|
TARGETOPT=-G1
|
2001-11-14 00:36:45 +01:00
|
|
|
!endif
|
2001-11-04 22:43:35 +01:00
|
|
|
!if $(XCPU) == 386
|
|
|
|
TARGETOPT=-G3
|
2001-11-14 00:36:45 +01:00
|
|
|
!endif
|
2001-11-04 22:43:35 +01:00
|
|
|
|
|
|
|
TARGET=KMS
|
|
|
|
|
|
|
|
#
|
|
|
|
# heavy stuff - building
|
|
|
|
|
|
|
|
|
2001-11-18 00:26:45 +01:00
|
|
|
ALLCFLAGS=-I..\hdr $(TARGETOPT) $(ALLCFLAGS) -nologo -Zl -Fc -Zp1 -WX -Gr -f- -Os -Gs -Ob1 -OV4 -Gy -Oe
|
|
|
|
|
2001-11-14 00:36:45 +01:00
|
|
|
INITCFLAGS=$(ALLCFLAGS) -NTINIT_TEXT -AT
|
|
|
|
CFLAGS=$(ALLCFLAGS) -NTHMA_TEXT
|
|
|
|
DYNCFLAGS=$(ALLCFLAGS) -NTHMA_TEXT
|
|
|
|
PATCHOBJ=patchobj
|