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: ###
39 PORTNAME = msw$(TOOLKIT_VERSION)
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
96 __LIB_SCINTILLA_IF_MONO_p =
99 __LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib
104 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
108 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
112 !ifeq DEBUG_INFO default
117 !ifeq DEBUG_INFO default
129 !ifeq DEBUG_INFO default
130 __DEBUGINFO_3 = debug all
134 !ifeq DEBUG_INFO default
142 __DEBUGINFO_3 = debug all
149 __OPTIMIZEFLAG = -ot -ox
159 !ifeq RUNTIME_LIBS dynamic
162 !ifeq RUNTIME_LIBS static
173 !ifeq USE_EXCEPTIONS 0
176 !ifeq USE_EXCEPTIONS 1
177 __EXCEPTIONSFLAG = -xs
181 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
185 __DEBUG_DEFINE_p = -dwxDEBUG_LEVEL=0
189 __NDEBUG_DEFINE_p = -dNDEBUG
191 __EXCEPTIONS_DEFINE_p =
192 !ifeq USE_EXCEPTIONS 0
193 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
197 __RTTI_DEFINE_p = -dwxNO_RTTI
201 __THREAD_DEFINE_p = -dwxNO_THREADS
205 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
208 __UNICODE_DEFINE_p = -d_UNICODE
210 ____CAIRO_INCLUDEDIR_FILENAMES =
212 ____CAIRO_INCLUDEDIR_FILENAMES = -i=$(CAIRO_ROOT)\include\cairo
216 __DLLFLAG_p = -dWXUSINGDLL
221 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
226 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
231 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
235 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
239 __CAIRO_LIB_p = cairo.lib
241 ____CAIRO_LIBDIR_FILENAMES =
243 ____CAIRO_LIBDIR_FILENAMES = libpath $(CAIRO_ROOT)\lib
248 WX_RELEASE_NODOT = 30
249 COMPILER_PREFIX = wat
251 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
253 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
255 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
256 IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
257 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
258 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
259 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
260 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
261 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) &
262 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
263 IPCCLIENT_OBJECTS = &
264 $(OBJS)\ipcclient_client.obj
265 IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
266 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
267 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
268 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
269 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
270 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) &
271 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
272 IPCSERVER_OBJECTS = &
273 $(OBJS)\ipcserver_server.obj
274 BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
275 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
276 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
277 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
278 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
279 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(__RTTIFLAG) &
280 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
281 BASEIPCCLIENT_OBJECTS = &
282 $(OBJS)\baseipcclient_baseclient.obj
283 BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
284 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
285 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
286 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -i=$(SETUPHDIR) &
287 -i=.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -wx -wcd=549 -wcd=656 &
288 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 $(__RTTIFLAG) &
289 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
290 BASEIPCSERVER_OBJECTS = &
291 $(OBJS)\baseipcserver_baseserver.obj
296 -if not exist $(OBJS) mkdir $(OBJS)
300 all : .SYMBOLIC $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
303 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
304 -if exist $(OBJS)\*.res del $(OBJS)\*.res
305 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
306 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
307 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
308 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
309 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
310 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
311 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
314 $(OBJS)\ipcclient.exe : $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
315 @%create $(OBJS)\ipcclient.lbc
316 @%append $(OBJS)\ipcclient.lbc option quiet
317 @%append $(OBJS)\ipcclient.lbc name $^@
318 @%append $(OBJS)\ipcclient.lbc option caseexact
319 @%append $(OBJS)\ipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
320 @for %i in ($(IPCCLIENT_OBJECTS)) do @%append $(OBJS)\ipcclient.lbc file %i
321 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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
322 @%append $(OBJS)\ipcclient.lbc option resource=$(OBJS)\ipcclient_sample.res
323 @for %i in () do @%append $(OBJS)\ipcclient.lbc option stack=%i
324 wlink @$(OBJS)\ipcclient.lbc
328 $(OBJS)\ipcserver.exe : $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
329 @%create $(OBJS)\ipcserver.lbc
330 @%append $(OBJS)\ipcserver.lbc option quiet
331 @%append $(OBJS)\ipcserver.lbc name $^@
332 @%append $(OBJS)\ipcserver.lbc option caseexact
333 @%append $(OBJS)\ipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
334 @for %i in ($(IPCSERVER_OBJECTS)) do @%append $(OBJS)\ipcserver.lbc file %i
335 @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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
336 @%append $(OBJS)\ipcserver.lbc option resource=$(OBJS)\ipcserver_sample.res
337 @for %i in () do @%append $(OBJS)\ipcserver.lbc option stack=%i
338 wlink @$(OBJS)\ipcserver.lbc
341 $(OBJS)\baseipcclient.exe : $(BASEIPCCLIENT_OBJECTS)
342 @%create $(OBJS)\baseipcclient.lbc
343 @%append $(OBJS)\baseipcclient.lbc option quiet
344 @%append $(OBJS)\baseipcclient.lbc name $^@
345 @%append $(OBJS)\baseipcclient.lbc option caseexact
346 @%append $(OBJS)\baseipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
347 @for %i in ($(BASEIPCCLIENT_OBJECTS)) do @%append $(OBJS)\baseipcclient.lbc file %i
348 @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
349 @%append $(OBJS)\baseipcclient.lbc
350 @for %i in () do @%append $(OBJS)\baseipcclient.lbc option stack=%i
351 wlink @$(OBJS)\baseipcclient.lbc
353 $(OBJS)\baseipcserver.exe : $(BASEIPCSERVER_OBJECTS)
354 @%create $(OBJS)\baseipcserver.lbc
355 @%append $(OBJS)\baseipcserver.lbc option quiet
356 @%append $(OBJS)\baseipcserver.lbc name $^@
357 @%append $(OBJS)\baseipcserver.lbc option caseexact
358 @%append $(OBJS)\baseipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS)
359 @for %i in ($(BASEIPCSERVER_OBJECTS)) do @%append $(OBJS)\baseipcserver.lbc file %i
360 @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
361 @%append $(OBJS)\baseipcserver.lbc
362 @for %i in () do @%append $(OBJS)\baseipcserver.lbc option stack=%i
363 wlink @$(OBJS)\baseipcserver.lbc
365 $(OBJS)\ipcclient_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)\ipcclient_client.obj : .AUTODEPEND .\client.cpp
369 $(CXX) -bt=nt -zq -fo=$^@ $(IPCCLIENT_CXXFLAGS) $<
371 $(OBJS)\ipcserver_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
372 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 $<
374 $(OBJS)\ipcserver_server.obj : .AUTODEPEND .\server.cpp
375 $(CXX) -bt=nt -zq -fo=$^@ $(IPCSERVER_CXXFLAGS) $<
377 $(OBJS)\baseipcclient_baseclient.obj : .AUTODEPEND .\baseclient.cpp
378 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCCLIENT_CXXFLAGS) $<
380 $(OBJS)\baseipcserver_baseserver.obj : .AUTODEPEND .\baseserver.cpp
381 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCSERVER_CXXFLAGS) $<