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