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_VERSION_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 = 25
218 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
220 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
221 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
223 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
224 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
225 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
226 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
227 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
228 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
229 -dWXUSINGDLL -dWXMAKINGDLL_MMEDIA /fh=$(OBJS)\wxprec_mmediadll.pch &
230 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
231 MMEDIADLL_OBJECTS = &
232 $(OBJS)\mmediadll_dummy.obj &
233 $(OBJS)\mmediadll_cdwin.obj &
234 $(OBJS)\mmediadll_sndwin.obj &
235 $(OBJS)\mmediadll_vidwin.obj &
236 $(OBJS)\mmediadll_cdbase.obj &
237 $(OBJS)\mmediadll_g711.obj &
238 $(OBJS)\mmediadll_g721.obj &
239 $(OBJS)\mmediadll_g723_24.obj &
240 $(OBJS)\mmediadll_g723_40.obj &
241 $(OBJS)\mmediadll_g72x.obj &
242 $(OBJS)\mmediadll_sndaiff.obj &
243 $(OBJS)\mmediadll_sndbase.obj &
244 $(OBJS)\mmediadll_sndcodec.obj &
245 $(OBJS)\mmediadll_sndcpcm.obj &
246 $(OBJS)\mmediadll_sndfile.obj &
247 $(OBJS)\mmediadll_sndg72x.obj &
248 $(OBJS)\mmediadll_sndmsad.obj &
249 $(OBJS)\mmediadll_sndpcm.obj &
250 $(OBJS)\mmediadll_sndulaw.obj &
251 $(OBJS)\mmediadll_sndwav.obj &
252 $(OBJS)\mmediadll_vidbase.obj
253 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__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) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
257 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
258 /fh=$(OBJS)\wxprec_mmedialib.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) &
259 $(CPPFLAGS) $(CXXFLAGS)
260 MMEDIALIB_OBJECTS = &
261 $(OBJS)\mmedialib_dummy.obj &
262 $(OBJS)\mmedialib_cdwin.obj &
263 $(OBJS)\mmedialib_sndwin.obj &
264 $(OBJS)\mmedialib_vidwin.obj &
265 $(OBJS)\mmedialib_cdbase.obj &
266 $(OBJS)\mmedialib_g711.obj &
267 $(OBJS)\mmedialib_g721.obj &
268 $(OBJS)\mmedialib_g723_24.obj &
269 $(OBJS)\mmedialib_g723_40.obj &
270 $(OBJS)\mmedialib_g72x.obj &
271 $(OBJS)\mmedialib_sndaiff.obj &
272 $(OBJS)\mmedialib_sndbase.obj &
273 $(OBJS)\mmedialib_sndcodec.obj &
274 $(OBJS)\mmedialib_sndcpcm.obj &
275 $(OBJS)\mmedialib_sndfile.obj &
276 $(OBJS)\mmedialib_sndg72x.obj &
277 $(OBJS)\mmedialib_sndmsad.obj &
278 $(OBJS)\mmedialib_sndpcm.obj &
279 $(OBJS)\mmedialib_sndulaw.obj &
280 $(OBJS)\mmedialib_sndwav.obj &
281 $(OBJS)\mmedialib_vidbase.obj
286 -if not exist $(OBJS) mkdir $(OBJS)
290 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
293 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
294 -if exist $(OBJS)\*.res del $(OBJS)\*.res
295 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
296 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
297 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
298 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll
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
300 -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
303 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_version.res
304 @%create $(OBJS)\mmediadll.lbc
305 @%append $(OBJS)\mmediadll.lbc option quiet
306 @%append $(OBJS)\mmediadll.lbc name $^@
307 @%append $(OBJS)\mmediadll.lbc option caseexact
308 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
309 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
310 @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
311 @%append $(OBJS)\mmediadll.lbc option resource=$(OBJS)\mmediadll_version.res
312 @%append $(OBJS)\mmediadll.lbc system nt_dll
313 wlink @$(OBJS)\mmediadll.lbc
314 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib +$^@
318 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib : $(MMEDIALIB_OBJECTS)
319 @%create $(OBJS)\mmedialib.lbc
320 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
321 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
324 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
325 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
327 $(OBJS)\mmediadll_version.res : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\version.rc
328 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG) $<
330 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
331 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
333 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
334 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
336 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
337 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
339 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
340 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
342 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
343 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
345 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
346 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
348 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
349 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
351 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
352 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
354 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
355 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
357 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
358 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
360 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
361 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
363 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
364 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
366 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
367 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
369 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
370 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
372 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
373 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
375 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
376 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
378 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
379 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
381 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
382 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
384 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
385 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
387 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
388 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
390 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
391 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
393 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
394 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
396 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
397 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
399 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
400 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
402 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
403 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
405 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
406 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
408 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
409 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
411 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
412 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
414 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
415 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
417 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
418 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
420 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
421 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
423 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
424 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
426 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
427 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
429 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
430 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
432 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
433 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
435 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
436 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
438 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
439 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
441 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
442 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
444 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
445 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
447 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
448 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
450 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
451 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<