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
RevLine 
[9149]1# $Id: setup.os2debmscv6.mk,v 1.13 2002-08-28 03:42:44 bird Exp $
[8197]2
3# ---OS2, DEBUG, MSCV6-------------------------
[8352]4ENV_NAME="OS/2, Debug, Microsoft C v6.0a 32-bit"
[8197]5ENV_STATUS=OK
[8296]6!if "$(ENV_ENVS)" == ""
[8334]7ENV_ENVS=vac308 mscv6
[8296]8!else
[8334]9ENV_ENVS_FORCE=vac308 mscv6
[8296]10!endif
[8423]11!undef ENV_16BIT
[8197]12
[8296]13
[8197]14#
[8213]15# Include some shared standard stuff: ALP.
16#
17!include $(PATH_MAKE)\setup.os2debalp.mk
[9138]18!include $(PATH_MAKE)\setup.os2prfrc.mk
[9120]19!include $(PATH_MAKE)\setup.os2prfwrc.mk
[9149]20!include $(PATH_MAKE)\setup.os2prfilink.mk
[8213]21
[8296]22
[8213]23#
[8197]24# The tools
25#
26AR=ilib.exe
[8352]27CC=cl386.exe
[8197]28CXX=false
29IMPLIB=implib.exe
30
[8296]31
[8197]32#
33# The flags
34#
35AR_FLAGS=/nologo /noignorecase
[9060]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";
[8197]44
[8334]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
[8352]54_CC_MODEL =
[8334]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
[8352]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
[8334]80!endif
81
82_CC_OPTIONAL = $(_CC_SEG_TEXT) $(_CC_SEG_DATA) $(_CC_SEG_XCPT) $(_CC_DEFAULT_LIBS) $(_CC_PACK) $(_CC_MODEL)
83
[8352]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)
[8334]85CC_FLAGS_EXE=$(CC_FLAGS)
[8197]86CC_FLAGS_DLL=$(CC_FLAGS)
[8352]87CC_FLAGS_SYS=$(CC_FLAGS) /DRING0 /Gs /Owis
[8213]88CC_FLAGS_IFS=$(CC_FLAGS_SYS)
[8334]89CC_OBJ_OUT=/Fo
[8352]90CC_LST_OUT=/Fl
91CC_PC_2_STDOUT=/P /C /E
[8197]92
93CXX_FLAGS=
94CXX_FLAGS_EXE=
95CXX_FLAGS_DLL=
96CXX_FLAGS_SYS=
[8352]97CXX_FLAGS_IFS=
[8197]98CXX_OBJ_OUT=
[8352]99CXX_LST_OUT=
[8197]100CXX_PC_2_STDOUT=
101
[8423]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
[8197]113IMPLIB_FLAGS=/NOI /Nologo
114
115
116#
117# Libraries and object files.
118#
[8352]119LIB_OS = os2386.lib
120LIB_C_OBJ = libc.lib
121LIB_C_DLL = libc.lib
122LIB_C_RTDLL = libc.lib
[8213]123LIB_C_NRE =
124LIB_C_DMNGL =
125OBJ_PROFILE =
[8197]126
127# ---OS2, DEBUG, MSCV6-------------------------
128
Note: See TracBrowser for help on using the repository browser.