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

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

Initial config. still todo itmes.

File size: 3.2 KB
Line 
1# $Id: setup.os2debwat11.mk,v 1.1 2002-04-13 04:39:38 bird Exp $
2
3# ---OS2, DEBUG, VAC308-------------------------
4ENV_NAME="OS/2, Debug, IBM VisualAge for C++ 3.08"
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_IFS=$(CC_FLAGS_SYS)
43CC_OBJ_OUT=-fo=
44CC_LST_OUT=
45CC_PC_2_STDOUT=
46
47CXX_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
48CXX_FLAGS_EXE=$(CXX_FLAGS)
49CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
50CXX_FLAGS_CRT=$(CXX_FLAGS) -bd -br
51CXX_FLAGS_SYS=$(CXX_FLAGS) -s -zdp -zff -zgf
52CC_FLAGS_IFS=$(CC_FLAGS_SYS)
53CXX_OBJ_OUT=-fo=
54CXX_PC_2_STDOUT=
55
56IMPLIB_FLAGS=/NOI /Nologo
57
58LINK_FLAGS=/nofree /nologo /de /map /NOE /NOD /Optfunc /PACKCODE /PACKDATA
59LINK_FLAGS_EXE=$(LINK_FLAGS) /EXECutable /STACK:$(TARGET_STACKSIZE)
60LINK_FLAGS_DLL=$(LINK_FLAGS) /DLL
61LINK_FLAGS_SYS=$(LINK_FLAGS) /PDD /Align:16 /NOIgnorecase
62LINK_FLAGS_IFS=$(LINK_FLAGS_DLL)
63LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
64LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
65LINK_CMD_SYS=$(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
66LINK_CMD_IFS=$(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
67!if 0 # nofree works better for me (kso) when working with my drivers...
68LINK_LNK1=$(TARGET_OBJS: =^
69)
70LINK_LNK2=/OUT:$(TARGET)
71LINK_LNK3=/MAP:$(TARGET_MAP)
72LINK_LNK4=$(TARGET_LIBS: =^
73)
74LINK_LNK5=$(TARGET_DEF)
75!else
76LINK_LNK1=$(TARGET_OBJS: =+^
77),
78LINK_LNK2=$(TARGET),
79LINK_LNK3=$(TARGET_MAP),
80LINK_LNK4=$(TARGET_LIBS: =+^
81),
82LINK_LNK5=$(TARGET_DEF)
83!endif
84
85LINK_FLAGS=format os2 lx pmcompatible option quiet, map
86LINK_FLAGS_EXE=$(LINK_FLAGS)
87LINK_FLAGS_DLL=$(LINK_FLAGS)
88LINK_FLAGS_SYS=format os2 physdevice option int, dosseg, map, eliminate, mang, tog sort global d codeview
89LINK_FLAGS_IFS=$(LINK_FLAGS_DLL)
90LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
91LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
92LINK_CMD_SYS=$(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
93LINK_CMD_IFS=$(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
94LINK_LNK1=file $(TARGET_OBJS: =^
95file )
96LINK_LNK2=libpath $(WATCOM)\lib386;$(WATCOM)\lib386\os2;
97LINK_LNK3=option map=$(TARGET_MAP)
98LINK_LNK4=library $(TARGET_LIBS: =^, )
99LINK_LNK5=name $(PATH_TARGET)\$(TARGET_NAME).$(TARGET_EXT)
100
101RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
102RL_FLAGS=-x2 -n
103
104#
105# Libraries and object files.
106#
107LIB_OS = os2386.lib
108LIB_C_OBJ = clib3r.lib
109LIB_C_DLL = clbrdll.lib
110LIB_C_RTDLL = clbrdll.lib
111LIB_C_NRE = clib3r.lib
112LIB_C_DMNGL =
113OBJ_PROFILE =
114
115# ---OS2, DEBUG, VAC308-------------------------
116
Note: See TracBrowser for help on using the repository browser.