1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include ../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
21 ! if $(__VERSION__) >= 1280
22 ! loaddll wlink wlinkd
29 # We need these variables in some bakefile-made rules:
30 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
32 ### Conditionally set variables: ###
34 WIN32_TOOLKIT_LOWERCASE =
36 WIN32_TOOLKIT_LOWERCASE = gtk
39 WIN32_TOOLKIT_LOWERCASE = msw
46 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
53 !ifeq OFFICIAL_BUILD 1
54 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
88 !ifeq TOOLKIT_VERSION 2
89 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib &
90 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib &
94 __ipcclient___depname =
96 __ipcclient___depname = $(OBJS)\ipcclient.exe
98 __ipcserver___depname =
100 __ipcserver___depname = $(OBJS)\ipcserver.exe
102 __LIB_PNG_IF_MONO_p =
104 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
106 __LIB_PNG_IF_MONO_p_1 =
108 __LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)
113 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
117 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
121 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125 !ifeq DEBUG_INFO default
130 !ifeq DEBUG_INFO default
142 !ifeq DEBUG_INFO default
143 __DEBUGINFO_3 = debug all
147 !ifeq DEBUG_INFO default
155 __DEBUGINFO_3 = debug all
162 __OPTIMIZEFLAG = -ot -ox
172 !ifeq RUNTIME_LIBS dynamic
175 !ifeq RUNTIME_LIBS static
186 !ifeq USE_EXCEPTIONS 0
189 !ifeq USE_EXCEPTIONS 1
190 __EXCEPTIONSFLAG = -xs
194 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
198 __DEBUG_DEFINE_p = -dwxDEBUG_LEVEL=0
202 __NDEBUG_DEFINE_p = -dNDEBUG
204 __EXCEPTIONS_DEFINE_p =
205 !ifeq USE_EXCEPTIONS 0
206 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
210 __RTTI_DEFINE_p = -dwxNO_RTTI
214 __THREAD_DEFINE_p = -dwxNO_THREADS
218 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
221 __UNICODE_DEFINE_p = -d_UNICODE
223 ____CAIRO_INCLUDEDIR_FILENAMES =
225 ____CAIRO_INCLUDEDIR_FILENAMES = -i=$(CAIRO_ROOT)\include\cairo
229 __DLLFLAG_p = -dWXUSINGDLL
234 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
239 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
244 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
248 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
252 __CAIRO_LIB_p = cairo.lib
254 ____CAIRO_LIBDIR_FILENAMES =
256 ____CAIRO_LIBDIR_FILENAMES = libpath $(CAIRO_ROOT)\lib
261 WX_RELEASE_NODOT = 29
262 COMPILER_PREFIX = wat
264 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
266 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
268 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
269 IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
270 $(__RUNTIME_LIBS) -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) &
271 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) &
272 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) &
273 -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx &
274 -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples &
275 -dNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
276 IPCCLIENT_OBJECTS = &
277 $(OBJS)\ipcclient_client.obj
278 IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
279 $(__RUNTIME_LIBS) -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) &
280 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) &
281 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) &
282 -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx &
283 -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples &
284 -dNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
285 IPCSERVER_OBJECTS = &
286 $(OBJS)\ipcserver_server.obj
287 BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
288 $(__RUNTIME_LIBS) -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) &
289 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) &
290 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) &
291 -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx &
292 -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
293 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
294 BASEIPCCLIENT_OBJECTS = &
295 $(OBJS)\baseipcclient_baseclient.obj
296 BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
297 $(__RUNTIME_LIBS) -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) &
298 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) &
299 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) &
300 -i=$(SETUPHDIR) -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx &
301 -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 &
302 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
303 BASEIPCSERVER_OBJECTS = &
304 $(OBJS)\baseipcserver_baseserver.obj
309 -if not exist $(OBJS) mkdir $(OBJS)
313 all : .SYMBOLIC $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
316 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
317 -if exist $(OBJS)\*.res del $(OBJS)\*.res
318 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
319 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
320 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
321 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
322 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
323 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
324 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
327 $(OBJS)\ipcclient.exe : $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
328 @%create $(OBJS)\ipcclient.lbc
329 @%append $(OBJS)\ipcclient.lbc option quiet
330 @%append $(OBJS)\ipcclient.lbc name $^@
331 @%append $(OBJS)\ipcclient.lbc option caseexact
332 @%append $(OBJS)\ipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
333 @for %i in ($(IPCCLIENT_OBJECTS)) do @%append $(OBJS)\ipcclient.lbc file %i
334 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) 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)\ipcclient.lbc library %i
335 @%append $(OBJS)\ipcclient.lbc option resource=$(OBJS)\ipcclient_sample.res
336 @for %i in () do @%append $(OBJS)\ipcclient.lbc option stack=%i
337 wlink @$(OBJS)\ipcclient.lbc
341 $(OBJS)\ipcserver.exe : $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
342 @%create $(OBJS)\ipcserver.lbc
343 @%append $(OBJS)\ipcserver.lbc option quiet
344 @%append $(OBJS)\ipcserver.lbc name $^@
345 @%append $(OBJS)\ipcserver.lbc option caseexact
346 @%append $(OBJS)\ipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
347 @for %i in ($(IPCSERVER_OBJECTS)) do @%append $(OBJS)\ipcserver.lbc file %i
348 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) 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)\ipcserver.lbc library %i
349 @%append $(OBJS)\ipcserver.lbc option resource=$(OBJS)\ipcserver_sample.res
350 @for %i in () do @%append $(OBJS)\ipcserver.lbc option stack=%i
351 wlink @$(OBJS)\ipcserver.lbc
354 $(OBJS)\baseipcclient.exe : $(BASEIPCCLIENT_OBJECTS)
355 @%create $(OBJS)\baseipcclient.lbc
356 @%append $(OBJS)\baseipcclient.lbc option quiet
357 @%append $(OBJS)\baseipcclient.lbc name $^@
358 @%append $(OBJS)\baseipcclient.lbc option caseexact
359 @%append $(OBJS)\baseipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
360 @for %i in ($(BASEIPCCLIENT_OBJECTS)) do @%append $(OBJS)\baseipcclient.lbc file %i
361 @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_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)\baseipcclient.lbc library %i
362 @%append $(OBJS)\baseipcclient.lbc
363 @for %i in () do @%append $(OBJS)\baseipcclient.lbc option stack=%i
364 wlink @$(OBJS)\baseipcclient.lbc
366 $(OBJS)\baseipcserver.exe : $(BASEIPCSERVER_OBJECTS)
367 @%create $(OBJS)\baseipcserver.lbc
368 @%append $(OBJS)\baseipcserver.lbc option quiet
369 @%append $(OBJS)\baseipcserver.lbc name $^@
370 @%append $(OBJS)\baseipcserver.lbc option caseexact
371 @%append $(OBJS)\baseipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
372 @for %i in ($(BASEIPCSERVER_OBJECTS)) do @%append $(OBJS)\baseipcserver.lbc file %i
373 @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p_1) 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)\baseipcserver.lbc library %i
374 @%append $(OBJS)\baseipcserver.lbc
375 @for %i in () do @%append $(OBJS)\baseipcserver.lbc option stack=%i
376 wlink @$(OBJS)\baseipcserver.lbc
378 $(OBJS)\ipcclient_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
379 wrc -q -ad -bt=nt -r -fo=$^@ -d__WX$(TOOLKIT)__ $(__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 $<
381 $(OBJS)\ipcclient_client.obj : .AUTODEPEND .\client.cpp
382 $(CXX) -bt=nt -zq -fo=$^@ $(IPCCLIENT_CXXFLAGS) $<
384 $(OBJS)\ipcserver_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
385 wrc -q -ad -bt=nt -r -fo=$^@ -d__WX$(TOOLKIT)__ $(__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 $<
387 $(OBJS)\ipcserver_server.obj : .AUTODEPEND .\server.cpp
388 $(CXX) -bt=nt -zq -fo=$^@ $(IPCSERVER_CXXFLAGS) $<
390 $(OBJS)\baseipcclient_baseclient.obj : .AUTODEPEND .\baseclient.cpp
391 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCCLIENT_CXXFLAGS) $<
393 $(OBJS)\baseipcserver_baseserver.obj : .AUTODEPEND .\baseserver.cpp
394 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCSERVER_CXXFLAGS) $<