1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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
72 __mmediadll___depname =
74 __mmediadll___depname = &
75 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll
79 !ifeq DEBUG_INFO default
80 __DEBUGINFO_2 = debug all
84 !ifeq DEBUG_INFO default
92 __DEBUGINFO_2 = debug all
97 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
101 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
105 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
109 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
114 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
119 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
121 __mmedialib___depname =
123 __mmedialib___depname = &
124 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
128 !ifeq DEBUG_INFO default
133 !ifeq DEBUG_INFO default
148 __OPTIMIZEFLAG = -ot -ox
151 !ifeq RUNTIME_LIBS dynamic
154 !ifeq RUNTIME_LIBS static
158 !ifeq USE_EXCEPTIONS 0
161 !ifeq USE_EXCEPTIONS 1
162 __EXCEPTIONSFLAG = -xs
166 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
170 !ifeq DEBUG_FLAG default
171 __DEBUG_DEFINE_p = -d__WXDEBUG__
175 __DEBUG_DEFINE_p = -d__WXDEBUG__
179 __UNICODE_DEFINE_p = -d_UNICODE
183 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_lib$(CFG)
186 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_dll$(CFG)
191 WX_RELEASE_NODOT = 25
192 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
194 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
196 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
197 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
198 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
199 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
200 -wcd=549 -wcd=656 -wcd=657 -i=..\..\src\mmedia\..\..\include -dWXUSINGDLL &
201 -dWXMAKINGDLL_MMEDIA /fh=$(OBJS)\wxprec_mmediadll.pch $(__EXCEPTIONSFLAG) &
202 $(CPPFLAGS) $(CXXFLAGS)
203 MMEDIADLL_OBJECTS = &
204 $(OBJS)\mmediadll_dummy.obj &
205 $(OBJS)\mmediadll_cdwin.obj &
206 $(OBJS)\mmediadll_sndwin.obj &
207 $(OBJS)\mmediadll_vidwin.obj &
208 $(OBJS)\mmediadll_cdbase.obj &
209 $(OBJS)\mmediadll_g711.obj &
210 $(OBJS)\mmediadll_g721.obj &
211 $(OBJS)\mmediadll_g723_24.obj &
212 $(OBJS)\mmediadll_g723_40.obj &
213 $(OBJS)\mmediadll_g72x.obj &
214 $(OBJS)\mmediadll_sndaiff.obj &
215 $(OBJS)\mmediadll_sndbase.obj &
216 $(OBJS)\mmediadll_sndcodec.obj &
217 $(OBJS)\mmediadll_sndcpcm.obj &
218 $(OBJS)\mmediadll_sndfile.obj &
219 $(OBJS)\mmediadll_sndg72x.obj &
220 $(OBJS)\mmediadll_sndmsad.obj &
221 $(OBJS)\mmediadll_sndpcm.obj &
222 $(OBJS)\mmediadll_sndulaw.obj &
223 $(OBJS)\mmediadll_sndwav.obj &
224 $(OBJS)\mmediadll_vidbase.obj
225 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
226 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
227 -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) -wcd=549 -wcd=656 &
228 -wcd=657 -i=..\..\src\mmedia\..\..\include &
229 /fh=$(OBJS)\wxprec_mmedialib.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
231 MMEDIALIB_OBJECTS = &
232 $(OBJS)\mmedialib_dummy.obj &
233 $(OBJS)\mmedialib_cdwin.obj &
234 $(OBJS)\mmedialib_sndwin.obj &
235 $(OBJS)\mmedialib_vidwin.obj &
236 $(OBJS)\mmedialib_cdbase.obj &
237 $(OBJS)\mmedialib_g711.obj &
238 $(OBJS)\mmedialib_g721.obj &
239 $(OBJS)\mmedialib_g723_24.obj &
240 $(OBJS)\mmedialib_g723_40.obj &
241 $(OBJS)\mmedialib_g72x.obj &
242 $(OBJS)\mmedialib_sndaiff.obj &
243 $(OBJS)\mmedialib_sndbase.obj &
244 $(OBJS)\mmedialib_sndcodec.obj &
245 $(OBJS)\mmedialib_sndcpcm.obj &
246 $(OBJS)\mmedialib_sndfile.obj &
247 $(OBJS)\mmedialib_sndg72x.obj &
248 $(OBJS)\mmedialib_sndmsad.obj &
249 $(OBJS)\mmedialib_sndpcm.obj &
250 $(OBJS)\mmedialib_sndulaw.obj &
251 $(OBJS)\mmedialib_sndwav.obj &
252 $(OBJS)\mmedialib_vidbase.obj
257 -if not exist $(OBJS) mkdir $(OBJS)
261 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
264 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
265 -if exist $(OBJS)\*.res del $(OBJS)\*.res
266 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
267 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
268 -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
269 -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
270 -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
273 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS)
274 @%create $(OBJS)\mmediadll.lbc
275 @%append $(OBJS)\mmediadll.lbc option quiet
276 @%append $(OBJS)\mmediadll.lbc name $^@
277 @%append $(OBJS)\mmediadll.lbc option caseexact
278 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
279 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
280 @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
281 @%append $(OBJS)\mmediadll.lbc
282 @%append $(OBJS)\mmediadll.lbc system nt_dll
283 wlink @$(OBJS)\mmediadll.lbc
284 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib +$^@
288 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib : $(MMEDIALIB_OBJECTS)
289 @%create $(OBJS)\mmedialib.lbc
290 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
291 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
294 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
295 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
297 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
298 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
300 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
301 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
303 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
304 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
306 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
307 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
309 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
310 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
312 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
313 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
315 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
316 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
318 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
319 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
321 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
322 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
324 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
325 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
327 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
328 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
330 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
331 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
333 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
334 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
336 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
337 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
339 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
340 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
342 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
343 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
345 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
346 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
348 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
349 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
351 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
352 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
354 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
355 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
357 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
358 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
360 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
361 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
363 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
364 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
366 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
367 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
369 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
370 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
372 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
373 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
375 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
376 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
378 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
379 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
381 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
382 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
384 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
385 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
387 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
388 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
390 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
391 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
393 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
394 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
396 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
397 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
399 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
400 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
402 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
403 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
405 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
406 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
408 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
409 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
411 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
412 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
414 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
415 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
417 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
418 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<