source: trunk/make/setup.os2debwat11.mk@ 8334

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

Build level. optional C/C++ flags.

File size: 2.7 KB
RevLine 
[8334]1# $Id: setup.os2debwat11.mk,v 1.5 2002-04-30 06:20:03 bird Exp $
[8252]2
[8296]3# ---OS2, DEBUG, WAT11-------------------------
4ENV_NAME="OS/2, Debug, Watcom C/C++ v11.0c"
[8252]5ENV_STATUS=OK
[8294]6!if "$(ENV_ENVS)" == ""
7ENV_ENVS=vac308 watcomc11c
8!else
9ENV_ENVS_FORCE=vac308 watcomc11c
10!endif
[8252]11
[8296]12
[8252]13#
[8334]14# Include some shared standard stuff: ALP, VAC optional stuff.
[8252]15#
16!include $(PATH_MAKE)\setup.os2debalp.mk
[8334]17!include $(PATH_MAKE)\setup.optional.watcom11x.mk
[8252]18
[8296]19
[8252]20#
21# The tools
22#
23AR=ilib.exe
24CC=wcc386.exe
25CXX=wpp386.exe
26LINK=wlink.exe
27IMPLIB=implib.exe
28RC=rc.exe
29RL=rc.exe
30EXEPACK=lxlite.exe
31
32
33#
34# The flags
35#
36AR_FLAGS=/nologo /noignorecase
37AR_CMD=$(AR) $(AR_FLAGS) $@ @$(TARGET_LNK)
38_AR_LNK1= "$(TARGET_OBJS: ="&^
39")"
40AR_LNK1= $(_AR_LNK1:""=)
41AR_LNK2= $(@R).lst
42
[8334]43_CC_FLAGS_OS = -bt=os2v2 -dOS2
[8252]44
[8334]45CC_FLAGS=$(_CC_FLAGS_OS) -zq -bm -ze -w4 -dDEBUG -d2 -hc -zc $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h
[8252]46CC_FLAGS_EXE=$(CC_FLAGS)
47CC_FLAGS_DLL=$(CC_FLAGS) -bd
48CC_FLAGS_SYS=$(CC_FLAGS)
[8292]49CC_FLAGS_VDD=$(CC_FLAGS_SYS)
[8334]50CC_FLAGS_IFS=$(CC_FLAGS_SYS) -bd
[8252]51CC_OBJ_OUT=-fo=
52CC_LST_OUT=
[8334]53CXX_PC_2_STDOUT=-pc
[8252]54
[8334]55CXX_FLAGS=$(_CC_FLAGS_OS) -zq -bm -ze -w4 -dDEBUG -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
[8252]56CXX_FLAGS_EXE=$(CXX_FLAGS)
57CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
58CXX_FLAGS_SYS=$(CXX_FLAGS) -s -zdp -zff -zgf
[8292]59CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
[8334]60CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) -bd
[8252]61CXX_OBJ_OUT=-fo=
[8334]62CXX_LST_OUT=
63CXX_PC_2_STDOUT=-pc
[8252]64
65IMPLIB_FLAGS=/NOI /Nologo
66
67LINK_FLAGS=format os2 lx pmcompatible option quiet, map
68LINK_FLAGS_EXE=$(LINK_FLAGS)
69LINK_FLAGS_DLL=$(LINK_FLAGS)
70LINK_FLAGS_SYS=format os2 physdevice option int, dosseg, map, eliminate, mang, tog sort global d codeview
[8292]71LINK_FLAGS_VDD=format os2 virtdevice option int, dosseg, map, eliminate, mang, tog sort global d codeview
[8252]72LINK_FLAGS_IFS=$(LINK_FLAGS_DLL)
73LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
74LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
75LINK_CMD_SYS=$(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
[8292]76LINK_CMD_VDD=$(LINK) $(LINK_FLAGS_VDD) @$(TARGET_LNK)
[8252]77LINK_CMD_IFS=$(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
78LINK_LNK1=file $(TARGET_OBJS: =^
79file )
80LINK_LNK2=libpath $(WATCOM)\lib386;$(WATCOM)\lib386\os2;
81LINK_LNK3=option map=$(TARGET_MAP)
82LINK_LNK4=library $(TARGET_LIBS: =^, )
83LINK_LNK5=name $(PATH_TARGET)\$(TARGET_NAME).$(TARGET_EXT)
84
85RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
86RL_FLAGS=-x2 -n
87
[8296]88
[8252]89#
90# Libraries and object files.
91#
92LIB_OS = os2386.lib
93LIB_C_OBJ = clib3r.lib
94LIB_C_DLL = clbrdll.lib
95LIB_C_RTDLL = clbrdll.lib
96LIB_C_NRE = clib3r.lib
97LIB_C_DMNGL =
98OBJ_PROFILE =
99
[8296]100# ---OS2, DEBUG, WAT11-------------------------
[8252]101
Note: See TracBrowser for help on using the repository browser.