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