source: trunk/make/setup.os2debmscv6.mk@ 9149

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

Separated ilink va3xx setup into it's own three config files.

File size: 2.5 KB
Line 
1# $Id: setup.os2debmscv6.mk,v 1.13 2002-08-28 03:42:44 bird Exp $
2
3# ---OS2, DEBUG, MSCV6-------------------------
4ENV_NAME="OS/2, Debug, Microsoft C v6.0a 32-bit"
5ENV_STATUS=OK
6!if "$(ENV_ENVS)" == ""
7ENV_ENVS=vac308 mscv6
8!else
9ENV_ENVS_FORCE=vac308 mscv6
10!endif
11!undef ENV_16BIT
12
13
14#
15# Include some shared standard stuff: ALP.
16#
17!include $(PATH_MAKE)\setup.os2debalp.mk
18!include $(PATH_MAKE)\setup.os2prfrc.mk
19!include $(PATH_MAKE)\setup.os2prfwrc.mk
20!include $(PATH_MAKE)\setup.os2prfilink.mk
21
22
23#
24# The tools
25#
26AR=ilib.exe
27CC=cl386.exe
28CXX=false
29IMPLIB=implib.exe
30
31
32#
33# The flags
34#
35AR_FLAGS=/nologo /noignorecase
36AR_CMD=$(AR) $(AR_FLAGS) @"$(TARGET_LNK)"
37AR_LNK1= "$(@R).$(EXT_LIB)"
38AR_LNK2=y
39_AR_LNK3= +"$(TARGET_OBJS: ="&^
40 +")"
41AR_LNK3= $(_AR_LNK3:+""&^
42=)
43AR_LNK4= "$(@R).lst";
44
45
46#
47# C Compiler flags.
48#
49_CC_SEG_TEXT =
50_CC_SEG_DATA =
51_CC_SEG_XCPT =
52_CC_DEFAULT_LIBS = /Zl
53_CC_PACK = /Zp
54_CC_MODEL =
55
56!ifdef ALL_SEG_TEXT
57_CC_SEG_TEXT=/NT$(ALL_SEG_TEXT)
58!endif
59!ifdef CC_SEG_TEXT
60_CC_SEG_TEXT=/NT$(CC_SEG_TEXT)
61!endif
62!ifdef ALL_SEG_DATA
63_CC_SEG_DATA=/ND$(ALL_SEG_TEXT)
64!endif
65!ifdef CC_SEG_DATA
66_CC_SEG_DATA=/ND$(CC_SEG_TEXT)
67!endif
68!if defined(CC_DEFAULT_LIBS) || defined(ALL_DEFAULT_LIBS)
69_CC_DEFAULT_LIBS =
70!endif
71!ifdef ALL_PACK
72_CC_PACK = /Zp$(ALL_PACK)
73!endif
74!ifdef CC_PACK
75_CC_PACK = /Zp$(CC_PACK)
76!endif
77!if defined(CXX_MODEL) || defined(ALL_MODEL)
78! if [$(ECHO) warning: CXX_MODEL/ALL_MODEL isn't supported by this compiler$(CLRRST)]
79! endif
80!endif
81
82_CC_OPTIONAL = $(_CC_SEG_TEXT) $(_CC_SEG_DATA) $(_CC_SEG_XCPT) $(_CC_DEFAULT_LIBS) $(_CC_PACK) $(_CC_MODEL)
83
84CC_FLAGS=/nologo /c /DDEBUG /DOS2 /D__32BIT__ /D__i386__ /W0 /G3 /Zi $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
85CC_FLAGS_EXE=$(CC_FLAGS)
86CC_FLAGS_DLL=$(CC_FLAGS)
87CC_FLAGS_SYS=$(CC_FLAGS) /DRING0 /Gs /Owis
88CC_FLAGS_IFS=$(CC_FLAGS_SYS)
89CC_OBJ_OUT=/Fo
90CC_LST_OUT=/Fl
91CC_PC_2_STDOUT=/P /C /E
92
93CXX_FLAGS=
94CXX_FLAGS_EXE=
95CXX_FLAGS_DLL=
96CXX_FLAGS_SYS=
97CXX_FLAGS_IFS=
98CXX_OBJ_OUT=
99CXX_LST_OUT=
100CXX_PC_2_STDOUT=
101
102!if "$(CC_AS_CXX)" != ""
103! if [@(ECHO) $(CLRERR)Error: CC_AS_CXX is not supported by this compiler!$(CLRRST)]
104! endif
105! error
106!endif
107!if "$(CXX_AS_CC)" != ""
108! if [@(ECHO) $(CLRERR)Error: CXX_AS_CC is not supported by this compiler!$(CLRRST)]
109! endif
110! error
111!endif
112
113IMPLIB_FLAGS=/NOI /Nologo
114
115
116#
117# Libraries and object files.
118#
119LIB_OS = os2386.lib
120LIB_C_OBJ = libc.lib
121LIB_C_DLL = libc.lib
122LIB_C_RTDLL = libc.lib
123LIB_C_NRE =
124LIB_C_DMNGL =
125OBJ_PROFILE =
126
127# ---OS2, DEBUG, MSCV6-------------------------
128
Note: See TracBrowser for help on using the repository browser.