]> git.saurik.com Git - wxWidgets.git/blame - samples/render/makefile.wat
Don't report spurious errors from wxSocket in "no wait" mode.
[wxWidgets.git] / samples / render / makefile.wat
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.8 (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
43WXDEBUGFLAG = d\r
44!endif\r
45WXUNICODEFLAG =\r
46!ifeq UNICODE 1\r
47WXUNICODEFLAG = u\r
48!endif\r
49WXUNIVNAME =\r
50!ifeq WXUNIV 1\r
51WXUNIVNAME = univ\r
52!endif\r
53WXDLLFLAG =\r
54!ifeq SHARED 1\r
55WXDLLFLAG = dll\r
56!endif\r
57LIBTYPE_SUFFIX =\r
58!ifeq SHARED 0\r
59LIBTYPE_SUFFIX = lib\r
60!endif\r
61!ifeq SHARED 1\r
62LIBTYPE_SUFFIX = dll\r
63!endif\r
64EXTRALIBS_FOR_BASE =\r
65!ifeq MONOLITHIC 0\r
66EXTRALIBS_FOR_BASE = \r
67!endif\r
68!ifeq MONOLITHIC 1\r
69EXTRALIBS_FOR_BASE = \r
70!endif\r
71__renddll___depname =\r
72!ifeq SHARED 1\r
73__renddll___depname = &\r
74 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_wat.dll\r
75!endif\r
76__DEBUGINFO =\r
77!ifeq BUILD debug\r
78!ifeq DEBUG_INFO default\r
79__DEBUGINFO = -d2\r
80!endif\r
81!endif\r
82!ifeq BUILD release\r
83!ifeq DEBUG_INFO default\r
84__DEBUGINFO = -d0\r
85!endif\r
86!endif\r
87!ifeq DEBUG_INFO 0\r
88__DEBUGINFO = -d0\r
89!endif\r
90!ifeq DEBUG_INFO 1\r
91__DEBUGINFO = -d2\r
92!endif\r
93__DEBUGINFO_1 =\r
94!ifeq BUILD debug\r
95!ifeq DEBUG_INFO default\r
96__DEBUGINFO_1 = debug all\r
97!endif\r
98!endif\r
99!ifeq BUILD release\r
100!ifeq DEBUG_INFO default\r
101__DEBUGINFO_1 = \r
102!endif\r
103!endif\r
104!ifeq DEBUG_INFO 0\r
105__DEBUGINFO_1 = \r
106!endif\r
107!ifeq DEBUG_INFO 1\r
108__DEBUGINFO_1 = debug all\r
109!endif\r
110__OPTIMIZEFLAG =\r
111!ifeq BUILD debug\r
112__OPTIMIZEFLAG = -od\r
113!endif\r
114!ifeq BUILD release\r
115__OPTIMIZEFLAG = -ot -ox\r
116!endif\r
117__THREADSFLAG =\r
118!ifeq USE_THREADS 0\r
119__THREADSFLAG = \r
120!endif\r
121!ifeq USE_THREADS 1\r
122__THREADSFLAG = -bm\r
123!endif\r
124__RUNTIME_LIBS =\r
125!ifeq RUNTIME_LIBS dynamic\r
126__RUNTIME_LIBS = -br\r
127!endif\r
128!ifeq RUNTIME_LIBS static\r
129__RUNTIME_LIBS = \r
130!endif\r
131__RTTIFLAG =\r
132!ifeq USE_RTTI 0\r
133__RTTIFLAG = \r
134!endif\r
135!ifeq USE_RTTI 1\r
136__RTTIFLAG = -xr\r
137!endif\r
138__EXCEPTIONSFLAG =\r
139!ifeq USE_EXCEPTIONS 0\r
140__EXCEPTIONSFLAG = \r
141!endif\r
142!ifeq USE_EXCEPTIONS 1\r
143__EXCEPTIONSFLAG = -xs\r
144!endif\r
145__WXUNIV_DEFINE_p =\r
146!ifeq WXUNIV 1\r
147__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__\r
148!endif\r
149__DEBUG_DEFINE_p =\r
150!ifeq DEBUG_FLAG 0\r
151__DEBUG_DEFINE_p = -dwxDEBUG_LEVEL=0\r
152!endif\r
00fb97de
KO
153__NDEBUG_DEFINE_p =\r
154!ifeq BUILD release\r
155__NDEBUG_DEFINE_p = -dNDEBUG\r
156!endif\r
f82b7036
KO
157__EXCEPTIONS_DEFINE_p =\r
158!ifeq USE_EXCEPTIONS 0\r
159__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS\r
160!endif\r
161__RTTI_DEFINE_p =\r
162!ifeq USE_RTTI 0\r
163__RTTI_DEFINE_p = -dwxNO_RTTI\r
164!endif\r
165__THREAD_DEFINE_p =\r
166!ifeq USE_THREADS 0\r
167__THREAD_DEFINE_p = -dwxNO_THREADS\r
168!endif\r
169__UNICODE_DEFINE_p =\r
170!ifeq UNICODE 0\r
171__UNICODE_DEFINE_p = -dwxUSE_UNICODE=0\r
172!endif\r
173!ifeq UNICODE 1\r
174__UNICODE_DEFINE_p = -d_UNICODE\r
175!endif\r
f82b7036
KO
176____CAIRO_INCLUDEDIR_FILENAMES =\r
177!ifeq USE_CAIRO 1\r
178____CAIRO_INCLUDEDIR_FILENAMES = -i=$(CAIRO_ROOT)\include\cairo\r
179!endif\r
180__DLLFLAG_p =\r
181!ifeq SHARED 1\r
182__DLLFLAG_p = -dWXUSINGDLL\r
183!endif\r
184__WXLIB_CORE_p =\r
185!ifeq MONOLITHIC 0\r
186__WXLIB_CORE_p = &\r
187 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\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__LIB_TIFF_p =\r
200!ifeq USE_GUI 1\r
201__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
202!endif\r
203__LIB_JPEG_p =\r
204!ifeq USE_GUI 1\r
205__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
206!endif\r
207__LIB_PNG_p =\r
208!ifeq USE_GUI 1\r
209__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
210!endif\r
f82b7036
KO
211__CAIRO_LIB_p =\r
212!ifeq USE_CAIRO 1\r
213__CAIRO_LIB_p = cairo.lib\r
214!endif\r
215____CAIRO_LIBDIR_FILENAMES =\r
216!ifeq USE_CAIRO 1\r
217____CAIRO_LIBDIR_FILENAMES = libpath $(CAIRO_ROOT)\lib\r
218!endif\r
219\r
220### Variables: ###\r
221\r
222WX_RELEASE_NODOT = 29\r
223WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1\r
224COMPILER_PREFIX = wat\r
225OBJS = &\r
226 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
227LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
228SETUPHDIR = &\r
229 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
230RENDER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &\r
231 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &\r
00fb97de 232 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &\r
b796194b
VS
233 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &\r
234 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &\r
235 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) &\r
236 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r
f82b7036
KO
237RENDER_OBJECTS = &\r
238 $(OBJS)\render_render.obj\r
239RENDDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &\r
240 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &\r
00fb97de 241 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &\r
b796194b
VS
242 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &\r
243 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &\r
244 -wcd=657 -wcd=667 -dWXUSINGDLL $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) &\r
245 $(CXXFLAGS)\r
f82b7036
KO
246RENDDLL_OBJECTS = &\r
247 $(OBJS)\renddll_renddll.obj\r
248\r
249\r
250all : $(OBJS)\r
251$(OBJS) :\r
252 -if not exist $(OBJS) mkdir $(OBJS)\r
253\r
254### Targets: ###\r
255\r
256all : .SYMBOLIC $(OBJS)\render.exe $(__renddll___depname)\r
257\r
258clean : .SYMBOLIC \r
259 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
260 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
261 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc\r
262 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk\r
263 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
264 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe\r
265 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_wat.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_wat.dll\r
266\r
267$(OBJS)\render.exe : $(RENDER_OBJECTS) $(OBJS)\render_sample.res\r
268 @%create $(OBJS)\render.lbc\r
269 @%append $(OBJS)\render.lbc option quiet\r
270 @%append $(OBJS)\render.lbc name $^@\r
271 @%append $(OBJS)\render.lbc option caseexact\r
272 @%append $(OBJS)\render.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)\r
273 @for %i in ($(RENDER_OBJECTS)) do @%append $(OBJS)\render.lbc file %i\r
b796194b 274 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__CAIRO_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)\render.lbc library %i\r
f82b7036
KO
275 @%append $(OBJS)\render.lbc option resource=$(OBJS)\render_sample.res\r
276 @for %i in () do @%append $(OBJS)\render.lbc option stack=%i\r
277 wlink @$(OBJS)\render.lbc\r
278\r
279!ifeq SHARED 1\r
280$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_wat.dll : $(RENDDLL_OBJECTS)\r
281 @%create $(OBJS)\renddll.lbc\r
282 @%append $(OBJS)\renddll.lbc option quiet\r
283 @%append $(OBJS)\renddll.lbc name $^@\r
284 @%append $(OBJS)\renddll.lbc option caseexact\r
285 @%append $(OBJS)\renddll.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)\r
286 @for %i in ($(RENDDLL_OBJECTS)) do @%append $(OBJS)\renddll.lbc file %i\r
b796194b 287 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__CAIRO_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)\renddll.lbc library %i\r
f82b7036
KO
288 @%append $(OBJS)\renddll.lbc\r
289 @%append $(OBJS)\renddll.lbc system nt_dll\r
290 wlink @$(OBJS)\renddll.lbc\r
291!endif\r
292\r
293$(OBJS)\render_sample.res : .AUTODEPEND .\..\..\samples\sample.rc\r
b796194b 294 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<\r
f82b7036
KO
295\r
296$(OBJS)\render_render.obj : .AUTODEPEND .\render.cpp\r
297 $(CXX) -bt=nt -zq -fo=$^@ $(RENDER_CXXFLAGS) $<\r
298\r
299$(OBJS)\renddll_renddll.obj : .AUTODEPEND .\renddll.cpp\r
300 $(CXX) -bt=nt -zq -fo=$^@ $(RENDDLL_CXXFLAGS) $<\r
301\r