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: ###
42 !ifeq OFFICIAL_BUILD 1
43 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
75 __ipcclient___depname =
77 __ipcclient___depname = $(OBJS)\ipcclient.exe
79 __ipcserver___depname =
81 __ipcserver___depname = $(OBJS)\ipcserver.exe
85 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
87 __LIB_PNG_IF_MONO_p_1 =
89 __LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)
94 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
98 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
102 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
106 !ifeq DEBUG_INFO default
111 !ifeq DEBUG_INFO default
123 !ifeq DEBUG_INFO default
124 __DEBUGINFO_3 = debug all
128 !ifeq DEBUG_INFO default
136 __DEBUGINFO_3 = debug all
143 __OPTIMIZEFLAG = -ot -ox
153 !ifeq RUNTIME_LIBS dynamic
156 !ifeq RUNTIME_LIBS static
167 !ifeq USE_EXCEPTIONS 0
170 !ifeq USE_EXCEPTIONS 1
171 __EXCEPTIONSFLAG = -xs
175 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
179 __DEBUG_DEFINE_p = -dwxDEBUG_LEVEL=0
183 __NDEBUG_DEFINE_p = -dNDEBUG
185 __EXCEPTIONS_DEFINE_p =
186 !ifeq USE_EXCEPTIONS 0
187 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
191 __RTTI_DEFINE_p = -dwxNO_RTTI
195 __THREAD_DEFINE_p = -dwxNO_THREADS
199 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
202 __UNICODE_DEFINE_p = -d_UNICODE
204 ____CAIRO_INCLUDEDIR_FILENAMES =
206 ____CAIRO_INCLUDEDIR_FILENAMES = -i=$(CAIRO_ROOT)\include\cairo
210 __DLLFLAG_p = -dWXUSINGDLL
215 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
220 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
225 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
229 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
233 __CAIRO_LIB_p = cairo.lib
235 ____CAIRO_LIBDIR_FILENAMES =
237 ____CAIRO_LIBDIR_FILENAMES = libpath $(CAIRO_ROOT)\lib
242 WX_RELEASE_NODOT = 29
243 COMPILER_PREFIX = wat
245 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
247 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
249 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
250 IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
251 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
252 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
253 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
254 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
255 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) &
256 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
257 IPCCLIENT_OBJECTS = &
258 $(OBJS)\ipcclient_client.obj
259 IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
260 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
261 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
262 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
263 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
264 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) &
265 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
266 IPCSERVER_OBJECTS = &
267 $(OBJS)\ipcserver_server.obj
268 BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
269 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
270 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
271 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
272 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
273 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(__RTTIFLAG) &
274 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
275 BASEIPCCLIENT_OBJECTS = &
276 $(OBJS)\baseipcclient_baseclient.obj
277 BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
278 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
279 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
280 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
281 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
282 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(__RTTIFLAG) &
283 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
284 BASEIPCSERVER_OBJECTS = &
285 $(OBJS)\baseipcserver_baseserver.obj
290 -if not exist $(OBJS) mkdir $(OBJS)
294 all : .SYMBOLIC $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
297 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
298 -if exist $(OBJS)\*.res del $(OBJS)\*.res
299 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
300 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
301 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
302 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
303 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
304 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
305 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
308 $(OBJS)\ipcclient.exe : $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
309 @%create $(OBJS)\ipcclient.lbc
310 @%append $(OBJS)\ipcclient.lbc option quiet
311 @%append $(OBJS)\ipcclient.lbc name $^@
312 @%append $(OBJS)\ipcclient.lbc option caseexact
313 @%append $(OBJS)\ipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
314 @for %i in ($(IPCCLIENT_OBJECTS)) do @%append $(OBJS)\ipcclient.lbc file %i
315 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_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)\ipcclient.lbc library %i
316 @%append $(OBJS)\ipcclient.lbc option resource=$(OBJS)\ipcclient_sample.res
317 @for %i in () do @%append $(OBJS)\ipcclient.lbc option stack=%i
318 wlink @$(OBJS)\ipcclient.lbc
322 $(OBJS)\ipcserver.exe : $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
323 @%create $(OBJS)\ipcserver.lbc
324 @%append $(OBJS)\ipcserver.lbc option quiet
325 @%append $(OBJS)\ipcserver.lbc name $^@
326 @%append $(OBJS)\ipcserver.lbc option caseexact
327 @%append $(OBJS)\ipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
328 @for %i in ($(IPCSERVER_OBJECTS)) do @%append $(OBJS)\ipcserver.lbc file %i
329 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_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)\ipcserver.lbc library %i
330 @%append $(OBJS)\ipcserver.lbc option resource=$(OBJS)\ipcserver_sample.res
331 @for %i in () do @%append $(OBJS)\ipcserver.lbc option stack=%i
332 wlink @$(OBJS)\ipcserver.lbc
335 $(OBJS)\baseipcclient.exe : $(BASEIPCCLIENT_OBJECTS)
336 @%create $(OBJS)\baseipcclient.lbc
337 @%append $(OBJS)\baseipcclient.lbc option quiet
338 @%append $(OBJS)\baseipcclient.lbc name $^@
339 @%append $(OBJS)\baseipcclient.lbc option caseexact
340 @%append $(OBJS)\baseipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
341 @for %i in ($(BASEIPCCLIENT_OBJECTS)) do @%append $(OBJS)\baseipcclient.lbc file %i
342 @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
343 @%append $(OBJS)\baseipcclient.lbc
344 @for %i in () do @%append $(OBJS)\baseipcclient.lbc option stack=%i
345 wlink @$(OBJS)\baseipcclient.lbc
347 $(OBJS)\baseipcserver.exe : $(BASEIPCSERVER_OBJECTS)
348 @%create $(OBJS)\baseipcserver.lbc
349 @%append $(OBJS)\baseipcserver.lbc option quiet
350 @%append $(OBJS)\baseipcserver.lbc name $^@
351 @%append $(OBJS)\baseipcserver.lbc option caseexact
352 @%append $(OBJS)\baseipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
353 @for %i in ($(BASEIPCSERVER_OBJECTS)) do @%append $(OBJS)\baseipcserver.lbc file %i
354 @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
355 @%append $(OBJS)\baseipcserver.lbc
356 @for %i in () do @%append $(OBJS)\baseipcserver.lbc option stack=%i
357 wlink @$(OBJS)\baseipcserver.lbc
359 $(OBJS)\ipcclient_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
360 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 $<
362 $(OBJS)\ipcclient_client.obj : .AUTODEPEND .\client.cpp
363 $(CXX) -bt=nt -zq -fo=$^@ $(IPCCLIENT_CXXFLAGS) $<
365 $(OBJS)\ipcserver_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
366 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 $<
368 $(OBJS)\ipcserver_server.obj : .AUTODEPEND .\server.cpp
369 $(CXX) -bt=nt -zq -fo=$^@ $(IPCSERVER_CXXFLAGS) $<
371 $(OBJS)\baseipcclient_baseclient.obj : .AUTODEPEND .\baseclient.cpp
372 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCCLIENT_CXXFLAGS) $<
374 $(OBJS)\baseipcserver_baseserver.obj : .AUTODEPEND .\baseserver.cpp
375 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCSERVER_CXXFLAGS) $<