1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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
158 !ifeq RUNTIME_LIBS dynamic
161 !ifeq RUNTIME_LIBS static
165 !ifeq USE_EXCEPTIONS 0
168 !ifeq USE_EXCEPTIONS 1
169 __EXCEPTIONSFLAG = -xr
172 !ifeq USE_EXCEPTIONS 0
175 !ifeq USE_EXCEPTIONS 1
176 __EXCEPTIONSFLAG_0 = -xs
180 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
184 !ifeq DEBUG_FLAG default
185 __DEBUG_DEFINE_p = -d__WXDEBUG__
189 __DEBUG_DEFINE_p = -d__WXDEBUG__
193 __UNICODE_DEFINE_p = -d_UNICODE
198 WX_RELEASE_NODOT = 25
199 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
201 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
202 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
204 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
205 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
206 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
207 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
208 -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
209 -dWXUSINGDLL -dWXMAKINGDLL_MMEDIA /fh=$(OBJS)\wxprec_mmediadll.pch &
210 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
211 MMEDIADLL_OBJECTS = &
212 $(OBJS)\mmediadll_dummy.obj &
213 $(OBJS)\mmediadll_cdwin.obj &
214 $(OBJS)\mmediadll_sndwin.obj &
215 $(OBJS)\mmediadll_vidwin.obj &
216 $(OBJS)\mmediadll_cdbase.obj &
217 $(OBJS)\mmediadll_g711.obj &
218 $(OBJS)\mmediadll_g721.obj &
219 $(OBJS)\mmediadll_g723_24.obj &
220 $(OBJS)\mmediadll_g723_40.obj &
221 $(OBJS)\mmediadll_g72x.obj &
222 $(OBJS)\mmediadll_sndaiff.obj &
223 $(OBJS)\mmediadll_sndbase.obj &
224 $(OBJS)\mmediadll_sndcodec.obj &
225 $(OBJS)\mmediadll_sndcpcm.obj &
226 $(OBJS)\mmediadll_sndfile.obj &
227 $(OBJS)\mmediadll_sndg72x.obj &
228 $(OBJS)\mmediadll_sndmsad.obj &
229 $(OBJS)\mmediadll_sndpcm.obj &
230 $(OBJS)\mmediadll_sndulaw.obj &
231 $(OBJS)\mmediadll_sndwav.obj &
232 $(OBJS)\mmediadll_vidbase.obj
233 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
234 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
235 -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 &
236 -wcd=657 -wcd=667 -i=..\..\src\mmedia\..\..\include &
237 /fh=$(OBJS)\wxprec_mmedialib.pch $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) &
238 $(CPPFLAGS) $(CXXFLAGS)
239 MMEDIALIB_OBJECTS = &
240 $(OBJS)\mmedialib_dummy.obj &
241 $(OBJS)\mmedialib_cdwin.obj &
242 $(OBJS)\mmedialib_sndwin.obj &
243 $(OBJS)\mmedialib_vidwin.obj &
244 $(OBJS)\mmedialib_cdbase.obj &
245 $(OBJS)\mmedialib_g711.obj &
246 $(OBJS)\mmedialib_g721.obj &
247 $(OBJS)\mmedialib_g723_24.obj &
248 $(OBJS)\mmedialib_g723_40.obj &
249 $(OBJS)\mmedialib_g72x.obj &
250 $(OBJS)\mmedialib_sndaiff.obj &
251 $(OBJS)\mmedialib_sndbase.obj &
252 $(OBJS)\mmedialib_sndcodec.obj &
253 $(OBJS)\mmedialib_sndcpcm.obj &
254 $(OBJS)\mmedialib_sndfile.obj &
255 $(OBJS)\mmedialib_sndg72x.obj &
256 $(OBJS)\mmedialib_sndmsad.obj &
257 $(OBJS)\mmedialib_sndpcm.obj &
258 $(OBJS)\mmedialib_sndulaw.obj &
259 $(OBJS)\mmedialib_sndwav.obj &
260 $(OBJS)\mmedialib_vidbase.obj
265 -if not exist $(OBJS) mkdir $(OBJS)
269 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
272 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
273 -if exist $(OBJS)\*.res del $(OBJS)\*.res
274 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
275 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
276 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
277 -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
278 -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
279 -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
282 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS)
283 @%create $(OBJS)\mmediadll.lbc
284 @%append $(OBJS)\mmediadll.lbc option quiet
285 @%append $(OBJS)\mmediadll.lbc name $^@
286 @%append $(OBJS)\mmediadll.lbc option caseexact
287 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
288 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
289 @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
290 @%append $(OBJS)\mmediadll.lbc
291 @%append $(OBJS)\mmediadll.lbc system nt_dll
292 wlink @$(OBJS)\mmediadll.lbc
293 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib +$^@
297 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib : $(MMEDIALIB_OBJECTS)
298 @%create $(OBJS)\mmedialib.lbc
299 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
300 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
303 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
304 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
306 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
307 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
309 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
310 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
312 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
313 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
315 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
316 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
318 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
319 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
321 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
322 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
324 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
325 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
327 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
328 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
330 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
331 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
333 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
334 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
336 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
337 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
339 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
340 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
342 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
343 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
345 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
346 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
348 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
349 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
351 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
352 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
354 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
355 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
357 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
358 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
360 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
361 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
363 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
364 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
366 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
367 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
369 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
370 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
372 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
373 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
375 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
376 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
378 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
379 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
381 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
382 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
384 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
385 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
387 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
388 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
390 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
391 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
393 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
394 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
396 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
397 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
399 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
400 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
402 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
403 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
405 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
406 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
408 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
409 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
411 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
412 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
414 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
415 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
417 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
418 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
420 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
421 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
423 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
424 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
426 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
427 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<