source: trunk/make/setup.win32debwat11.mk@ 10366

Last change on this file since 10366 was 10248, checked in by bird, 22 years ago

Synced with other projects.

File size: 3.1 KB
Line 
1# $Id: setup.win32debwat11.mk,v 1.16 2003-09-14 18:53:03 bird Exp $
2
3# ---WIN32, DEBUG, WAT11-------------------------
4ENV_NAME="Win32, Debug, Watcom C/C++ v11.0c"
5ENV_STATUS=OK
6!if "$(ENV_ENVS)" == ""
7ENV_ENVS=vac308 watcomc11c
8!else
9ENV_ENVS_FORCE=vac308 watcomc11c
10!endif
11
12
13#
14# Include some shared standard stuff: ALP, optional stuff.
15#
16AS_DEBUG_TYPE = Codeview
17!include $(PATH_MAKE)\setup.os2as.mk
18!include $(PATH_MAKE)\setup.win32allwcrc.mk
19#!include $(PATH_MAKE)\setup.os2allwrc.mk
20!ifdef LD_USE_ILINK
21! error error: LD_USE_ILINK isn't supported by the win32 watcom setup.
22!else
23# TODO!
24_LD_LIBPATH = $(PATH_WATCOM)\lib386\nt;$(PATH_WATCOM)\lib386;
25TOOL_MAPSYM_TYPE= WLINK
26! include $(PATH_MAKE)\setup.os2relwlink.mk
27!endif
28!include $(PATH_MAKE)\setup.optional.watcom11x.mk
29!include $(PATH_MAKE)\setup.os2allwlib.mk
30
31
32#
33# The tools
34#
35CC=wcc386.exe
36CXX=wpp386.exe
37IMPLIB=implib.exe
38TOOL_STRIP=
39
40
41#
42# The flags
43#
44CC_FLAGS=-bt=nt -dDEBUG -dWIN32 -d__32BIT__ -d__i386__ -zq -fr=nul -bm -ze -w4 -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\nt -i=$(WATCOM)\h
45CC_FLAGS_EXE=$(CC_FLAGS)
46CC_FLAGS_DLL=$(CC_FLAGS) -bd
47CC_FLAGS_SYS=$(CC_FLAGS) -s -zdp -zff -zgf
48CC_FLAGS_VDD=$(CC_FLAGS_SYS)
49CC_FLAGS_IFS=$(CC_FLAGS_SYS) -bd
50
51CXX_FLAGS=-bt=nt -dDEBUG -dWIN32 -d__32BIT__ -d__i386__ -zq -fr=nul -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\nt -i=$(WATCOM)\h
52CXX_FLAGS_EXE=$(CXX_FLAGS)
53CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
54CXX_FLAGS_SYS=$(CXX_FLAGS) -s -zdp -zff -zgf
55CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
56CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) -bd
57
58IMPLIB_FLAGS=/NOI /Nologo
59
60
61#
62# Libraries and object files.
63#
64LIB_OS = $(WATCOM)\lib386\nt\kernel32.lib $(WATCOM)\lib386\nt\user32.lib $(WATCOM)\lib386\nt\gdi32.lib $(WATCOM)\lib386\nt\advapi32.lib $(WATCOM)\lib386\nt\nt.lib
65!if "$(_CXX_XCPT)" == "-xd"
66LIB_C_OBJ = $(PATH_WATCOM)\lib386\nt\clib3r.lib $(PATH_WATCOM)\lib386\nt\plibmt3r.lib $(PATH_WATCOM)\lib386\plibmt3r.lib $(PATH_WATCOM)\lib386\math387r.lib $(PATH_WATCOM)\lib386\nt\emu387.lib
67LIB_C_DLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib $(PATH_WATCOM)\lib386\nt\plbrdll.lib $(PATH_WATCOM)\lib386\plbrdll.lib $(PATH_WATCOM)\lib386\nt\mt7rdll.lib $(PATH_WATCOM)\lib386\nt\emu387.lib
68LIB_C_RTDLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib # TODO
69LIB_C_NRE = $(LIB_C_OBJ) # TODO
70!else
71LIB_C_OBJ = $(PATH_WATCOM)\lib386\nt\clib3r.lib $(PATH_WATCOM)\lib386\nt\plbxmt3r.lib $(PATH_WATCOM)\lib386\plbxmt3r.lib $(PATH_WATCOM)\lib386\math387r.lib $(PATH_WATCOM)\lib386\nt\emu387.lib
72LIB_C_DLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib $(PATH_WATCOM)\lib386\nt\plbrdllx.lib $(PATH_WATCOM)\lib386\plbrdllx.lib $(PATH_WATCOM)\lib386\nt\mt7rdll.lib $(PATH_WATCOM)\lib386\nt\emu387.lib
73LIB_C_RTDLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib # TODO
74LIB_C_NRE = $(LIB_C_OBJ) # TODO
75!endif
76#LIB_C_OBJ = clib3r.lib
77#LIB_C_DLL = clbrdll.lib
78#LIB_C_RTDLL = clbrdll.lib
79#LIB_C_NRE = clib3r.lib
80LIB_C_DMNGL =
81OBJ_PROFILE =
82
83# ---WIN32, DEBUG, WAT11-------------------------
84
Note: See TracBrowser for help on using the repository browser.