Changeset 8423 for trunk/make/setup.os2debwat11.mk
- Timestamp:
- May 16, 2002, 1:37:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/setup.os2debwat11.mk
r8362 r8423 1 # $Id: setup.os2debwat11.mk,v 1. 7 2002-05-01 04:00:18bird Exp $1 # $Id: setup.os2debwat11.mk,v 1.8 2002-05-16 11:37:02 bird Exp $ 2 2 3 3 # ---OS2, DEBUG, WAT11------------------------- … … 9 9 ENV_ENVS_FORCE=vac308 watcomc11c 10 10 !endif 11 !undef ENV_16BIT 11 12 12 13 … … 22 23 # 23 24 AR=ilib.exe 25 AR=lib.exe 24 26 CC=wcc386.exe 25 27 CXX=wpp386.exe … … 35 37 # 36 38 AR_FLAGS=/nologo /noignorecase 37 AR_CMD=$(AR) $(AR_FLAGS) $@ @$(TARGET_LNK) 38 _AR_LNK1= "$(TARGET_OBJS: ="&^ 39 AR_CMD=$(AR) $(AR_FLAGS) @$(TARGET_LNK) 40 _AR_LNK1= $(TARGET), ^ 41 +"$(TARGET_OBJS: ="+^ 39 42 ")" 40 43 AR_LNK1= $(_AR_LNK1:""=) … … 51 54 CC_PC_2_STDOUT=-pc 52 55 53 CXX_FLAGS=-bt=os2v2 -dDEBUG -dOS2 -d__32BIT__ -d__i386__ -5r -zq -bm -ze -w4 -d2 -hc -zc (_CXX_OPTIONAL) $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h56 CXX_FLAGS=-bt=os2v2 -dDEBUG -dOS2 -d__32BIT__ -d__i386__ -5r -zq -bm -ze -w4 -d2 -hc -zc $(_CXX_OPTIONAL) $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h 54 57 CXX_FLAGS_EXE=$(CXX_FLAGS) 55 58 CXX_FLAGS_DLL=$(CXX_FLAGS) -bd … … 60 63 CXX_LST_OUT= 61 64 CXX_PC_2_STDOUT=-pc 65 66 !if "$(CC_AS_CXX)" != "" 67 ! if "$(CXX_AS_CC)" != "" 68 ! if [@(ECHO) $(CLRERR)Error: Do you think you're smart? CC_AS_CXX and CXX_AS_CC is mutual execlusive!$(CLRRST)] 69 ! endif 70 ! error 71 ! endif 72 CC=$(CXX) 73 CC_FLAGS_EXE=$(CXX_FLAGS_EXE) 74 CC_FLAGS_DLL=$(CXX_FLAGS_DLL) 75 CC_FLAGS_SYS=$(CXX_FLAGS_SYS) 76 CC_FLAGS_VDD=$(CXX_FLAGS_VDD) 77 CC_FLAGS_IFS=$(CXX_FLAGS_IFS) 78 !endif 79 !if "$(CXX_AS_CC)" != "" 80 CXX=$(CC) 81 CXX_FLAGS_EXE=$(C_FLAGS_EXE) 82 CXX_FLAGS_DLL=$(C_FLAGS_DLL) 83 CXX_FLAGS_SYS=$(C_FLAGS_SYS) 84 CXX_FLAGS_VDD=$(C_FLAGS_VDD) 85 CXX_FLAGS_IFS=$(C_FLAGS_IFS) 86 !endif 62 87 63 88 IMPLIB_FLAGS=/NOI /Nologo … … 81 106 LINK_LNK5=name $(PATH_TARGET)\$(TARGET_NAME).$(TARGET_EXT) 82 107 83 RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)108 RC_FLAGS=-r -n $(RC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(RC_INCLUDES:-I=-i ) $(ALL_INCLUDES:-I=-i ) -i $(PATH_INCLUDES:;= -i ) 84 109 RL_FLAGS=-x2 -n 85 110 … … 89 114 # 90 115 LIB_OS = os2386.lib 91 LIB_C_OBJ = clib3r.lib 92 LIB_C_DLL = clbrdll.lib 93 LIB_C_RTDLL = clbrdll.lib 94 LIB_C_NRE = clib3r.lib 116 !if "$(_CXX_XCPT)" == "-xd" 117 LIB_C_OBJ = clib3r.lib plibmt3r.lib math387r.lib emu387.lib 118 LIB_C_DLL = clbrdll.lib plbrdll.lib mt7rdll.lib emu387.lib 119 LIB_C_RTDLL = clbrdll.lib # TODO 120 LIB_C_NRE = $(LIB_C_OBJ) # TODO 121 !else 122 LIB_C_OBJ = clib3r.lib plbxmt3r.lib math387r.lib emu387.lib 123 LIB_C_DLL = clbrdll.lib plbrdllx.lib mt7rdll.lib emu387.lib 124 LIB_C_RTDLL = clbrdll.lib # TODO 125 LIB_C_NRE = $(LIB_C_OBJ) # TODO 126 !endif 95 127 LIB_C_DMNGL = 96 128 OBJ_PROFILE =
Note:
See TracChangeset
for help on using the changeset viewer.