source: trunk/make/setup.os2debvac365.mk@ 10010

Last change on this file since 10010 was 9323, checked in by bird, 23 years ago

Force /Tm- for Ring0 compilation.

File size: 2.5 KB
Line 
1# $Id: setup.os2debvac365.mk,v 1.21 2002-10-04 04:32:41 bird Exp $
2
3# ---OS2, DEBUG, VAC365-------------------------
4ENV_NAME="OS/2, Debug, IBM VisualAge for C++ 3.6.5"
5ENV_STATUS=OK
6!if "$(ENV_ENVS)" == ""
7ENV_ENVS=vac365
8!else
9ENV_ENVS_FORCE=vac365
10!endif
11!undef ENV_16BIT
12
13
14#
15# Include some shared standard stuff: ALP, VAC optional stuff.
16#
17!include $(PATH_MAKE)\setup.os2as.mk
18!include $(PATH_MAKE)\setup.os2allrc.mk
19!include $(PATH_MAKE)\setup.os2allwrc.mk
20!include $(PATH_MAKE)\setup.os2ld.mk
21_AR_NOFREE = 1
22!include $(PATH_MAKE)\setup.os2ar.mk
23!include $(PATH_MAKE)\setup.os2allipfc.mk
24!include $(PATH_MAKE)\setup.optional.vac3xx.mk
25
26
27#
28# The tools
29#
30CC=icc.exe
31CXX=icc.exe
32
33
34#
35# The flags
36#
37CC_FLAGS=/Q /DDEBUG /DOS2 /D__32BIT__ /D__i386__ /DMODEL=FLAT /Ti+ /O- /Ss+ /C+ $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
38CC_FLAGS_EXE=$(CC_FLAGS) /Gm+ /Ge+
39CC_FLAGS_DLL=$(CC_FLAGS) /Gm+ /Ge-
40CC_FLAGS_SYS=$(CC_FLAGS) /Tm- /Rn /Ge+ /DRING0 /Gr+ /Gs- /Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext-
41CC_FLAGS_VDD=$(CC_FLAGS_SYS)
42CC_FLAGS_IFS=$(CC_FLAGS_SYS) /Ge-
43CC_OBJ_OUT=/Fo
44CC_LST_OUT=/Fa
45CC_PC_2_STDOUT=/Pd+ /P+ /Pc+
46CC_PC_2_STRIPPED_STDOUT=/Pd+ /P+ /Pc- /Pe+
47
48CXX_FLAGS=/Q /DDEBUG /DOS2 /D__i386__ /DMODEL=FLAT /Ti+ /O- /Ss+ /C+ $(_CXX_OPTIONAL) $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
49CXX_FLAGS_EXE=$(CXX_FLAGS) /Gm+ /Ge+
50CXX_FLAGS_DLL=$(CXX_FLAGS) /Gm+ /Ge-
51CXX_FLAGS_SYS=$(CXX_FLAGS) /Tm- /Rn /Ge+ /DRING0 /Gr+ /Gs- /Wall+ppt-ppc-inl-cnv-gnr-vft- /Gx+
52CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
53CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) /Ge-
54CXX_OBJ_OUT=/Fo
55CXX_LST_OUT=/Fa
56CXX_PC_2_STDOUT=/Pd+ /P+ /Pc+
57CXX_PC_2_STRIPPED_STDOUT=/Pd+ /P+ /Pc- /Pe+
58
59!if "$(CC_AS_CXX)" != ""
60! if "$(CXX_AS_CC)" != ""
61! if [@(ECHO) $(CLRERR)Error: CC_AS_CXX and CXX_AS_CC is mutual execlusive!$(CLRRST)]
62! endif
63! error
64! endif
65CC=$(CXX)
66CC_FLAGS_EXE=$(CXX_FLAGS_EXE) /Tdp
67CC_FLAGS_DLL=$(CXX_FLAGS_DLL) /Tdp
68CC_FLAGS_SYS=$(CXX_FLAGS_SYS) /Tdp
69CC_FLAGS_VDD=$(CXX_FLAGS_VDD) /Tdp
70CC_FLAGS_IFS=$(CXX_FLAGS_IFS) /Tdp
71!endif
72!if "$(CXX_AS_CC)" != ""
73CXX=$(CC)
74CXX_FLAGS_EXE=$(CC_FLAGS_EXE) /Tdc
75CXX_FLAGS_DLL=$(CC_FLAGS_DLL) /Tdc
76CXX_FLAGS_SYS=$(CC_FLAGS_SYS) /Tdc
77CXX_FLAGS_VDD=$(CC_FLAGS_VDD) /Tdc
78CXX_FLAGS_IFS=$(CC_FLAGS_IFS) /Tdc
79!endif
80
81
82#
83# Libraries and object files.
84#
85LIB_OS = os2386.lib
86LIB_C_OBJ = cpprms36.lib
87LIB_C_DLL = cpprmi36.lib
88LIB_C_RTDLL = cpprmo36.lib
89LIB_C_NRE = cpprni36.lib
90LIB_C_DMNGL = cpprds36.lib
91OBJ_PROFILE =
92
93# ---OS2, DEBUG, VAC365-------------------------
94
Note: See TracBrowser for help on using the repository browser.