Ignore:
Timestamp:
May 16, 2002, 1:37:08 PM (23 years ago)
Author:
bird
Message:

Merged in latest changes.

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:18 bird Exp $
     1# $Id: setup.os2debwat11.mk,v 1.8 2002-05-16 11:37:02 bird Exp $
    22
    33# ---OS2, DEBUG, WAT11-------------------------
     
    99ENV_ENVS_FORCE=vac308 watcomc11c
    1010!endif
     11!undef ENV_16BIT
    1112
    1213
     
    2223#
    2324AR=ilib.exe
     25AR=lib.exe
    2426CC=wcc386.exe
    2527CXX=wpp386.exe
     
    3537#
    3638AR_FLAGS=/nologo /noignorecase
    37 AR_CMD=$(AR) $(AR_FLAGS) $@ @$(TARGET_LNK)
    38 _AR_LNK1= "$(TARGET_OBJS: ="&^
     39AR_CMD=$(AR) $(AR_FLAGS) @$(TARGET_LNK)
     40_AR_LNK1= $(TARGET), ^
     41+"$(TARGET_OBJS: ="+^
    3942")"
    4043AR_LNK1= $(_AR_LNK1:""=)
     
    5154CC_PC_2_STDOUT=-pc
    5255
    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)\h
     56CXX_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
    5457CXX_FLAGS_EXE=$(CXX_FLAGS)
    5558CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
     
    6063CXX_LST_OUT=
    6164CXX_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
     72CC=$(CXX)
     73CC_FLAGS_EXE=$(CXX_FLAGS_EXE)
     74CC_FLAGS_DLL=$(CXX_FLAGS_DLL)
     75CC_FLAGS_SYS=$(CXX_FLAGS_SYS)
     76CC_FLAGS_VDD=$(CXX_FLAGS_VDD)
     77CC_FLAGS_IFS=$(CXX_FLAGS_IFS)
     78!endif
     79!if "$(CXX_AS_CC)" != ""
     80CXX=$(CC)
     81CXX_FLAGS_EXE=$(C_FLAGS_EXE)
     82CXX_FLAGS_DLL=$(C_FLAGS_DLL)
     83CXX_FLAGS_SYS=$(C_FLAGS_SYS)
     84CXX_FLAGS_VDD=$(C_FLAGS_VDD)
     85CXX_FLAGS_IFS=$(C_FLAGS_IFS)
     86!endif
    6287
    6388IMPLIB_FLAGS=/NOI /Nologo
     
    81106LINK_LNK5=name       $(PATH_TARGET)\$(TARGET_NAME).$(TARGET_EXT)
    82107
    83 RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
     108RC_FLAGS=-r -n $(RC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(RC_INCLUDES:-I=-i ) $(ALL_INCLUDES:-I=-i ) -i $(PATH_INCLUDES:;= -i )
    84109RL_FLAGS=-x2 -n
    85110
     
    89114#
    90115LIB_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"
     117LIB_C_OBJ   = clib3r.lib plibmt3r.lib math387r.lib emu387.lib
     118LIB_C_DLL   = clbrdll.lib plbrdll.lib mt7rdll.lib emu387.lib
     119LIB_C_RTDLL = clbrdll.lib  # TODO
     120LIB_C_NRE   = $(LIB_C_OBJ) # TODO
     121!else
     122LIB_C_OBJ   = clib3r.lib plbxmt3r.lib math387r.lib emu387.lib
     123LIB_C_DLL   = clbrdll.lib plbrdllx.lib mt7rdll.lib emu387.lib
     124LIB_C_RTDLL = clbrdll.lib  # TODO
     125LIB_C_NRE   = $(LIB_C_OBJ) # TODO
     126!endif
    95127LIB_C_DMNGL =
    96128OBJ_PROFILE =
Note: See TracChangeset for help on using the changeset viewer.