1 | # $Id: setup.win32debwat11.mk,v 1.16 2003-09-14 18:53:03 bird Exp $
|
---|
2 |
|
---|
3 | # ---WIN32, DEBUG, WAT11-------------------------
|
---|
4 | ENV_NAME="Win32, Debug, Watcom C/C++ v11.0c"
|
---|
5 | ENV_STATUS=OK
|
---|
6 | !if "$(ENV_ENVS)" == ""
|
---|
7 | ENV_ENVS=vac308 watcomc11c
|
---|
8 | !else
|
---|
9 | ENV_ENVS_FORCE=vac308 watcomc11c
|
---|
10 | !endif
|
---|
11 |
|
---|
12 |
|
---|
13 | #
|
---|
14 | # Include some shared standard stuff: ALP, optional stuff.
|
---|
15 | #
|
---|
16 | AS_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;
|
---|
25 | TOOL_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 | #
|
---|
35 | CC=wcc386.exe
|
---|
36 | CXX=wpp386.exe
|
---|
37 | IMPLIB=implib.exe
|
---|
38 | TOOL_STRIP=
|
---|
39 |
|
---|
40 |
|
---|
41 | #
|
---|
42 | # The flags
|
---|
43 | #
|
---|
44 | CC_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
|
---|
45 | CC_FLAGS_EXE=$(CC_FLAGS)
|
---|
46 | CC_FLAGS_DLL=$(CC_FLAGS) -bd
|
---|
47 | CC_FLAGS_SYS=$(CC_FLAGS) -s -zdp -zff -zgf
|
---|
48 | CC_FLAGS_VDD=$(CC_FLAGS_SYS)
|
---|
49 | CC_FLAGS_IFS=$(CC_FLAGS_SYS) -bd
|
---|
50 |
|
---|
51 | CXX_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
|
---|
52 | CXX_FLAGS_EXE=$(CXX_FLAGS)
|
---|
53 | CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
|
---|
54 | CXX_FLAGS_SYS=$(CXX_FLAGS) -s -zdp -zff -zgf
|
---|
55 | CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
|
---|
56 | CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) -bd
|
---|
57 |
|
---|
58 | IMPLIB_FLAGS=/NOI /Nologo
|
---|
59 |
|
---|
60 |
|
---|
61 | #
|
---|
62 | # Libraries and object files.
|
---|
63 | #
|
---|
64 | LIB_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"
|
---|
66 | LIB_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
|
---|
67 | LIB_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
|
---|
68 | LIB_C_RTDLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib # TODO
|
---|
69 | LIB_C_NRE = $(LIB_C_OBJ) # TODO
|
---|
70 | !else
|
---|
71 | LIB_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
|
---|
72 | LIB_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
|
---|
73 | LIB_C_RTDLL = $(PATH_WATCOM)\lib386\nt\clbrdll.lib # TODO
|
---|
74 | LIB_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
|
---|
80 | LIB_C_DMNGL =
|
---|
81 | OBJ_PROFILE =
|
---|
82 |
|
---|
83 | # ---WIN32, DEBUG, WAT11-------------------------
|
---|
84 |
|
---|