]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/execmon/makefile.wat
update the intl.* files directly from genlang.py script instead of generating snippet...
[wxWidgets.git] / utils / execmon / makefile.wat
... / ...
CommitLineData
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.6 (http://www.bakefile.org)\r
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7!include ../../build/msw/config.wat\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13# Speed up compilation a bit:\r
14!ifdef __LOADDLL__\r
15! loaddll wcc wccd\r
16! loaddll wccaxp wccdaxp\r
17! loaddll wcc386 wccd386\r
18! loaddll wpp wppdi86\r
19! loaddll wppaxp wppdaxp\r
20! loaddll wpp386 wppd386\r
21! if $(__VERSION__) >= 1280\r
22! loaddll wlink wlinkd\r
23! else\r
24! loaddll wlink wlink\r
25! endif\r
26! loaddll wlib wlibd\r
27!endif\r
28\r
29# We need these variables in some bakefile-made rules:\r
30WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-\r
31\r
32### Conditionally set variables: ###\r
33\r
34PORTNAME =\r
35!ifeq USE_GUI 0\r
36PORTNAME = base\r
37!endif\r
38!ifeq USE_GUI 1\r
39PORTNAME = msw\r
40!endif\r
41WXDEBUGFLAG =\r
42!ifeq BUILD debug\r
43!ifeq DEBUG_FLAG default\r
44WXDEBUGFLAG = d\r
45!endif\r
46!endif\r
47!ifeq DEBUG_FLAG 1\r
48WXDEBUGFLAG = d\r
49!endif\r
50WXUNICODEFLAG =\r
51!ifeq UNICODE 1\r
52WXUNICODEFLAG = u\r
53!endif\r
54WXUNIVNAME =\r
55!ifeq WXUNIV 1\r
56WXUNIVNAME = univ\r
57!endif\r
58WXDLLFLAG =\r
59!ifeq SHARED 1\r
60WXDLLFLAG = dll\r
61!endif\r
62LIBTYPE_SUFFIX =\r
63!ifeq SHARED 0\r
64LIBTYPE_SUFFIX = lib\r
65!endif\r
66!ifeq SHARED 1\r
67LIBTYPE_SUFFIX = dll\r
68!endif\r
69EXTRALIBS_FOR_BASE =\r
70!ifeq MONOLITHIC 0\r
71EXTRALIBS_FOR_BASE = \r
72!endif\r
73!ifeq MONOLITHIC 1\r
74EXTRALIBS_FOR_BASE = \r
75!endif\r
76__execmon___depname =\r
77!ifeq USE_XRC 1\r
78__execmon___depname = $(OBJS)\execmon.exe\r
79!endif\r
80__DEBUGINFO_0 =\r
81!ifeq BUILD debug\r
82!ifeq DEBUG_INFO default\r
83__DEBUGINFO_0 = -d2\r
84!endif\r
85!endif\r
86!ifeq BUILD release\r
87!ifeq DEBUG_INFO default\r
88__DEBUGINFO_0 = -d0\r
89!endif\r
90!endif\r
91!ifeq DEBUG_INFO 0\r
92__DEBUGINFO_0 = -d0\r
93!endif\r
94!ifeq DEBUG_INFO 1\r
95__DEBUGINFO_0 = -d2\r
96!endif\r
97__DEBUGINFO_1 =\r
98!ifeq BUILD debug\r
99!ifeq DEBUG_INFO default\r
100__DEBUGINFO_1 = debug all\r
101!endif\r
102!endif\r
103!ifeq BUILD release\r
104!ifeq DEBUG_INFO default\r
105__DEBUGINFO_1 = \r
106!endif\r
107!endif\r
108!ifeq DEBUG_INFO 0\r
109__DEBUGINFO_1 = \r
110!endif\r
111!ifeq DEBUG_INFO 1\r
112__DEBUGINFO_1 = debug all\r
113!endif\r
114__OPTIMIZEFLAG_2 =\r
115!ifeq BUILD debug\r
116__OPTIMIZEFLAG_2 = -od\r
117!endif\r
118!ifeq BUILD release\r
119__OPTIMIZEFLAG_2 = -ot -ox\r
120!endif\r
121__THREADSFLAG_5 =\r
122!ifeq USE_THREADS 0\r
123__THREADSFLAG_5 = \r
124!endif\r
125!ifeq USE_THREADS 1\r
126__THREADSFLAG_5 = -bm\r
127!endif\r
128__RUNTIME_LIBS_6 =\r
129!ifeq RUNTIME_LIBS dynamic\r
130__RUNTIME_LIBS_6 = -br\r
131!endif\r
132!ifeq RUNTIME_LIBS static\r
133__RUNTIME_LIBS_6 = \r
134!endif\r
135__RTTIFLAG_7 =\r
136!ifeq USE_RTTI 0\r
137__RTTIFLAG_7 = \r
138!endif\r
139!ifeq USE_RTTI 1\r
140__RTTIFLAG_7 = -xr\r
141!endif\r
142__EXCEPTIONSFLAG_8 =\r
143!ifeq USE_EXCEPTIONS 0\r
144__EXCEPTIONSFLAG_8 = \r
145!endif\r
146!ifeq USE_EXCEPTIONS 1\r
147__EXCEPTIONSFLAG_8 = -xs\r
148!endif\r
149__WXUNIV_DEFINE_p =\r
150!ifeq WXUNIV 1\r
151__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__\r
152!endif\r
153__DEBUG_DEFINE_p =\r
154!ifeq BUILD debug\r
155!ifeq DEBUG_FLAG default\r
156__DEBUG_DEFINE_p = -d__WXDEBUG__\r
157!endif\r
158!endif\r
159!ifeq DEBUG_FLAG 1\r
160__DEBUG_DEFINE_p = -d__WXDEBUG__\r
161!endif\r
162__EXCEPTIONS_DEFINE_p =\r
163!ifeq USE_EXCEPTIONS 0\r
164__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS\r
165!endif\r
166__RTTI_DEFINE_p =\r
167!ifeq USE_RTTI 0\r
168__RTTI_DEFINE_p = -dwxNO_RTTI\r
169!endif\r
170__THREAD_DEFINE_p =\r
171!ifeq USE_THREADS 0\r
172__THREAD_DEFINE_p = -dwxNO_THREADS\r
173!endif\r
174__UNICODE_DEFINE_p =\r
175!ifeq UNICODE 0\r
176__UNICODE_DEFINE_p = -dwxUSE_UNICODE=0\r
177!endif\r
178!ifeq UNICODE 1\r
179__UNICODE_DEFINE_p = -d_UNICODE\r
180!endif\r
181__GFXCTX_DEFINE_p =\r
182!ifeq USE_GDIPLUS 1\r
183__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1\r
184!endif\r
185__DLLFLAG_p =\r
186!ifeq SHARED 1\r
187__DLLFLAG_p = -dWXUSINGDLL\r
188!endif\r
189__WXLIB_BASE_p =\r
190!ifeq MONOLITHIC 0\r
191__WXLIB_BASE_p = &\r
192 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
193!endif\r
194__WXLIB_MONO_p =\r
195!ifeq MONOLITHIC 1\r
196__WXLIB_MONO_p = &\r
197 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
198!endif\r
199__GDIPLUS_LIB_p =\r
200!ifeq USE_GDIPLUS 1\r
201__GDIPLUS_LIB_p = gdiplus.lib\r
202!endif\r
203\r
204### Variables: ###\r
205\r
206WX_RELEASE_NODOT = 29\r
207COMPILER_PREFIX = wat\r
208OBJS = &\r
209 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
210LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
211SETUPHDIR = &\r
212 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
213EXECMON_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) &\r
214 $(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &\r
215 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &\r
216 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &\r
217 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &\r
218 -dwxUSE_GUI=0 $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) $(CXXFLAGS)\r
219EXECMON_OBJECTS = &\r
220 $(OBJS)\execmon_execmon.obj\r
221\r
222\r
223all : $(OBJS)\r
224$(OBJS) :\r
225 -if not exist $(OBJS) mkdir $(OBJS)\r
226\r
227### Targets: ###\r
228\r
229all : .SYMBOLIC $(__execmon___depname)\r
230\r
231clean : .SYMBOLIC \r
232 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
233 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
234 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc\r
235 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk\r
236 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
237 -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe\r
238\r
239!ifeq USE_XRC 1\r
240$(OBJS)\execmon.exe : $(EXECMON_OBJECTS)\r
241 @%create $(OBJS)\execmon.lbc\r
242 @%append $(OBJS)\execmon.lbc option quiet\r
243 @%append $(OBJS)\execmon.lbc name $^@\r
244 @%append $(OBJS)\execmon.lbc option caseexact\r
245 @%append $(OBJS)\execmon.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(LDFLAGS)\r
246 @for %i in ($(EXECMON_OBJECTS)) do @%append $(OBJS)\execmon.lbc file %i\r
247 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib) do @%append $(OBJS)\execmon.lbc library %i\r
248 @%append $(OBJS)\execmon.lbc\r
249 @for %i in () do @%append $(OBJS)\execmon.lbc option stack=%i\r
250 wlink @$(OBJS)\execmon.lbc\r
251!endif\r
252\r
253$(OBJS)\execmon_execmon.obj : .AUTODEPEND .\execmon.cpp\r
254 $(CXX) -bt=nt -zq -fo=$^@ $(EXECMON_CXXFLAGS) $<\r
255\r