1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
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: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
46 !ifeq DEBUG_FLAG default
79 __mmediadll___depname =
81 __mmediadll___depname = &
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll
86 !ifeq DEBUG_INFO default
87 __DEBUGINFO_2 = debug all
91 !ifeq DEBUG_INFO default
99 __DEBUGINFO_2 = debug all
104 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
108 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
112 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
116 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
126 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
128 __mmedialib___depname =
130 __mmedialib___depname = &
131 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
135 !ifeq DEBUG_INFO default
140 !ifeq DEBUG_INFO default
155 __OPTIMIZEFLAG = -ot -ox
165 !ifeq RUNTIME_LIBS dynamic
168 !ifeq RUNTIME_LIBS static
179 !ifeq USE_EXCEPTIONS 0
182 !ifeq USE_EXCEPTIONS 1
183 __EXCEPTIONSFLAG = -xs
187 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
191 !ifeq DEBUG_FLAG default
192 __DEBUG_DEFINE_p = -d__WXDEBUG__
196 __DEBUG_DEFINE_p = -d__WXDEBUG__
198 __EXCEPTIONS_DEFINE_p =
199 !ifeq USE_EXCEPTIONS 0
200 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
204 __RTTI_DEFINE_p = -dwxNO_RTTI
208 __THREAD_DEFINE_p = -dwxNO_THREADS
212 __UNICODE_DEFINE_p = -d_UNICODE
217 WX_RELEASE_NODOT = 26
219 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
220 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
222 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
223 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
224 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
225 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
226 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
227 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
228 -dWXUSINGDLL -dWXMAKINGDLL_MMEDIA /fh=$(OBJS)\wxprec_mmediadll.pch &
229 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
230 MMEDIADLL_OBJECTS = &
231 $(OBJS)\mmediadll_dummy.obj &
232 $(OBJS)\mmediadll_cdwin.obj &
233 $(OBJS)\mmediadll_sndwin.obj &
234 $(OBJS)\mmediadll_vidwin.obj &
235 $(OBJS)\mmediadll_cdbase.obj &
236 $(OBJS)\mmediadll_g711.obj &
237 $(OBJS)\mmediadll_g721.obj &
238 $(OBJS)\mmediadll_g723_24.obj &
239 $(OBJS)\mmediadll_g723_40.obj &
240 $(OBJS)\mmediadll_g72x.obj &
241 $(OBJS)\mmediadll_sndaiff.obj &
242 $(OBJS)\mmediadll_sndbase.obj &
243 $(OBJS)\mmediadll_sndcodec.obj &
244 $(OBJS)\mmediadll_sndcpcm.obj &
245 $(OBJS)\mmediadll_sndfile.obj &
246 $(OBJS)\mmediadll_sndg72x.obj &
247 $(OBJS)\mmediadll_sndmsad.obj &
248 $(OBJS)\mmediadll_sndpcm.obj &
249 $(OBJS)\mmediadll_sndulaw.obj &
250 $(OBJS)\mmediadll_sndwav.obj &
251 $(OBJS)\mmediadll_vidbase.obj
252 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
253 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
254 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
255 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
256 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
257 /fh=$(OBJS)\wxprec_mmedialib.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) &
258 $(CPPFLAGS) $(CXXFLAGS)
259 MMEDIALIB_OBJECTS = &
260 $(OBJS)\mmedialib_dummy.obj &
261 $(OBJS)\mmedialib_cdwin.obj &
262 $(OBJS)\mmedialib_sndwin.obj &
263 $(OBJS)\mmedialib_vidwin.obj &
264 $(OBJS)\mmedialib_cdbase.obj &
265 $(OBJS)\mmedialib_g711.obj &
266 $(OBJS)\mmedialib_g721.obj &
267 $(OBJS)\mmedialib_g723_24.obj &
268 $(OBJS)\mmedialib_g723_40.obj &
269 $(OBJS)\mmedialib_g72x.obj &
270 $(OBJS)\mmedialib_sndaiff.obj &
271 $(OBJS)\mmedialib_sndbase.obj &
272 $(OBJS)\mmedialib_sndcodec.obj &
273 $(OBJS)\mmedialib_sndcpcm.obj &
274 $(OBJS)\mmedialib_sndfile.obj &
275 $(OBJS)\mmedialib_sndg72x.obj &
276 $(OBJS)\mmedialib_sndmsad.obj &
277 $(OBJS)\mmedialib_sndpcm.obj &
278 $(OBJS)\mmedialib_sndulaw.obj &
279 $(OBJS)\mmedialib_sndwav.obj &
280 $(OBJS)\mmedialib_vidbase.obj
285 -if not exist $(OBJS) mkdir $(OBJS)
289 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
292 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
293 -if exist $(OBJS)\*.res del $(OBJS)\*.res
294 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
295 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
296 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
297 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll
298 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
299 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
302 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_version.res
303 @%create $(OBJS)\mmediadll.lbc
304 @%append $(OBJS)\mmediadll.lbc option quiet
305 @%append $(OBJS)\mmediadll.lbc name $^@
306 @%append $(OBJS)\mmediadll.lbc option caseexact
307 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
308 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
309 @for %i in ( $(__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) 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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\mmediadll.lbc library %i
310 @%append $(OBJS)\mmediadll.lbc option resource=$(OBJS)\mmediadll_version.res
311 @%append $(OBJS)\mmediadll.lbc system nt_dll
312 wlink @$(OBJS)\mmediadll.lbc
313 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib +$^@
317 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib : $(MMEDIALIB_OBJECTS)
318 @%create $(OBJS)\mmedialib.lbc
319 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
320 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
323 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
324 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
326 $(OBJS)\mmediadll_version.res : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\version.rc
327 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) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG) $<
329 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
330 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
332 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
333 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
335 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
336 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
338 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
339 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
341 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
342 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
344 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
345 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
347 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
348 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
350 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
351 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
353 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
354 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
356 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
357 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
359 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
360 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
362 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
363 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
365 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
366 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
368 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
369 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
371 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
372 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
374 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
375 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
377 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
378 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
380 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
381 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
383 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
384 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
386 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
387 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
389 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
390 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
392 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
393 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
395 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
396 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
398 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
399 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
401 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
402 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
404 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
405 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
407 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
408 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
410 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
411 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
413 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
414 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
416 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
417 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
419 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
420 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
422 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
423 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
425 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
426 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
428 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
429 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
431 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
432 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
434 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
435 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
437 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
438 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
440 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
441 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
443 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
444 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
446 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
447 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
449 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
450 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<