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

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

VDD. Removed if 0 around /free ilink stuff.

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