# ******** STRIPLIN=0 ******** # This comment line is used by an automatic cleansing program to # remove all Microsoft-proprietary information from this makefile. # ******** !ifdef NTMAKEENV all: clean: !else # NTMAKEENV !if "$(LLP64)"=="0" ! if "$(BLD_SYSCRT)"!="1" DLL_VERSION=70 # Win32 VC CRT ! else DLL_VERSION=70 # Win32 System CRT ! endif !else ! if "$(BLD_SYSCRT)"=="0" DLL_VERSION=70 # Win64 VC CRT ! else DLL_VERSION=60 # Win64 System CRT BLD_SYSCRT=1 # ... default to system CRT for now ! endif !endif !if "$(BLD_TESTCRT)"=="1" RETAIL_DLL_NAME=testcrt RETAIL_DLL_NAME_UC=TESTCRT RETAIL_LIB_NAME=msvcrt DEBUG_DLL_NAME=testcrtd DEBUG_DLL_NAME_UC=TESTCRTD DEBUG_LIB_NAME=msvcrtd !elseif "$(BLD_SYSCRT)"=="1" RETAIL_DLL_NAME=msvcrt RETAIL_DLL_NAME_UC=MSVCRT DEBUG_DLL_NAME=msvcrtd DEBUG_DLL_NAME_UC=MSVCRTD ! if "$(LLP64)"=="0" RETAIL_LIB_NAME=msvcrt DEBUG_LIB_NAME=msvcrtd ! else RETAIL_LIB_NAME=msvcrt DEBUG_LIB_NAME=msvcrtd ! endif !else RETAIL_DLL_NAME=msvcr$(DLL_VERSION) RETAIL_DLL_NAME_UC=MSVCR$(DLL_VERSION) RETAIL_LIB_NAME=msvcrt DEBUG_DLL_NAME=msvcr$(DLL_VERSION)d DEBUG_DLL_NAME_UC=MSVCR$(DLL_VERSION)D DEBUG_LIB_NAME=msvcrtd !endif !if "$(BLD_TESTCRT)"=="1" RETAIL_DLLCPP_NAME=testprt RETAIL_DLLCPP_NAME_UC=TESTPRT RETAIL_LIBCPP_NAME=msvcprt DEBUG_DLLCPP_NAME=testprtd DEBUG_DLLCPP_NAME_UC=TESTPRTD DEBUG_LIBCPP_NAME=msvcprtd !elseif "$(BLD_SYSCRT)"=="1" ! if "$(LLP64)"=="0" RETAIL_DLLCPP_NAME=syspr$(DLL_VERSION) RETAIL_DLLCPP_NAME_UC=SYSPR$(DLL_VERSION) RETAIL_LIBCPP_NAME=msvcprt DEBUG_DLLCPP_NAME=syspr$(DLL_VERSION)d DEBUG_DLLCPP_NAME_UC=SYSPR$(DLL_VERSION)D DEBUG_LIBCPP_NAME=msvcprtd ! else RETAIL_DLLCPP_NAME=msvcp$(DLL_VERSION) RETAIL_DLLCPP_NAME_UC=MSVCP$(DLL_VERSION) RETAIL_LIBCPP_NAME=msvcprt DEBUG_DLLCPP_NAME=msvcp$(DLL_VERSION)d DEBUG_DLLCPP_NAME_UC=MSVCP$(DLL_VERSION)D DEBUG_LIBCPP_NAME=msvcprtd ! endif !else RETAIL_DLLCPP_NAME=msvcp$(DLL_VERSION) RETAIL_DLLCPP_NAME_UC=MSVCP$(DLL_VERSION) RETAIL_LIBCPP_NAME=msvcprt DEBUG_DLLCPP_NAME=msvcp$(DLL_VERSION)d DEBUG_DLLCPP_NAME_UC=MSVCP$(DLL_VERSION)D DEBUG_LIBCPP_NAME=msvcprtd !endif !if "$(BLD_TESTCRT)"=="1" RETAIL_DLLIOS_NAME=testirt RETAIL_DLLIOS_NAME_UC=TESTIRT RETAIL_LIBIOS_NAME=msvcirt DEBUG_DLLIOS_NAME=testirtd DEBUG_DLLIOS_NAME_UC=TESTIRTD DEBUG_LIBIOS_NAME=msvcirtd !elseif "$(BLD_SYSCRT)"=="1" RETAIL_DLLIOS_NAME=msvcirt RETAIL_DLLIOS_NAME_UC=MSVCIRT DEBUG_DLLIOS_NAME=msvcirtd DEBUG_DLLIOS_NAME_UC=MSVCIRTD ! if "$(LLP64)"=="0" RETAIL_LIBIOS_NAME=msvcirt DEBUG_LIBIOS_NAME=msvcirtd ! else RETAIL_LIBIOS_NAME=msvcirt DEBUG_LIBIOS_NAME=msvcirtd ! endif !else RETAIL_DLLIOS_NAME=msvci$(DLL_VERSION) RETAIL_DLLIOS_NAME_UC=MSVCI$(DLL_VERSION) RETAIL_LIBIOS_NAME=msvcirt DEBUG_DLLIOS_NAME=msvci$(DLL_VERSION)d DEBUG_DLLIOS_NAME_UC=MSVCI$(DLL_VERSION)D DEBUG_LIBIOS_NAME=msvcirtd !endif !if "$(BLD_SYSCRT)"!="1" RC_NAME=msvcrt RCCPP_NAME=msvcprt RCIOS_NAME=msvcirt !else ! if "$(LLP64)"=="0" RC_NAME=syscrt RCCPP_NAME=sysprt RCIOS_NAME=sysirt ! else RC_NAME=syscrt64 RCCPP_NAME=sysprt64 RCIOS_NAME=sysirt64 ! endif !endif RETAIL_FWDRDLL_NAME=msvcrt40 DEBUG_FWDRDLL_NAME=msvcr40d # ******** STRIPLIN=1 ******** #### # makefile - Makefile for Microsoft Visual C++ Run-Time Libraries # # Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved. # # Purpose: # This makefile builds the Visual C++ run-time release libraries. # Just type NMAKE in the \MSDEV\CRT\SRC directory to build all target # libraries. # ############################################################################### # ******** STRIPLIN=2 ******** ## ## The name of the user-generated C/C++ Run-Time Library DLL and ## imports library can be set here. Names beginning with MSVC* ## may not be used as these are reserved for use by Microsoft. ## The names shown here are samples and are for information only. ## #RETAIL_DLL_NAME=_sample_ #RETAIL_LIB_NAME=_sample_ #RETAIL_DLLCPP_NAME=sample_p #RETAIL_LIBCPP_NAME=sample_p #RETAIL_DLLIOS_NAME=sample_i #RETAIL_LIBIOS_NAME=sample_i #DEBUG_DLL_NAME=_sampld_ #DEBUG_LIB_NAME=_sampld_ #DEBUG_DLLCPP_NAME=sampld_p #DEBUG_LIBCPP_NAME=sampld_p #DEBUG_DLLIOS_NAME=sampld_i #DEBUG_LIBIOS_NAME=sampld_i #RC_NAME=_sample_ #RCCPP_NAME=sample_p #RCIOS_NAME=sample_i ## #POST_BLD=1 # ## If your MSVC++ 7.0 installation is not in the default installation path ## of "\Program Files\Microsoft Visual Studio .NET\Vc7" on the current drive, ## set the environment variable VCTOOLS to point to the main directory ## of your installation. (For example, "set VCTOOLS=C:\VS.NET\VC7".) # #!if "$(VCTOOLS)"=="" #VCTOOLS=\Program Files\Microsoft Visual Studio .NET\Vc7 #!endif # #!if "$(VCTOOLSINC)"=="" #VCTOOLSINC=$(VCTOOLS)\PlatformSDK\include #!endif # ## Uncomment the following assignment if you do not want the release CRTs ## to be re-built with debug information. # ##BLD_REL_NO_DBINFO=1 # ******** STRIPLIN=0 ******** # We need a definition of VCTOOLSINC, primarily to find $(VCTOOLSINC)\winver.h. # Look for it in the following order: # # $(VCTOOLSINC) # $(VCTOOLS)\include, then ...\inc # $(DEVTOOLS)\common\win32sdk\include, then ...\inc !if !defined(VCTOOLSINC) ! if !defined(VCTOOLS) ! if defined(DEVTOOLS) VCTOOLS=$(DEVTOOLS)\common\win32sdk ! endif ! endif ! if defined(VCTOOLS) ! if exist("$(VCTOOLS)\include") VCTOOLSINC=$(VCTOOLS)\include ! elseif exist("$(VCTOOLS)\inc") VCTOOLSINC=$(VCTOOLS)\inc ! else # For better error reporting below: VCTOOLSINC=$(VCTOOLS)\include ! endif ! endif !endif !if !defined(VCTOOLSINC) || !exist("$(VCTOOLSINC)\winver.h") ! message ! message ************************************************************ ! message Unable to find include directory containing winver.h that is ! message required to build the C Runtimes. ! message ! if defined(VCTOOLSINC) ! message Could not find "$(VCTOOLSINC)\winver.h". ! message ! message Searching using: ! message DEVTOOLS: $(DEVTOOLS) ! message VCTOOLS: $(VCTOOLS) ! message VCTOOLSINC: $(VCTOOLSINC) ! message ! endif ! message Set at least one of the environment variables DEVTOOLS, ! message VCTOOLS, or VCTOOLSINC, and the include directory will be ! message searched for in the order: ! message ! message $$(VCTOOLSINC) ! message $$(VCTOOLS)\include, then ...\inc ! message $$(DEVTOOLS)\common\win32sdk\include, then ...\inc ! message ************************************************************ ! message ! error Define environment variable and rebuild. !endif !if !defined(LANGAPI) ! message ! message ************************************************************ ! message The environment variable LANGAPI must be set to point to a ! message copy of the LANGAPI project for the C Runtime build to work. ! message ************************************************************ ! message ! error Define environment variable LANGAPI and rebuild. !endif # ******** STRIPLIN=1 ******** # # Directories, Tools and Misc Definitions: # ############################################################################### # # Determine target CPU, defaulting to same as host CPU. # ############################################################################### !if "$(PROCESSOR_ARCHITECTURE)"=="x86" HOST_CPU = i386 !if "$(LLP64)"=="1" TARGET_CPU = IA64 CPUDIR = ia64 PREFIX=. IMP_PREFIX= !elseif "$(LLP64)"=="2" TARGET_CPU = AMD64 CPUDIR = amd64 PREFIX= IMP_PREFIX= !else TARGET_CPU = i386 CPUDIR = intel PREFIX=_ IMP_PREFIX=_ !endif # ******** STRIPLIN=0 ******** !elseif "$(PROCESSOR_ARCHITECTURE)"=="IA64" HOST_CPU = IA64 TARGET_CPU = IA64 CPUDIR = ia64 PREFIX=. IMP_PREFIX= # ******** STRIPLIN=1 ******** !else !error makefile: unknown host CPU !endif # ******** STRIPLIN=0 ******** !message !message CRT Makefile is using: !message TARGET: $(TARGET_CPU) !message VCTOOLS: $(VCTOOLS) !message VCTOOLSINC: $(VCTOOLSINC) !message LANGAPI: $(LANGAPI) !message LLP64: $(LLP64) !message BLD_SYSCRT: $(BLD_SYSCRT) !message # ******** STRIPLIN=1 ******** # Build WINHEAP version of heap manager WINHEAP = YES # ******** STRIPLIN=2 ******** ## Include RunTimeCheck support # #RTC = YES # #STDCPP_SRC = stdcpp # ******** STRIPLIN=0 ******** # Build RunTimeCheck version for Win32 VC CRT only !if "$(BLD_SYSCRT)" != "1" && "$(LLP64)" == "0" RTC = YES !else RTC = NO !endif # Win64 system CRT builds the STL component from stdcpp64/stdhpp64. !if "$(BLD_SYSCRT)" == "0" || "$(LLP64)" == "0" STDCPP_SRC = stdcpp !else STDCPP_SRC = stdcpp64 !endif # ******** STRIPLIN=1 ******** SOURCE_OBJS = $(SOURCE_OBJS_RAW:*=*_obj) CPPSRC_OBJS = $(CPPSRC_OBJS_RAW:*=*_obj) IOSSRC_OBJS = $(IOSSRC_OBJS_RAW:*=*_obj) SOURCE_OBJS_DLL = $(SOURCE_OBJS_RAW_DLL:*=*_obj) CPPSRC_OBJS_DLL = $(CPPSRC_OBJS_RAW_DLL:*=*_obj) IOSSRC_OBJS_DLL = $(IOSSRC_OBJS_RAW_DLL:*=*_obj) BSKU_OBJS = $(BSKU_OBJS_RAW:*=*_obj) # Source directories: # # These are the directories in which to run NMAKE to update the source # objects and libraries they provide. Note that there are slight # differences between the ST/MT models and the DLL model. # # The dependencies directory list DEP_DIRS is the union of the MAKE_DIRS # and MAKE_DIRS_DLL lists. # # In order to allow for auto source library calculation, each directory # name must be preceded by a tilde (~) and followed by an asterisk (*). !if "$(BLD_LIB)"=="" BLD_LIB=0 !endif !if "$(BLD_OBJ)"=="" BLD_OBJ=0 !endif # ******** STRIPLIN=0 ******** !if "$(POST_BLD)"=="" POST_BLD=0 !endif !if "$(PRE_BLD)"=="" # ******** STRIPLIN=1 ******** PRE_BLD=0 # ******** STRIPLIN=0 ******** !endif !if "$(POST_BLD)"=="1" # ******** STRIPLIN=1 ******** MAKE_DIRS = . MAKE_DIRSP = . MAKE_DIRSI = . MAKE_DIRS_BSKU = . MAKE_DIRS_DLL = . MAKE_DIRSP_DLL = . MAKE_DIRSI_DLL = . DEP_DIRS = . ALMAPLIB_DIR = $(CPUDIR) TCMAPLIB_DIR = $(CPUDIR) TCMAPDLLLIB_DIR = $(CPUDIR) SDKNAMESLIB_DIR = $(CPUDIR) # ******** STRIPLIN=0 ******** !else ALMAPLIB_DIR = $(OBJDIR_ST) TCMAPLIB_DIR = $(OBJDIR_ST) TCMAPDLLLIB_DIR = $(OBJDIR_DLL) SDKNAMESLIB_DIR = $(OBJDIR_DLL) !if "$(PRE_BLD)"=="1" MAKE_DIRS = \ crtw32\eh \ crtw32\linkopts \ crtw32\misc \ !if "$(RTC)"=="YES" crtw32\rtc \ !endif crtw32\startup \ !if "$(TARGET_CPU)"=="IA64" crtw32\string \ !endif fpw32\conv \ fpw32\tran MAKE_DIRS_DLL = \ crtw32\eh \ crtw32\misc \ crtw32\startup \ !if "$(TARGET_CPU)"=="IA64" crtw32\string \ !endif !if "$(RTC)"=="YES" crtw32\rtc \ !endif fpw32\conv \ fpw32\tran MAKE_DIRS_BSKU = \ crtw32\bsku DEP_DIRS = $(MAKE_DIRS) !else MAKE_DIRS = \ crtw32\convert \ crtw32\direct \ crtw32\dos \ crtw32\eh \ crtw32\exec \ crtw32\heap \ !if "$(TARGET_CPU)"!="IA64" crtw32\helper \ !endif crtw32\linkopts \ crtw32\lowio \ crtw32\mbstring \ crtw32\misc \ !if "$(RTC)"=="YES" crtw32\rtc \ !endif crtw32\startup \ crtw32\stdio \ crtw32\string \ crtw32\time \ fpw32\conv \ fpw32\tran MAKE_DIRSP = crtw32\$(STDCPP_SRC) MAKE_DIRSI = crtw32\iostream MAKE_DIRS_DLL = \ crtw32\convert \ crtw32\direct \ crtw32\dllstuff \ crtw32\dos \ crtw32\eh \ crtw32\exec \ crtw32\heap \ !if "$(TARGET_CPU)"!="IA64" crtw32\helper \ !endif crtw32\lowio \ crtw32\mbstring \ crtw32\misc \ !if "$(RTC)"=="YES" crtw32\rtc \ !endif crtw32\startup \ crtw32\stdio \ crtw32\string \ crtw32\time \ fpw32\conv \ fpw32\tran MAKE_DIRSP_DLL = crtw32\$(STDCPP_SRC) MAKE_DIRSI_DLL = crtw32\iostream DEP_DIRS = \ crtw32\convert \ crtw32\direct \ crtw32\dllstuff \ crtw32\dos \ crtw32\eh \ crtw32\exec \ crtw32\heap \ !if "$(TARGET_CPU)"!="IA64" crtw32\helper \ !endif crtw32\iostream \ crtw32\linkopts \ crtw32\lowio \ crtw32\mbstring \ crtw32\misc \ !if "$(RTC)"=="YES" crtw32\rtc \ !endif crtw32\startup \ crtw32\$(STDCPP_SRC) \ crtw32\stdio \ crtw32\string \ crtw32\time \ fpw32\conv \ fpw32\tran !endif !endif # ******** STRIPLIN=1 ******** # Source Objects: These are the objects and/or libraries which constitute # the statically linked library flavors (LIBC.LIB and LIBCMT.LIB). SOURCE_OBJS_RAW = \ build\$(CPUDIR)\*\convert.lib \ build\$(CPUDIR)\*\direct.lib \ build\$(CPUDIR)\*\dos.lib \ build\$(CPUDIR)\*\eh.lib \ build\$(CPUDIR)\*\exec.lib \ build\$(CPUDIR)\*\heap.lib \ !if "$(TARGET_CPU)"!="AMD64" build\$(CPUDIR)\*\helper.lib \ !endif build\$(CPUDIR)\*\lowio.lib \ build\$(CPUDIR)\*\mbstring.lib \ build\$(CPUDIR)\*\misc.lib \ !if "$(RTC)"=="YES" build\$(CPUDIR)\*\rtc.lib \ !endif build\$(CPUDIR)\*\startup.lib \ build\$(CPUDIR)\*\stdio.lib \ build\$(CPUDIR)\*\string.lib \ $(TCMAPLIB_DIR)\tcmap.lib \ $(ALMAPLIB_DIR)\almap.lib \ build\$(CPUDIR)\*\time.lib \ build\$(CPUDIR)\*\conv.lib \ build\$(CPUDIR)\*\tran.lib CPPSRC_OBJS_RAW = build\$(CPUDIR)\*\$(STDCPP_SRC).lib IOSSRC_OBJS_RAW = build\$(CPUDIR)\*\iostream.lib BSKU_OBJS_RAW = build\$(CPUDIR)\*\bsku.obj # Source Objects: These are the objects and/or libraries which constitute # the dynamically linked library flavor (MSVCRTx0.DLL). SOURCE_OBJS_RAW_DLL = \ build\$(CPUDIR)\*\_setargv.obj \ build\$(CPUDIR)\*\_wstargv.obj \ build\$(CPUDIR)\*\chkstk.obj \ build\$(CPUDIR)\*\crt0dat.obj \ build\$(CPUDIR)\*\crt0fp.obj \ build\$(CPUDIR)\*\crt0init.obj \ build\$(CPUDIR)\*\crt0msg.obj \ build\$(CPUDIR)\*\crtlib.obj \ build\$(CPUDIR)\*\mlock.obj \ build\$(CPUDIR)\*\stdargv.obj \ build\$(CPUDIR)\*\stdenvp.obj \ build\$(CPUDIR)\*\thread.obj \ build\$(CPUDIR)\*\threadex.obj \ build\$(CPUDIR)\*\tidtable.obj \ build\$(CPUDIR)\*\wild.obj \ build\$(CPUDIR)\*\wstdargv.obj \ build\$(CPUDIR)\*\wstdenvp.obj \ build\$(CPUDIR)\*\wwild.obj \ !if "$(TARGET_CPU)"=="i386" build\$(CPUDIR)\*\fp8.obj \ !endif build\$(CPUDIR)\*\convert.lib \ build\$(CPUDIR)\*\direct.lib \ build\$(CPUDIR)\*\dos.lib \ build\$(CPUDIR)\*\eh.lib \ build\$(CPUDIR)\*\exec.lib \ build\$(CPUDIR)\*\heap.lib \ !if "$(TARGET_CPU)"!="AMD64" build\$(CPUDIR)\*\helper.lib \ !endif build\$(CPUDIR)\*\lowio.lib \ build\$(CPUDIR)\*\mbstring.lib \ build\$(CPUDIR)\*\misc.lib \ !if "$(RTC)"=="YES" build\$(CPUDIR)\*\rtc.lib \ !endif build\$(CPUDIR)\*\stdio.lib \ build\$(CPUDIR)\*\string.lib \ build\$(CPUDIR)\*\time.lib \ build\$(CPUDIR)\*\conv.lib \ build\$(CPUDIR)\*\tran.lib CPPSRC_OBJS_RAW_DLL = build\$(CPUDIR)\*\$(STDCPP_SRC).lib IOSSRC_OBJS_RAW_DLL = build\$(CPUDIR)\*\iostream.lib UPDATE_MSG = *** Updating Component Objects *** # # Define names for the primary targets of this makefile. # ############################################################################### !if "$(IFLAG)"=="" IFLAG=-i !else IFLAG= !endif !if "$(CRT_RELDIR)"=="" CRT_RELDIR = build !endif RELDIR_CPU=$(CRT_RELDIR)\$(CPUDIR) # ******** STRIPLIN=0 ******** RELDIR_CPU_BSKU=$(CRT_RELDIR)\$(CPUDIR)\book !if "$(POST_BLD)"=="1" # ******** STRIPLIN=1 ******** DEFFILE_DIR=$(CPUDIR) DEFFILE2_DIR=. # ******** STRIPLIN=0 ******** !elseif "$(PRE_BLD)"=="1" DEFFILE_DIR=libw32\lib\$(TARGET_CPU) DEFFILE2_DIR=libw32\lib !else DEFFILE_DIR=$(RELDIR_CPU) DEFFILE2_DIR=$(RELDIR_CPU) !endif # ******** STRIPLIN=1 ******** # # Tools: # !if "$(VERBOSE)"!="1" LINKER=link -nologo LINKLIB=link -lib -nologo LINKIMPLIB=link -lib -nologo BSCMAKE=bscmake -nologo !else LINKER=link LINKLIB=link -lib LINKIMPLIB=link -lib BSCMAKE=bscmake !endif # ******** STRIPLIN=0 ******** !if "$(TARGET_CPU)"=="i386" LINKER=$(LINKER) -ignore:4006,4102,4197 !else LINKER=$(LINKER) -ignore:4006,4197 !endif LINKLIB=$(LINKLIB) -ignore:4006 LINKIMPLIB=$(LINKIMPLIB) -WX # ******** STRIPLIN=1 ******** !if "$(TARGET_CPU)"=="IA64" LINKER=$(LINKER) -machine:IA64 LINKLIB=$(LINKLIB) -machine:IA64 LINKIMPLIB=$(LINKIMPLIB) -machine:IA64 !endif COMMON_DEFS=-D_MBCS -D_MB_MAP_DIRECT -D_CRTBLD !if "$(WINHEAP)" == "YES" COMMON_DEFS=$(COMMON_DEFS) -DWINHEAP !endif !if "$(RTC)" == "YES" COMMON_DEFS=$(COMMON_DEFS) -D_RTC !endif !if "$(STDCPP_NOEH)" == "YES" COMMON_DEFS=$(COMMON_DEFS) -D_HAS_EXCEPTIONS=0 !endif # ******** STRIPLIN=0 ******** !if "$(BLD_SYSCRT)" == "1" COMMON_DEFS=$(COMMON_DEFS) -D_SYSCRT !endif # ******** STRIPLIN=1 ******** WINDOWS_H_DEFS=-DWIN32_LEAN_AND_MEAN -DNOSERVICE CC_OPTS_BASE=-c -nologo -Zelp8 -W3 -WX -GFy -DWIN32 !if "$(TARGET_CPU)"=="i386" CC_OPTS_BASE=$(CC_OPTS_BASE) -GB -Gi- -GS AS_OPTS=-c -nologo -coff -Cx -Zm -DQUIET -D?QUIET -Di386 -D_WIN32 -DWIN32 !elseif "$(TARGET_CPU)"=="IA64" # CC_OPTS_BASE=$(CC_OPTS_BASE) -Ap32 # ******** STRIPLIN=0 ******** !elseif "$(TARGET_CPU)"=="AMD64" CC_OPTS_BASE=$(CC_OPTS_BASE) AS_OPTS=-nologo -D_WIN32 -DWIN32 -D_WIN64 # ******** STRIPLIN=1 ******** ZDEBUGTYPE=cv XDEBUGTYPE=cv !else CC_OPTS_BASE=$(CC_OPTS_BASE) -Gi- AS_OPTS=-c -nologo -D_WIN32 -DWIN32 !endif # ******** STRIPLIN=0 ******** !if ("$(TARGET_CPU)" == "IA64" || "$(TARGET_CPU)" == "AMD64") && "$(BLD_SYSCRT)"=="1" !else # ******** STRIPLIN=1 ******** CC_OPTS_BASE=$(CC_OPTS_BASE) -Zc:wchar_t -Zc:forScope !endif # STRIPLIN! CC_OPTS=$(CC_OPTS_BASE) $(WINDOWS_H_DEFS) # ******** STRIPLIN=0 ******** !if "$(BLD_CRT_LTCG)"=="1" LINKER=$(LINKER) -ltcg:nostatus LINKLIB=$(LINKLIB) -ltcg:nostatus LINKIMPLIB=$(LINKIMPLIB) -ltcg:nostatus !endif # ******** STRIPLIN=1 ******** ST_DEFINES=$(COMMON_DEFS) STIOS_DEFINES=$(ST_DEFINES) -D_OLD_IOSTREAMS MT_DEFINES=$(ST_DEFINES) -D_MT MTIOS_DEFINES=$(MT_DEFINES) -D_OLD_IOSTREAMS DLL_DEFINES=$(MT_DEFINES) -DCRTDLL DLLCPP_DEFINES=$(MT_DEFINES) -D_DLL -DCRTDLL2 DLLIOS_DEFINES=$(MTIOS_DEFINES) -D_DLL -DCRTDLL1 RC_OPTS=-l 409 -r RC_DEFS=$(COMMON_DEFS) $(WINDOWS_H_DEFS) # ******** STRIPLIN=2 ******** #RC_INCS=-I"$(VCTOOLSINC)" # ******** STRIPLIN=0 ******** RC_INCS=-I$(LANGAPI)\include -I"$(VCTOOLSINC)" !if "$(PRE_BLD)"=="1" PDBDIR_PREFIX = ..\..\..\src\ # !else # ******** STRIPLIN=1 ******** PDBDIR_PREFIX = ..\..\ # # ******** STRIPLIN=0 ******** !endif # ******** STRIPLIN=1 ******** PDBDIR_CPU = $(RELDIR_CPU) # ******** STRIPLIN=0 ******** PDBDIR_CPU_BSKU = $(RELDIR_CPU_BSKU) !if ("$(PRE_BLD)"=="1" || "$(POST_BLD)"=="1") && "$(BLD_SYSCRT)"=="1" PDBDIR_CPU_DLL = $(PDBDIR_CPU)\dll_pdb !else # ******** STRIPLIN=1 ******** PDBDIR_CPU_DLL = $(PDBDIR_CPU) # ******** STRIPLIN=0 ******** !endif # ******** STRIPLIN=1 ******** RELEASE_CHELPER = $(RELDIR_CPU)\chelper.lib RELEASE_LIBCST = $(RELDIR_CPU)\libc.lib RELEASE_LIBCPPST = $(RELDIR_CPU)\libcp.lib RELEASE_LIBIOSST = $(RELDIR_CPU)\libci.lib RELEASE_LIBCMT = $(RELDIR_CPU)\libcmt.lib RELEASE_LIBCPPMT = $(RELDIR_CPU)\libcpmt.lib RELEASE_LIBIOSMT = $(RELDIR_CPU)\libcimt.lib RELEASE_DLL = $(RELDIR_CPU)\$(RETAIL_DLL_NAME).dll RELEASE_DLLCPP = $(RELDIR_CPU)\$(RETAIL_DLLCPP_NAME).dll RELEASE_DLLIOS = $(RELDIR_CPU)\$(RETAIL_DLLIOS_NAME).dll RELEASE_IMPLIB_DLL = $(RELDIR_CPU)\$(RETAIL_LIB_NAME).lib RELEASE_IMPLIB_DLLCPP = $(RELDIR_CPU)\$(RETAIL_LIBCPP_NAME).lib RELEASE_IMPLIB_DLLIOS = $(RELDIR_CPU)\$(RETAIL_LIBIOS_NAME).lib RELEASE_OLDNAMES = $(RELDIR_CPU)\oldnames.lib RELEASE_LIBCST_PDB = $(PDBDIR_CPU)\libc.pdb RELEASE_LIBCPPST_PDB = $(PDBDIR_CPU)\libcp.pdb RELEASE_LIBIOSST_PDB = $(PDBDIR_CPU)\libci.pdb RELEASE_LIBCMT_PDB = $(PDBDIR_CPU)\libcmt.pdb RELEASE_LIBCPPMT_PDB = $(PDBDIR_CPU)\libcpmt.pdb RELEASE_LIBIOSMT_PDB = $(PDBDIR_CPU)\libcimt.pdb RELEASE_IMPLIB_PDB = $(PDBDIR_CPU)\$(RETAIL_LIB_NAME).pdb RELEASE_IMPLIBCPP_PDB = $(PDBDIR_CPU)\$(RETAIL_LIBCPP_NAME).pdb RELEASE_IMPLIBIOS_PDB = $(PDBDIR_CPU)\$(RETAIL_LIBIOS_NAME).pdb RELEASE_DLL_PDB = $(PDBDIR_CPU_DLL)\$(RETAIL_DLL_NAME).pdb RELEASE_DLLCPP_PDB = $(PDBDIR_CPU_DLL)\$(RETAIL_DLLCPP_NAME).pdb RELEASE_DLLIOS_PDB = $(PDBDIR_CPU_DLL)\$(RETAIL_DLLIOS_NAME).pdb # ******** STRIPLIN=0 ******** RELEASE_CHELPER_BSKU = $(RELDIR_CPU_BSKU)\chelper.lib RELEASE_LIBCST_BSKU = $(RELDIR_CPU_BSKU)\libc.lib RELEASE_LIBCPPST_BSKU = $(RELDIR_CPU_BSKU)\libcp.lib RELEASE_LIBIOSST_BSKU = $(RELDIR_CPU_BSKU)\libci.lib RELEASE_LIBCMT_BSKU = $(RELDIR_CPU_BSKU)\libcmt.lib RELEASE_LIBCPPMT_BSKU = $(RELDIR_CPU_BSKU)\libcpmt.lib RELEASE_LIBIOSMT_BSKU = $(RELDIR_CPU_BSKU)\libcimt.lib RELEASE_LIBCST_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libc.pdb RELEASE_LIBCPPST_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libcp.pdb RELEASE_LIBIOSST_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libci.pdb RELEASE_LIBCMT_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libcmt.pdb RELEASE_LIBCPPMT_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libcpmt.pdb RELEASE_LIBIOSMT_BSKU_PDB = $(PDBDIR_CPU_BSKU)\libcimt.pdb RELEASE_FWDRDLL = $(RELDIR_CPU)\$(RETAIL_FWDRDLL_NAME).dll RELEASE_FWDRDLL_DBG = $(RELDIR_CPU)\$(DEBUG_FWDRDLL_NAME).dll # ******** STRIPLIN=1 ******** RELEASE_LIBCST_DBG = $(RELDIR_CPU)\libcd.lib RELEASE_LIBCPPST_DBG = $(RELDIR_CPU)\libcpd.lib RELEASE_LIBIOSST_DBG = $(RELDIR_CPU)\libcid.lib RELEASE_LIBCMT_DBG = $(RELDIR_CPU)\libcmtd.lib RELEASE_LIBCPPMT_DBG = $(RELDIR_CPU)\libcpmtd.lib RELEASE_LIBIOSMT_DBG = $(RELDIR_CPU)\libcimtd.lib RELEASE_DLL_DBG = $(RELDIR_CPU)\$(DEBUG_DLL_NAME).dll RELEASE_DLLCPP_DBG = $(RELDIR_CPU)\$(DEBUG_DLLCPP_NAME).dll RELEASE_DLLIOS_DBG = $(RELDIR_CPU)\$(DEBUG_DLLIOS_NAME).dll RELEASE_IMPLIB_DLL_DBG = $(RELDIR_CPU)\$(DEBUG_LIB_NAME).lib RELEASE_IMPLIB_DLLCPP_DBG = $(RELDIR_CPU)\$(DEBUG_LIBCPP_NAME).lib RELEASE_IMPLIB_DLLIOS_DBG = $(RELDIR_CPU)\$(DEBUG_LIBIOS_NAME).lib RELEASE_LIBCST_DBG_PDB = $(PDBDIR_CPU)\libcd.pdb RELEASE_LIBCPPST_DBG_PDB = $(PDBDIR_CPU)\libcpd.pdb RELEASE_LIBIOSST_DBG_PDB = $(PDBDIR_CPU)\libcid.pdb RELEASE_LIBCMT_DBG_PDB = $(PDBDIR_CPU)\libcmtd.pdb RELEASE_LIBCPPMT_DBG_PDB = $(PDBDIR_CPU)\libcpmtd.pdb RELEASE_LIBIOSMT_DBG_PDB = $(PDBDIR_CPU)\libcimtd.pdb RELEASE_IMPLIB_DBG_PDB = $(PDBDIR_CPU)\$(DEBUG_LIB_NAME).pdb RELEASE_IMPLIBCPP_DBG_PDB = $(PDBDIR_CPU)\$(DEBUG_LIBCPP_NAME).pdb RELEASE_IMPLIBIOS_DBG_PDB = $(PDBDIR_CPU)\$(DEBUG_LIBIOS_NAME).pdb RELEASE_DLL_DBG_PDB = $(PDBDIR_CPU_DLL)\$(DEBUG_DLL_NAME).pdb RELEASE_DLLCPP_DBG_PDB = $(PDBDIR_CPU_DLL)\$(DEBUG_DLLCPP_NAME).pdb RELEASE_DLLIOS_DBG_PDB = $(PDBDIR_CPU_DLL)\$(DEBUG_DLLIOS_NAME).pdb # ******** STRIPLIN=0 ******** RELEASE_LIBCST_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcd.lib RELEASE_LIBCPPST_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcpd.lib RELEASE_LIBIOSST_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcid.lib RELEASE_LIBCMT_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcmtd.lib RELEASE_LIBCPPMT_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcpmtd.lib RELEASE_LIBIOSMT_BSKU_DBG = $(RELDIR_CPU_BSKU)\libcimtd.lib RELEASE_LIBCST_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcd.pdb RELEASE_LIBCPPST_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcpd.pdb RELEASE_LIBIOSST_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcid.pdb RELEASE_LIBCMT_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcmtd.pdb RELEASE_LIBCPPMT_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcpmtd.pdb RELEASE_LIBIOSMT_BSKU_DBG_PDB = $(PDBDIR_CPU_BSKU)\libcimtd.pdb # ******** STRIPLIN=1 ******** FD_REL_ST=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCST_PDB) FD_REL_STP=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPST_PDB) FD_REL_STI=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSST_PDB) FD_REL_MT=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCMT_PDB) FD_REL_MTP=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPMT_PDB) FD_REL_MTI=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSMT_PDB) FD_REL_DLL=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIB_PDB) FD_REL_DLLP=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIBCPP_PDB) FD_REL_DLLI=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIBIOS_PDB) # ******** STRIPLIN=0 ******** FD_REL_ST_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCST_BSKU_PDB) FD_REL_STP_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPST_BSKU_PDB) FD_REL_STI_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSST_BSKU_PDB) FD_REL_MT_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCMT_BSKU_PDB) FD_REL_MTP_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPMT_BSKU_PDB) FD_REL_MTI_BSKU=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSMT_BSKU_PDB) # ******** STRIPLIN=1 ******** FD_REL_ST_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCST_DBG_PDB) FD_REL_STP_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPST_DBG_PDB) FD_REL_STI_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSST_DBG_PDB) FD_REL_MT_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCMT_DBG_PDB) FD_REL_MTP_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPMT_DBG_PDB) FD_REL_MTI_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSMT_DBG_PDB) FD_REL_DLL_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIB_DBG_PDB) FD_REL_DLLP_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIBCPP_DBG_PDB) FD_REL_DLLI_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_IMPLIBIOS_DBG_PDB) # ******** STRIPLIN=0 ******** FD_REL_ST_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCST_BSKU_DBG_PDB) FD_REL_STP_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPST_BSKU_DBG_PDB) FD_REL_STI_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSST_BSKU_DBG_PDB) FD_REL_MT_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCMT_BSKU_DBG_PDB) FD_REL_MTP_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBCPPMT_BSKU_DBG_PDB) FD_REL_MTI_BSKU_DBG=-Fd$(PDBDIR_PREFIX)$(RELEASE_LIBIOSMT_BSKU_DBG_PDB) # ******** STRIPLIN=1 ******** # # Locate the scratch location for object files of various flavors. # ############################################################################### OBJROOT = build OBJDIR_PREFIX = ..\..\ # OBJCPUDIR = $(OBJROOT)\$(CPUDIR) OBJDIR_ST = $(OBJCPUDIR)\st_obj OBJDIR_MT = $(OBJCPUDIR)\mt_obj OBJDIR_DLL = $(OBJCPUDIR)\dll_obj OBJDIR_OLDNAMES = $(OBJDIR_ST)\oldnames OBJDIR_ALMAP = $(OBJDIR_ST)\almap OBJDIR_TCMAP = $(OBJDIR_ST)\tcmap OBJDIR_TCMAPDLL = $(OBJDIR_DLL)\tcmap OBJDIR_SDKNAMES = $(OBJDIR_DLL)\sdknames OBJDIR_DLL_RAW = $(OBJCPUDIR)\*_obj # ******** STRIPLIN=0 ******** OBJDIR_ST_BSKU = $(OBJCPUDIR)\bst_obj OBJDIR_MT_BSKU = $(OBJCPUDIR)\bmt_obj OBJDIR_ST_BSKU_DBG = $(OBJCPUDIR)\xbst_obj OBJDIR_MT_BSKU_DBG = $(OBJCPUDIR)\xbmt_obj # ******** STRIPLIN=1 ******** OBJDIR_ST_DBG = $(OBJCPUDIR)\xst_obj OBJDIR_MT_DBG = $(OBJCPUDIR)\xmt_obj OBJDIR_DLL_DBG = $(OBJCPUDIR)\xdll_obj # ******** STRIPLIN=0 ******** #### # # Here are the build targets # #### # ******** STRIPLIN=1 ******** all : release debug release : st mt dll oldnames relobjs compiler_helper_lib debug : xst xmt xdll book : st mt dll xst xmt xdll bst bmt xbst xbmt # STRIPLIN! #### # # Directory Targets # #### $(OBJDIR_ST) $(OBJDIR_MT) $(OBJDIR_DLL) \ $(OBJDIR_OLDNAMES) $(OBJDIR_SDKNAMES) $(OBJDIR_ALMAP) $(OBJDIR_TCMAP) $(OBJDIR_TCMAPDLL) \ # ******** STRIPLIN=0 ******** $(OBJDIR_ST_BSKU) $(OBJDIR_MT_BSKU) $(OBJDIR_ST_BSKU_DBG) $(OBJDIR_MT_BSKU_DBG) $(RELDIR_CPU_BSKU) \ # ******** STRIPLIN=1 ******** $(OBJDIR_ST_DBG) $(OBJDIR_MT_DBG) $(OBJDIR_DLL_DBG) \ !if "$(PDBDIR_CPU_DLL)"!="$(RELDIR_CPU)" # STRIPLIN! $(PDBDIR_CPU_DLL) \ !endif # STRIPLIN! $(CRT_RELDIR) $(RELDIR_CPU) : if not exist $@\* mkdir $@ #### # # Define the path to return to the main directory where nmake is revoked # #### !if "$(POST_BLD)"=="1" # STRIPLIN! CD_ROOT=. # ******** STRIPLIN=0 ******** !elseif "$(PRE_BLD)"=="1" CD_ROOT=.. !else CD_ROOT=..\.. !endif # ******** STRIPLIN=1 ******** #### # # Pseudo-target user interface: # #### st_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the ST model (LIBC.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_ST) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif stp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the ST model (LIBCP.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STP) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif sti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the ST model (LIBCI.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STI) \ \ & echo # $(STIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(STIOS_DEFINES) \ & echo. !endif st : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST) $(RELDIR_CPU) \ st_env st_ stp_env st_p sti_env st_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_LIBCST:.lib=.bsc) $(OBJDIR_ST)\*.sbr !endif !if "$(BLD_LIB)"!="1" st_ :: $(MAKE_DIRS) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_ST) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=st OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" st_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_STP) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=st OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) st_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(STIOS_DEFINES) $(FD_REL_STI) \ & set ML=$(AS_OPTS) $(STIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=st OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" st_ :: $(RELEASE_LIBCST) st_p :: $(RELEASE_LIBCPPST) st_i :: $(RELEASE_LIBIOSST) !else st_ :: st_p :: st_i :: !endif mt_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the MT model (LIBCMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MT) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif mtp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the MT model (LIBCPMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTP) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif mti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the MT model (LIBCIMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTI) \ \ & echo # $(MTIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MTIOS_DEFINES) \ & echo. !endif mt : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_MT) $(RELDIR_CPU) \ mt_env mt_ mtp_env mt_p mti_env mt_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_LIBCMT:.lib=.bsc) $(OBJDIR_MT)\*.sbr !endif !if "$(BLD_LIB)"!="1" mt_ :: $(MAKE_DIRS) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MT) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=mt OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" mt_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MTP) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=mt OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) mt_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(MTIOS_DEFINES) $(FD_REL_MTI) \ & set ML=$(AS_OPTS) $(MTIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=mt OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" mt_ :: $(RELEASE_LIBCMT) mt_p :: $(RELEASE_LIBCPPMT) mt_i :: $(RELEASE_LIBIOSMT) !else mt_ :: mt_p :: mt_i :: !endif dll_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the DLL model (MSVCRT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLL) \ \ & echo # $(DLL_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLL_DEFINES) \ & echo. !endif dllp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the DLL model (MSVCPRT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLLP) \ \ & echo # $(DLLCPP_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLLCPP_DEFINES) \ & echo. !endif dlli_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the DLL model (MSVCIRT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLLI) \ \ & echo # $(DLLIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLLIOS_DEFINES) \ & echo. !endif dll : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_DLL) $(RELDIR_CPU) $(PDBDIR_CPU_DLL) \ others dll_env dll_ dllp_env dll_p dlli_env dll_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_IMPLIB_DLL:.lib=.bsc) $(OBJDIR_DLL)\*.sbr !endif !if "$(BLD_LIB)"!="1" dll_ :: $(MAKE_DIRS_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLL_DEFINES) $(FD_REL_DLL) \ & set ML=$(AS_OPTS) $(DLL_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=dll BLD_DLL=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" dll_p :: $(MAKE_DIRSP_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLLCPP_DEFINES) $(FD_REL_DLLP) \ & set ML=$(AS_OPTS) $(DLLCPP_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=dll BLD_DLL=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) dll_i :: $(MAKE_DIRSI_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLLIOS_DEFINES) $(FD_REL_DLLI) \ & set ML=$(AS_OPTS) $(DLLIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=dll BLD_DLL=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" dll_ :: $(RELEASE_DLL) dll_p :: $(RELEASE_DLLCPP) # ******** STRIPLIN=2 ******** #dll_i :: $(RELEASE_DLLIOS) # ******** STRIPLIN=0 ******** !IF "$(BLD_FWDR)"=="1" dll_i :: $(RELEASE_DLLIOS) $(RELEASE_FWDRDLL) !ELSE dll_i :: $(RELEASE_DLLIOS) !ENDIF # ******** STRIPLIN=1 ******** !else dll_ :: dll_p :: dll_i :: !endif # ******** STRIPLIN=0 ******** bst_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BST model (LIBC.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_ST_BSKU) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif bstp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BST model (LIBCP.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STP_BSKU) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif bsti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BST model (LIBCI.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STI_BSKU) \ \ & echo # $(STIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(STIOS_DEFINES) \ & echo. !endif bst : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST_BSKU) $(RELDIR_CPU_BSKU) \ bst_env bst_ bstp_env bst_p bsti_env bst_i !if "$(BLD_LIB)"!="1" !if "$(PRE_BLD)"=="1" bst_ :: $(MAKE_DIRS_BSKU) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_ST_BSKU) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=bst BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !else #bst_ :: $(MAKE_DIRS_BSKU) bst_ :: # !@-cd $** \ lib /OUT:$(RELEASE_LIBCST_BSKU) $(RELEASE_LIBCST) $(CPUDIR)\bst_lib\bsku.obj \ & cd $(CD_ROOT) \ & echo # Finished bst_ build !endif !if "$(PRE_BLD)"!="1" bst_p :: $(MAKE_DIRS_BSKU) !@-cd $** \ & lib /OUT:$(RELEASE_LIBCPPST_BSKU) $(RELEASE_LIBCPPST) $(CPUDIR)\bst_lib\bsku.obj \ # & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_STP_BSKU) \ # & set ML=$(AS_OPTS) $(ST_DEFINES) \ # & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ # WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ # BLD_MODEL=bst BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU) \ # TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ # VCTOOLSINC="$(VCTOOLSINC)" \ # PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) bst_i :: $(MAKE_DIRS_BSKU) !@-cd $** \ & lib /OUT:$(RELEASE_LIBIOSST_BSKU) $(RELEASE_LIBIOSST) $(CPUDIR)\bst_lib\bsku.obj \ # & set CL=$(CC_OPTS) $(STIOS_DEFINES) $(FD_REL_STI_BSKU) \ # & set ML=$(AS_OPTS) $(STIOS_DEFINES) \ # & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ # WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ # BLD_MODEL=bst BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU) \ # TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ # VCTOOLSINC="$(VCTOOLSINC)" \ # PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" bst_ :: $(RELEASE_LIBCST_BSKU) bst_p :: $(RELEASE_LIBCPPST_BSKU) bst_i :: $(RELEASE_LIBIOSST_BSKU) !else bst_ :: bst_p :: bst_i :: !endif bmt_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BMT model (LIBCMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MT_BSKU) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif bmtp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BMT model (LIBCPMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTP_BSKU) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif bmti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the BMT model (LIBCIMT.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTI_BSKU) \ \ & echo # $(MTIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MTIOS_DEFINES) \ & echo. !endif bmt : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_MT_BSKU) $(RELDIR_CPU_BSKU) \ bmt_env bmt_ bmtp_env bmt_p bmti_env bmt_i !if "$(BLD_LIB)"!="1" bmt_ :: $(MAKE_DIRS_BSKU) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MT_BSKU) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=bmt BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" bmt_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MTP_BSKU) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=bmt BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) bmt_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(MTIOS_DEFINES) $(FD_REL_MTI_BSKU) \ & set ML=$(AS_OPTS) $(MTIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=bmt BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" bmt_ :: $(RELEASE_LIBCMT_BSKU) bmt_p :: $(RELEASE_LIBCPPMT_BSKU) bmt_i :: $(RELEASE_LIBIOSMT_BSKU) !else bmt_ :: bmt_p :: bmt_i :: !endif # ******** STRIPLIN=1 ******** xst_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XST model (LIBCD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_ST_DBG) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif xstp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XST model (LIBCPD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STP_DBG) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif xsti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XST model (LIBCID.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_STI_DBG) \ \ & echo # $(STIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(STIOS_DEFINES) \ & echo. !endif xst : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST_DBG) $(RELDIR_CPU) \ xst_env xst_ xstp_env xst_p xsti_env xst_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_LIBCST_DBG:.lib=.bsc) $(OBJDIR_ST_DBG)\*.sbr !endif !if "$(BLD_LIB)"!="1" xst_ :: $(MAKE_DIRS) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_ST_DBG) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xst BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" xst_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_STP_DBG) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xst BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) xst_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(STIOS_DEFINES) $(FD_REL_STI_DBG) \ & set ML=$(AS_OPTS) $(STIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xst BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" xst_ :: $(RELEASE_LIBCST_DBG) xst_p :: $(RELEASE_LIBCPPST_DBG) xst_i :: $(RELEASE_LIBIOSST_DBG) !else xst_ :: xst_p :: xst_i :: !endif xmt_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XMT model (LIBCMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MT_DBG) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif xmtp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XMT model (LIBCPMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTP_DBG) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif xmti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XMT model (LIBCIMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTI_DBG) \ \ & echo # $(MTIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MTIOS_DEFINES) \ & echo. !endif xmt : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_MT_DBG) $(RELDIR_CPU) \ xmt_env xmt_ xmtp_env xmt_p xmti_env xmt_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_LIBCMT_DBG:.lib=.bsc) $(OBJDIR_MT_DBG)\*.sbr !endif !if "$(BLD_LIB)"!="1" xmt_ :: $(MAKE_DIRS) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MT_DBG) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xmt BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" xmt_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MTP_DBG) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xmt BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) xmt_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(MTIOS_DEFINES) $(FD_REL_MTI_DBG) \ & set ML=$(AS_OPTS) $(MTIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xmt BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" xmt_ :: $(RELEASE_LIBCMT_DBG) xmt_p :: $(RELEASE_LIBCPPMT_DBG) xmt_i :: $(RELEASE_LIBIOSMT_DBG) !else xmt_ :: xmt_p :: xmt_i :: !endif xdll_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XDLL model (MSVCRTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLL_DBG) \ \ & echo # $(DLL_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLL_DEFINES) \ & echo. !endif xdllp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XDLL model (MSVCPRTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLLP_DBG) \ \ & echo # $(DLLCPP_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLLCPP_DEFINES) \ & echo. !endif xdlli_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XDLL model (MSVCIRTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_DLLI_DBG) \ \ & echo # $(DLLIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(DLLIOS_DEFINES) \ & echo. !endif xdll : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_DLL_DBG) $(RELDIR_CPU) $(PDBDIR_CPU_DLL) \ xothers xdll_env xdll_ xdllp_env xdll_p xdlli_env xdll_i !if "$(BLD_BROWSE)"=="1" && "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" $(BSCMAKE) -o $(RELEASE_IMPLIB_DLL_DBG:.lib=.bsc) $(OBJDIR_DLL_DBG)\*.sbr !endif !if "$(BLD_LIB)"!="1" xdll_ :: $(MAKE_DIRS_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLL_DEFINES) $(FD_REL_DLL_DBG) \ & set ML=$(AS_OPTS) $(DLL_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xdll BLD_DLL=1 BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" xdll_p :: $(MAKE_DIRSP_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLLCPP_DEFINES) $(FD_REL_DLLP_DBG) \ & set ML=$(AS_OPTS) $(DLLCPP_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xdll BLD_DLL=1 BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) xdll_i :: $(MAKE_DIRSI_DLL) !@-cd $** \ & set CL=$(CC_OPTS) $(DLLIOS_DEFINES) $(FD_REL_DLLI_DBG) \ & set ML=$(AS_OPTS) $(DLLIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) \ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 BLD_SYSCRT=1 \ !endif # STRIPLIN=1 !if 0 # STRIPLIN! BLD_REL_NO_DBINFO=$(BLD_REL_NO_DBINFO) \ !endif # STRIPLIN! BLD_MODEL=xdll BLD_DLL=1 BLD_DBG=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_DLL_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" xdll_ :: $(RELEASE_DLL_DBG) xdll_p :: $(RELEASE_DLLCPP_DBG) # ******** STRIPLIN=2 ******** #xdll_i :: $(RELEASE_DLLIOS_DBG) # ******** STRIPLIN=0 ******** !IF "$(BLD_FWDR)"=="1" xdll_i :: $(RELEASE_DLLIOS_DBG) $(RELEASE_FWDRDLL_DBG) !ELSE xdll_i :: $(RELEASE_DLLIOS_DBG) !ENDIF # ******** STRIPLIN=1 ******** !else xdll_ :: xdll_p :: xdll_i :: !endif # ******** STRIPLIN=0 ******** xbst_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBST model (LIBCD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_ST_BSKU_DBG) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif xbstp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBST model (LIBCPD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_BSTP_BSKU_DBG) \ \ & echo # $(ST_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(ST_DEFINES) \ & echo. !endif xbsti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBST model (LIBCID.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_BSTI_BSKU_DBG) \ \ & echo # $(STIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(STIOS_DEFINES) \ & echo. !endif xbst : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST_BSKU_DBG) $(RELDIR_CPU_BSKU) \ xbst_env xbst_ xbstp_env xbst_p xbsti_env xbst_i !if "$(BLD_LIB)"!="1" xbst_ :: $(MAKE_DIRS_BSKU) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_ST_BSKU_DBG) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbst BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" xbst_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(ST_DEFINES) $(FD_REL_STP_BSKU_DBG) \ & set ML=$(AS_OPTS) $(ST_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbst BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) xbst_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(STIOS_DEFINES) $(FD_REL_STI_BSKU_DBG) \ & set ML=$(AS_OPTS) $(STIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbst BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_ST_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" xbst_ :: $(RELEASE_LIBCST_BSKU_DBG) xbst_p :: $(RELEASE_LIBCPPST_BSKU_DBG) xbst_i :: $(RELEASE_LIBIOSST_BSKU_DBG) !else xbst_ :: xbst_p :: xbst_i :: !endif xbmt_env : !if "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBMT model (LIBCMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MT_BSKU_DBG) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif xbmtp_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBMT model (LIBCPMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTP_BSKU_DBG) \ \ & echo # $(MT_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MT_DEFINES) \ & echo. !endif xbmti_env : !if "$(PRE_BLD)"!="1" && "$(BLD_LIB)"!="1" !@-echo. \ & echo # *** These are the compiler switches for the XBMT model (LIBCIMTD.LIB): \ & echo # \ & echo # CL = $(CC_OPTS_BASE) \ \ & echo # $(WINDOWS_H_DEFS) $(FD_REL_MTI_BSKU_DBG) \ \ & echo # $(MTIOS_DEFINES) \ & echo # \ & echo # ML = $(AS_OPTS) \ \ & echo # $(MTIOS_DEFINES) \ & echo. !endif xbmt : $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_MT_BSKU_DBG) $(RELDIR_CPU_BSKU) \ xbmt_env xbmt_ xbmtp_env xbmt_p xbmti_env xbmt_i !if "$(BLD_LIB)"!="1" xbmt_ :: $(MAKE_DIRS_BSKU) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MT_BSKU_DBG) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbmt BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) \ & cd $(CD_ROOT) !if "$(PRE_BLD)"!="1" xbmt_p :: $(MAKE_DIRSP) !@-cd $** \ & set CL=$(CC_OPTS) $(MT_DEFINES) $(FD_REL_MTP_BSKU_DBG) \ & set ML=$(AS_OPTS) $(MT_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbmt BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _stdcpp_ \ & cd $(CD_ROOT) xbmt_i :: $(MAKE_DIRSI) !@-cd $** \ & set CL=$(CC_OPTS) $(MTIOS_DEFINES) $(FD_REL_MTI_BSKU_DBG) \ & set ML=$(AS_OPTS) $(MTIOS_DEFINES) \ & $(MAKE) -nologo $(IFLAG) -f ..\..\makefile.sub DIR=$** CPUDIR=$(CPUDIR) \ WINHEAP=$(WINHEAP) RTC=$(RTC) BLD_SYSCRT=$(BLD_SYSCRT) \ BLD_MODEL=xbmt BLD_DBG=1 BLD_BSKU=1 OBJDIR=$(OBJDIR_PREFIX)$(OBJDIR_MT_BSKU_DBG) \ TARGET_CPU=$(TARGET_CPU) HOST_CPU=$(HOST_CPU) \ VCTOOLSINC="$(VCTOOLSINC)" \ PRE_BLD=$(PRE_BLD) POST_BLD=$(POST_BLD) _iostream_ \ & cd $(CD_ROOT) !endif !endif # BLD_LIB != 1 !if "$(PRE_BLD)"!="1" && "$(BLD_OBJ)"!="1" xbmt_ :: $(RELEASE_LIBCMT_BSKU_DBG) xbmt_p :: $(RELEASE_LIBCPPMT_BSKU_DBG) xbmt_i :: $(RELEASE_LIBIOSMT_BSKU_DBG) !else xbmt_ :: xbmt_p :: xbmt_i :: !endif # ******** STRIPLIN=1 ******** all_link: st_link mt_link dll_link st_link: $(RELEASE_LIBCST) $(RELEASE_LIBCPPST) mt_link: $(RELEASE_LIBCMT) $(RELEASE_LIBCPPMT) dll_link: $(RELEASE_DLL) $(RELEASE_DLLCPP) !if "$(POST_BLD)"=="1" # STRIPLIN! oldnames : others : xothers : # ******** STRIPLIN=0 ******** !else oldnames : $(RELEASE_OLDNAMES) !if "$(PRE_BLD)"=="1" others xothers: \ $(SDKNAMESLIB_DIR)\sdknames.lib \ $(ALMAPLIB_DIR)\almap.lib \ $(TCMAPLIB_DIR)\tcmap.lib \ $(TCMAPDLLLIB_DIR)\tcmapdll.lib others: \ $(DEFFILE2_DIR)\$(RETAIL_LIBCPP_NAME).def \ $(DEFFILE2_DIR)\$(RETAIL_LIBIOS_NAME).def \ !IF "$(BLD_FWDR)"=="1" $(DEFFILE_DIR)\$(RETAIL_FWDRDLL_NAME).def \ !ENDIF $(DEFFILE_DIR)\$(RETAIL_LIB_NAME).def xothers : \ $(DEFFILE2_DIR)\$(DEBUG_LIBCPP_NAME).def \ $(DEFFILE2_DIR)\$(DEBUG_LIBIOS_NAME).def \ !IF "$(BLD_FWDR)"=="1" $(DEFFILE_DIR)\$(DEBUG_FWDRDLL_NAME).def \ !ENDIF $(DEFFILE_DIR)\$(DEBUG_LIB_NAME).def !else others : xothers : !endif !endif ## ******** STRIPLIN=1 ******** # ## ## Make Process for Compiler Helper Libraries ## ################################################################################ # #$(RELEASE_CHELPER): $(RELDIR_CPU) build\$(CPUDIR)\st_obj\helper.lib # $(LINKLIB) -out:$@ build\$(CPUDIR)\st_obj\helper.lib # ## ******** STRIPLIN=0 ******** # #$(RELEASE_CHELPER_BSKU): $(RELDIR_CPU_BSKU) build\$(CPUDIR)\st_obj\helper.lib # $(LINKLIB) -out:$@ build\$(CPUDIR)\st_obj\helper.lib # # ******** STRIPLIN=1 ******** # # Make Process for Static Libraries # ############################################################################### $(RELEASE_LIBCST): $(RELDIR_CPU) $(SOURCE_OBJS:*=st) \ $(OBJDIR_ST)\link.rsp $(LINKLIB) -out:$@ @$(OBJDIR_ST)\link.rsp $(RELEASE_LIBCPPST): $(RELDIR_CPU) $(CPPSRC_OBJS:*=st) \ $(OBJDIR_ST)\linkcpp.rsp $(LINKLIB) -out:$@ @$(OBJDIR_ST)\linkcpp.rsp $(RELEASE_LIBIOSST): $(RELDIR_CPU) $(IOSSRC_OBJS:*=st) \ $(OBJDIR_ST)\linkios.rsp $(LINKLIB) -out:$@ @$(OBJDIR_ST)\linkios.rsp !if "$(BLD_OBJ)"!="1" $(OBJDIR_ST)\link.rsp: makefile @echo *** Creating linker response file <<$@ $(SOURCE_OBJS:*=st) < $@ $(DEFFILE_DIR)\$(DEBUG_LIB_NAME).def : libw32\$(RC_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -DLIBRARYNAME=$(DEBUG_DLL_NAME_UC) $(DLL_DEFINES) -D_DEBUG -EP -Tclibw32\$(RC_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE_DIR)\$(RETAIL_FWDRDLL_NAME).def : libw32\$(RETAIL_FWDRDLL_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -EP -Tclibw32\$(RETAIL_FWDRDLL_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE_DIR)\$(DEBUG_FWDRDLL_NAME).def : libw32\$(RETAIL_FWDRDLL_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -D_DEBUG -EP -Tclibw32\$(RETAIL_FWDRDLL_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE2_DIR)\$(RETAIL_LIBCPP_NAME).def : libw32\$(RCCPP_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -DLIBRARYNAME=$(RETAIL_DLLCPP_NAME_UC) -DBASECRT=$(RETAIL_DLL_NAME_UC) $(DLLCPP_DEFINES) -EP -Tclibw32\$(RCCPP_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE2_DIR)\$(DEBUG_LIBCPP_NAME).def : libw32\$(RCCPP_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -DLIBRARYNAME=$(DEBUG_DLLCPP_NAME_UC) -DBASECRT=$(DEBUG_DLL_NAME_UC) $(DLLCPP_DEFINES) -D_DEBUG -EP -Tclibw32\$(RCCPP_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE2_DIR)\$(RETAIL_LIBIOS_NAME).def : libw32\$(RCIOS_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -DLIBRARYNAME=$(RETAIL_DLLIOS_NAME_UC) -DBASECRT=$(RETAIL_DLL_NAME_UC) $(DLLIOS_DEFINES) -EP -Tclibw32\$(RCIOS_NAME).src | sed "/^[ ]*$$/d" > $@ $(DEFFILE2_DIR)\$(DEBUG_LIBIOS_NAME).def : libw32\$(RCIOS_NAME).src @echo. @echo *** Creating file $@ from $** $(CC) -nologo -DLIBRARYNAME=$(DEBUG_DLLIOS_NAME_UC) -DBASECRT=$(DEBUG_DLL_NAME_UC) $(DLLIOS_DEFINES) -D_DEBUG -EP -Tclibw32\$(RCIOS_NAME).src | sed "/^[ ]*$$/d" > $@ !endif # MSVCR70.DLL / MSVCRT.LIB $(RELEASE_DLL) : $(RELDIR_CPU) libw32\$(RC_NAME).rc \ $(DEFFILE_DIR)\$(RETAIL_LIB_NAME).def $(SOURCE_OBJS_DLL:*=dll) \ $(DLL_STATIC_OBJS) $(SDKNAMESLIB_DIR)\sdknames.lib \ $(ALMAPLIB_DIR)\almap.lib \ $(TCMAPLIB_DIR)\tcmap.lib $(TCMAPDLLLIB_DIR)\tcmapdll.lib \ "$(VCTOOLSINC)\winver.h" \ # ******** STRIPLIN=0 ******** $(LANGAPI)\include\version.h \ # ******** STRIPLIN=1 ******** $(OBJDIR_DLL)\link.rsp $(OBJDIR_DLL)\implib.rsp rc $(RC_OPTS) -Fo $(@R).res $(RC_DEFS) $(RC_INCS) libw32\$(RC_NAME).rc $(LINKER) @$(OBJDIR_DLL)\link.rsp $(LINKIMPLIB) @$(OBJDIR_DLL)\implib.rsp !if "$(BLD_OBJ)"!="1" $(OBJDIR_DLL)\link.rsp: makefile @echo *** Creating linker response file <<$@ !if "$(BLD_SYSCRT)" == "1" # STRIPLIN=0 -base:0x78000000 !else # STRIPLIN=1 -base:0x7C000000 !endif # STRIPLIN! !if "$(BLD_REL_NO_DBINFO)" != "1" -debug !if 1 # STRIPLIN=0 !if "$(BLD_SYSCRT)" == "1" && "$(LLP64)" != "0" -debugtype:pdata !endif -debugtype:cv,fixup !endif # STRIPLIN=1 -pdb:$(RELEASE_DLL_PDB) !endif -def:$(DEFFILE_DIR)\$(RETAIL_LIB_NAME).def -dll -entry:_CRTDLL_INIT -force:multiple -implib:$(OBJDIR_DLL)\tmp.lib -opt:ref,icf=3 -incremental:no !if "$(LLP64)"=="1" -osversion:5.00 -subsystem:WINDOWS,5.00 !endif -map -out:$(RELEASE_DLL) -release -nodefaultlib:libcpmt.lib $(OBJS_WITH_EXPORTS_DLL) $(RELEASE_DLL:.dll=.res) $(SOURCE_OBJS_DLL:*=dll) kernel32.lib < _mbsnb $(OBJDIR_ALMAP)\mbcat.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_mbscat $(PREFIX)strcat $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _mbscat strcat $*.obf !endif $(OBJDIR_ALMAP)\mbcpy.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_mbscpy $(PREFIX)strcpy $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _mbscpy strcpy $*.obf !endif # _tcs[n]c -> _mbs[n] $(OBJDIR_ALMAP)\strcmpi.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_strcmpi $(PREFIX)_stricmp $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _strcmpi _stricmp $*.obf !endif $(OBJDIR_ALMAP)\mbdup.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_mbsdup $(PREFIX)_strdup $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _mbsdup strdup $*.obf !endif ALMAP_OBJECTS = $(ALMAP_NORMAL_OBJECTS) $(ALMAP_SPECIAL_OBJECTS) ALMAP_OBJS = $(ALMAP_OBJECTS:.object=.obj) !if "$(TARGET_CPU)"=="IA64" ALMAP_OBFS = $(ALMAP_OBJECTS:.object=.obf) !endif $(ALMAPLIB_DIR)\almap.lib: $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST) \ $(OBJDIR_ALMAP) $(ALMAP_OBJS) \ !if "$(TARGET_CPU)"=="IA64" $(ALMAP_OBFS) \ !endif !if "$(BLD_OBJ)"!="1" $(OBJDIR_ALMAP)\almap.rsp $(LINKLIB) -out:$@ @$(OBJDIR_ALMAP)\almap.rsp $(OBJDIR_ALMAP)\almap.rsp: makefile @echo *** Creating linker response file <<$@ $(ALMAP_OBJS: =^ ) !if "$(TARGET_CPU)"=="IA64" $(ALMAP_OBFS: =^ ) !endif < _mbsnb $(OBJDIR_TCMAP)\nbcat.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncat $(PREFIX)_mbsnbcat $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncat _mbsnbcat $*.obf !endif $(OBJDIR_TCMAP)\nbcoll.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncoll $(PREFIX)_mbsnbcoll $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncoll _mbsnbcoll $*.obf !endif $(OBJDIR_TCMAP)\nbcpy.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncpy $(PREFIX)_mbsnbcpy $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncpy _mbsnbcpy $*.obf !endif $(OBJDIR_TCMAP)\nbicmp.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnicmp $(PREFIX)_mbsnbicmp $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnicmp _mbsnbicmp $*.obf !endif $(OBJDIR_TCMAP)\nbicoll.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnicoll $(PREFIX)_mbsnbicoll $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnicoll _mbsnbicoll $*.obf !endif $(OBJDIR_TCMAP)\nbset.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnset $(PREFIX)_mbsnbset $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnset _mbsnbset $*.obf !endif $(OBJDIR_TCMAP)\nbcmp.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncmp $(PREFIX)_mbsnbcmp $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncmp _mbsnbcmp $*.obf !endif # _tcs[n]c -> _mbs[n] $(OBJDIR_TCMAP)\len.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsclen $(PREFIX)_mbslen $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsclen _mbslen $*.obf !endif $(OBJDIR_TCMAP)\ncat.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnccat $(PREFIX)_mbsncat $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncat _mbsnbcat $*.obf !endif $(OBJDIR_TCMAP)\ncmp.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnccmp $(PREFIX)_mbsncmp $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnccmp _mbsncmp $*.obf !endif $(OBJDIR_TCMAP)\ncoll.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnccoll $(PREFIX)_mbsncoll $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnccoll _mbsncoll $*.obf !endif $(OBJDIR_TCMAP)\ncpy.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsnccpy $(PREFIX)_mbsncpy $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsnccpy _mbsnbcccpy $*.obf !endif $(OBJDIR_TCMAP)\nicmp.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncicmp $(PREFIX)_mbsnicmp $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncicmp _mbsnicmp $*.obf !endif $(OBJDIR_TCMAP)\nicoll.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncicoll $(PREFIX)_mbsnicoll $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncicoll _mbsnicoll $*.obf !endif $(OBJDIR_TCMAP)\nset.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcsncset $(PREFIX)_mbsnset $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcsncset _mbsnset $*.obf !endif # _tcslen -> _mbslen $(OBJDIR_TCMAP)\mbslen.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tcslen $(PREFIX)_mbslen $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tcslen _mbslen $*.obf !endif # character functions $(OBJDIR_TCMAP)\_mbclen.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tclen $(PREFIX)_mbclen $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tclen _mbclen $*.obf !endif $(OBJDIR_TCMAP)\_mbscpy.obj: $(ALIASEXE) $(ALIASEXE) $(PREFIX)_tccpy $(PREFIX)_mbccpy $@ !if "$(TARGET_CPU)"=="IA64" $(ALIASEXE) _tccpy _mbccpy $*.obf !endif TCMAP_OBJECTS = $(TCMAP_NORMAL_OBJECTS) $(TCMAP_SPECIAL_OBJECTS) TCMAP_OBJS = $(TCMAP_OBJECTS:.object=.obj) !if "$(TARGET_CPU)"=="IA64" TCMAP_OBFS = $(TCMAP_OBJECTS:.object=.obf) !endif $(TCMAPLIB_DIR)\tcmap.lib: $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_ST) \ $(OBJDIR_TCMAP) $(TCMAP_OBJS) \ !if "$(TARGET_CPU)"=="IA64" $(TCMAP_OBFS) \ !endif !if "$(BLD_OBJ)"!="1" $(OBJDIR_TCMAP)\tcmap.rsp $(LINKLIB) -out:$@ @$(OBJDIR_TCMAP)\tcmap.rsp $(OBJDIR_TCMAP)\tcmap.rsp: makefile @echo *** Creating linker response file <<$@ $(TCMAP_OBJS: =^ ) !if "$(TARGET_CPU)"=="IA64" $(TCMAP_OBFS: =^ ) !endif < _mbsnb $(OBJDIR_TCMAPDLL)\nbcat.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncat __imp_$(IMP_PREFIX)_mbsnbcat $@ $(OBJDIR_TCMAPDLL)\nbcoll.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncoll __imp_$(IMP_PREFIX)_mbsnbcoll $@ $(OBJDIR_TCMAPDLL)\nbcpy.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncpy __imp_$(IMP_PREFIX)_mbsnbcpy $@ $(OBJDIR_TCMAPDLL)\nbicmp.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnicmp __imp_$(IMP_PREFIX)_mbsnbicmp $@ $(OBJDIR_TCMAPDLL)\nbicoll.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnicoll __imp_$(IMP_PREFIX)_mbsnbicoll $@ $(OBJDIR_TCMAPDLL)\nbset.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnset __imp_$(IMP_PREFIX)_mbsnbset $@ $(OBJDIR_TCMAPDLL)\nbcmp.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncmp __imp_$(IMP_PREFIX)_mbsnbcmp $@ # _tcs[n]c -> _mbs[n] $(OBJDIR_TCMAPDLL)\len.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsclen __imp_$(IMP_PREFIX)_mbslen $@ $(OBJDIR_TCMAPDLL)\ncat.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnccat __imp_$(IMP_PREFIX)_mbsncat $@ $(OBJDIR_TCMAPDLL)\ncmp.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnccmp __imp_$(IMP_PREFIX)_mbsncmp $@ $(OBJDIR_TCMAPDLL)\ncoll.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnccoll __imp_$(IMP_PREFIX)_mbsncoll $@ $(OBJDIR_TCMAPDLL)\ncpy.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsnccpy __imp_$(IMP_PREFIX)_mbsncpy $@ $(OBJDIR_TCMAPDLL)\nicmp.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncicmp __imp_$(IMP_PREFIX)_mbsnicmp $@ $(OBJDIR_TCMAPDLL)\nicoll.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncicoll __imp_$(IMP_PREFIX)_mbsnicoll $@ $(OBJDIR_TCMAPDLL)\nset.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcsncset __imp_$(IMP_PREFIX)_mbsnset $@ # _tcslen -> _mbslen $(OBJDIR_TCMAPDLL)\mbslen.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tcslen __imp_$(IMP_PREFIX)_mbslen $@ # character functions $(OBJDIR_TCMAPDLL)\_mbclen.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tclen __imp_$(IMP_PREFIX)_mbclen $@ $(OBJDIR_TCMAPDLL)\_mbscpy.obj: $(ALIASEXE) $(ALIASEXE) __imp_$(IMP_PREFIX)_tccpy __imp_$(IMP_PREFIX)_mbccpy $@ TCMAPDLL_OBJECTS = $(TCMAPDLL_NORMAL_OBJECTS) $(TCMAPDLL_SPECIAL_OBJECTS) $(TCMAPDLLLIB_DIR)\tcmapdll.lib: $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_DLL) \ $(OBJDIR_TCMAPDLL) $(TCMAPDLL_OBJECTS) \ !if "$(BLD_OBJ)"!="1" $(OBJDIR_TCMAPDLL)\tcmapdll.rsp $(LINKLIB) -out:$@ @$(OBJDIR_TCMAPDLL)\tcmapdll.rsp $(OBJDIR_TCMAPDLL)\tcmapdll.rsp: makefile @echo *** Creating linker response file <<$@ $(TCMAPDLL_OBJECTS: =^ ) <NUL $(RELDIR_CPU)\chkstk.obj: $(OBJDIR_ST)\chkstk.obj copy $** $@ >NUL $(RELDIR_CPU)\commode.obj: $(OBJDIR_ST)\commode.obj copy $** $@ >NUL $(RELDIR_CPU)\newmode.obj: $(OBJDIR_ST)\newmode.obj copy $** $@ >NUL $(RELDIR_CPU)\noarg.obj: $(OBJDIR_ST)\noarg.obj copy $** $@ >NUL $(RELDIR_CPU)\noenv.obj: $(OBJDIR_ST)\noenv.obj copy $** $@ >NUL $(RELDIR_CPU)\setargv.obj: $(OBJDIR_ST)\setargv.obj copy $** $@ >NUL $(RELDIR_CPU)\smalheap.obj: $(OBJDIR_ST)\smalheap.obj copy $** $@ >NUL $(RELDIR_CPU)\thrownew.obj: $(OBJDIR_ST)\thrownew.obj copy $** $@ >NUL $(RELDIR_CPU)\wsetargv.obj: $(OBJDIR_ST)\wsetargv.obj copy $** $@ >NUL !if "$(TARGET_CPU)"=="i386" $(RELDIR_CPU)\fp10.obj: $(OBJDIR_ST)\fp10.obj copy $** $@ >NUL !endif # ******** STRIPLIN=0 ******** !if "$(RTC)"=="YES" $(RELDIR_CPU)\runtmchk.lib: $(OBJDIR_DLL)\rtc.lib \ $(OBJDIR_DLL)\exsup.obj \ $(OBJDIR_DLL)\exsup3.obj \ $(OBJDIR_DLL)\eh3valid.obj \ $(OBJDIR_DLL)\sehprolg.obj \ $(OBJDIR_DLL)\loadcfg.obj \ $(OBJDIR_DLL)\seccook.obj \ $(OBJDIR_DLL)\chkstk.obj $(LINKLIB) -out:$@ $** >NUL !endif # # Auto Rebuild of Dependencies: # # The DEP_CINCS must be the union of the C_INCLUDES variable for the crtw32/* # subdirectories (as set in MAKEFILE.SUB) and the fpw32/* exception cases # (as set in fpw32/{conv,tran}/lsources). Likewise DEP_AINCS is the union # of the two versions of A_INCLUDES (in MAKEFILE.SUB and fpw32/*/lsources.) # ############################################################################### DEP_CINCS = -I. -I../h -I../../crtw32/h -I../include \ -I../stdhpp -I"$(VCTOOLSINC)" \ -I$(LANGAPI)/include -I$(LANGAPI)/undname DEP_AINCS = -I../h -I. -I../../crtw32/h -I../inc -I../inc/$(TARGET_CPU) DEP_OBJDIR = $$(OBJDIR)/ MKDEP = mkdep -v -P $(DEP_OBJDIR) -s .obj -n depend : del_sed depend.sed _depend_ !if "$(POST_BLD)"=="1" DEPSED_SED=..\..\..\prebuild\depsed.sed # extra ../'s because of processing CPUSUBDIR=$(CPUDIR) !else DEPSED_SED=depsed.sed CPUSUBDIR=$(TARGET_CPU) !endif del_sed : if exist depend.sed del depend.sed depend.sed : makefile $(DEPSED_SED) echo s/$(VCTOOLSINC)/$$(VCTOOLSINC)/g | sed -f $(DEPSED_SED) > depend.sed echo s/$(LANGAPI)/$$(LANGAPI)/g | sed -f $(DEPSED_SED) >> depend.sed _depend_ :: $(DEP_DIRS) !@ cd $** \ & echo Building DEPEND.DEF for subdirectory $** ... \ & $(MKDEP) $(DEP_CINCS) *.c > depend.tmp \ & $(MKDEP) $(DEP_CINCS) *.cpp >> depend.tmp \ & $(MKDEP) $(DEP_CINCS) $(CPUSUBDIR)\*.c >> depend.tmp \ & $(MKDEP) $(DEP_CINCS) $(CPUSUBDIR)\*.cpp >> depend.tmp \ & $(MKDEP) $(DEP_AINCS) $(CPUSUBDIR)\*.asm >> depend.tmp \ & sed -f ../../depend.sed depend.tmp > depend.def \ & del depend.tmp \ & cd ..\.. !endif # NTMAKEENV # ******** STRIPLIN=1 ******** #