1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.5 (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
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
39 !ifeq DEBUG_FLAG default
72 __ipcclient___depname =
74 __ipcclient___depname = $(OBJS)\ipcclient.exe
76 __ipcserver___depname =
78 __ipcserver___depname = $(OBJS)\ipcserver.exe
83 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
87 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
91 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
95 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
99 !ifeq DEBUG_INFO default
104 !ifeq DEBUG_INFO default
116 !ifeq DEBUG_INFO default
117 __DEBUGINFO_3 = debug all
121 !ifeq DEBUG_INFO default
129 __DEBUGINFO_3 = debug all
136 __OPTIMIZEFLAG = -ot -ox
146 !ifeq RUNTIME_LIBS dynamic
149 !ifeq RUNTIME_LIBS static
160 !ifeq USE_EXCEPTIONS 0
163 !ifeq USE_EXCEPTIONS 1
164 __EXCEPTIONSFLAG = -xs
168 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
172 !ifeq DEBUG_FLAG default
173 __DEBUG_DEFINE_p = -d__WXDEBUG__
177 __DEBUG_DEFINE_p = -d__WXDEBUG__
179 __EXCEPTIONS_DEFINE_p =
180 !ifeq USE_EXCEPTIONS 0
181 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
185 __RTTI_DEFINE_p = -dwxNO_RTTI
189 __THREAD_DEFINE_p = -dwxNO_THREADS
193 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0
196 __UNICODE_DEFINE_p = -d_UNICODE
200 __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
204 __DLLFLAG_p = -dWXUSINGDLL
209 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
214 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
219 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
223 __GDIPLUS_LIB_p = gdiplus.lib
228 WX_RELEASE_NODOT = 29
229 COMPILER_PREFIX = wat
231 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
232 LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
234 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
235 IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
236 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
237 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
238 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
239 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &
240 -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
242 IPCCLIENT_OBJECTS = &
243 $(OBJS)\ipcclient_client.obj
244 IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
245 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
246 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
247 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
248 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &
249 -i=.\..\..\samples -dNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
251 IPCSERVER_OBJECTS = &
252 $(OBJS)\ipcserver_server.obj
253 BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
254 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
255 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
256 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
257 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &
258 -dwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
259 BASEIPCCLIENT_OBJECTS = &
260 $(OBJS)\baseipcclient_baseclient.obj
261 BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
262 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
263 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
264 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
265 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &
266 -dwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
267 BASEIPCSERVER_OBJECTS = &
268 $(OBJS)\baseipcserver_baseserver.obj
273 -if not exist $(OBJS) mkdir $(OBJS)
277 all : .SYMBOLIC $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
280 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
281 -if exist $(OBJS)\*.res del $(OBJS)\*.res
282 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
283 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
284 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
285 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
286 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
287 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
288 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
291 $(OBJS)\ipcclient.exe : $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
292 @%create $(OBJS)\ipcclient.lbc
293 @%append $(OBJS)\ipcclient.lbc option quiet
294 @%append $(OBJS)\ipcclient.lbc name $^@
295 @%append $(OBJS)\ipcclient.lbc option caseexact
296 @%append $(OBJS)\ipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(LDFLAGS)
297 @for %i in ($(IPCCLIENT_OBJECTS)) do @%append $(OBJS)\ipcclient.lbc file %i
298 @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) $(__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)\ipcclient.lbc library %i
299 @%append $(OBJS)\ipcclient.lbc option resource=$(OBJS)\ipcclient_sample.res
300 @for %i in () do @%append $(OBJS)\ipcclient.lbc option stack=%i
301 wlink @$(OBJS)\ipcclient.lbc
305 $(OBJS)\ipcserver.exe : $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
306 @%create $(OBJS)\ipcserver.lbc
307 @%append $(OBJS)\ipcserver.lbc option quiet
308 @%append $(OBJS)\ipcserver.lbc name $^@
309 @%append $(OBJS)\ipcserver.lbc option caseexact
310 @%append $(OBJS)\ipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(LDFLAGS)
311 @for %i in ($(IPCSERVER_OBJECTS)) do @%append $(OBJS)\ipcserver.lbc file %i
312 @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) $(__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)\ipcserver.lbc library %i
313 @%append $(OBJS)\ipcserver.lbc option resource=$(OBJS)\ipcserver_sample.res
314 @for %i in () do @%append $(OBJS)\ipcserver.lbc option stack=%i
315 wlink @$(OBJS)\ipcserver.lbc
318 $(OBJS)\baseipcclient.exe : $(BASEIPCCLIENT_OBJECTS)
319 @%create $(OBJS)\baseipcclient.lbc
320 @%append $(OBJS)\baseipcclient.lbc option quiet
321 @%append $(OBJS)\baseipcclient.lbc name $^@
322 @%append $(OBJS)\baseipcclient.lbc option caseexact
323 @%append $(OBJS)\baseipcclient.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(LDFLAGS)
324 @for %i in ($(BASEIPCCLIENT_OBJECTS)) do @%append $(OBJS)\baseipcclient.lbc file %i
325 @for %i in ( $(__WXLIB_NET_p) $(__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)\baseipcclient.lbc library %i
326 @%append $(OBJS)\baseipcclient.lbc
327 @for %i in () do @%append $(OBJS)\baseipcclient.lbc option stack=%i
328 wlink @$(OBJS)\baseipcclient.lbc
330 $(OBJS)\baseipcserver.exe : $(BASEIPCSERVER_OBJECTS)
331 @%create $(OBJS)\baseipcserver.lbc
332 @%append $(OBJS)\baseipcserver.lbc option quiet
333 @%append $(OBJS)\baseipcserver.lbc name $^@
334 @%append $(OBJS)\baseipcserver.lbc option caseexact
335 @%append $(OBJS)\baseipcserver.lbc $(__DEBUGINFO_3) libpath $(LIBDIRNAME) system nt ref 'main_' $(LDFLAGS)
336 @for %i in ($(BASEIPCSERVER_OBJECTS)) do @%append $(OBJS)\baseipcserver.lbc file %i
337 @for %i in ( $(__WXLIB_NET_p) $(__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)\baseipcserver.lbc library %i
338 @%append $(OBJS)\baseipcserver.lbc
339 @for %i in () do @%append $(OBJS)\baseipcserver.lbc option stack=%i
340 wlink @$(OBJS)\baseipcserver.lbc
342 $(OBJS)\ipcclient_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
343 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<
345 $(OBJS)\ipcclient_client.obj : .AUTODEPEND .\client.cpp
346 $(CXX) -bt=nt -zq -fo=$^@ $(IPCCLIENT_CXXFLAGS) $<
348 $(OBJS)\ipcserver_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
349 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<
351 $(OBJS)\ipcserver_server.obj : .AUTODEPEND .\server.cpp
352 $(CXX) -bt=nt -zq -fo=$^@ $(IPCSERVER_CXXFLAGS) $<
354 $(OBJS)\baseipcclient_baseclient.obj : .AUTODEPEND .\baseclient.cpp
355 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCCLIENT_CXXFLAGS) $<
357 $(OBJS)\baseipcserver_baseserver.obj : .AUTODEPEND .\baseserver.cpp
358 $(CXX) -bt=nt -zq -fo=$^@ $(BASEIPCSERVER_CXXFLAGS) $<