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
65 __mmediadll___depname =
67 __mmediadll___depname = &
68 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll
72 !ifeq DEBUG_INFO default
73 __DEBUGINFO_2 = debug all
77 !ifeq DEBUG_INFO default
85 __DEBUGINFO_2 = debug all
90 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
94 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
98 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
102 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
107 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
112 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
114 __mmedialib___depname =
116 __mmedialib___depname = &
117 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
121 !ifeq DEBUG_INFO default
126 !ifeq DEBUG_INFO default
141 __OPTIMIZEFLAG = -ot -ox
144 !ifeq RUNTIME_LIBS dynamic
147 !ifeq RUNTIME_LIBS static
151 !ifeq USE_EXCEPTIONS 0
154 !ifeq USE_EXCEPTIONS 1
155 __EXCEPTIONSFLAG = -xs
159 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
163 !ifeq DEBUG_FLAG default
164 __DEBUG_DEFINE_p = -d__WXDEBUG__
168 __DEBUG_DEFINE_p = -d__WXDEBUG__
172 __UNICODE_DEFINE_p = -d_UNICODE
176 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_lib$(CFG)
179 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_dll$(CFG)
184 WX_RELEASE_NODOT = 25
185 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
187 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
189 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
190 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
191 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
192 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
193 -i=..\..\src\mmedia\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_MMEDIA &
194 /fh=$(OBJS)\wxprec_mmediadll.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
196 MMEDIADLL_OBJECTS = &
197 $(OBJS)\mmediadll_dummy.obj &
198 $(OBJS)\mmediadll_cdwin.obj &
199 $(OBJS)\mmediadll_sndwin.obj &
200 $(OBJS)\mmediadll_vidwin.obj &
201 $(OBJS)\mmediadll_cdbase.obj &
202 $(OBJS)\mmediadll_g711.obj &
203 $(OBJS)\mmediadll_g721.obj &
204 $(OBJS)\mmediadll_g723_24.obj &
205 $(OBJS)\mmediadll_g723_40.obj &
206 $(OBJS)\mmediadll_g72x.obj &
207 $(OBJS)\mmediadll_sndaiff.obj &
208 $(OBJS)\mmediadll_sndbase.obj &
209 $(OBJS)\mmediadll_sndcodec.obj &
210 $(OBJS)\mmediadll_sndcpcm.obj &
211 $(OBJS)\mmediadll_sndfile.obj &
212 $(OBJS)\mmediadll_sndg72x.obj &
213 $(OBJS)\mmediadll_sndmsad.obj &
214 $(OBJS)\mmediadll_sndpcm.obj &
215 $(OBJS)\mmediadll_sndulaw.obj &
216 $(OBJS)\mmediadll_sndwav.obj &
217 $(OBJS)\mmediadll_vidbase.obj
218 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
219 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
220 -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
221 -i=..\..\src\mmedia\..\..\include /fh=$(OBJS)\wxprec_mmedialib.pch &
222 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
223 MMEDIALIB_OBJECTS = &
224 $(OBJS)\mmedialib_dummy.obj &
225 $(OBJS)\mmedialib_cdwin.obj &
226 $(OBJS)\mmedialib_sndwin.obj &
227 $(OBJS)\mmedialib_vidwin.obj &
228 $(OBJS)\mmedialib_cdbase.obj &
229 $(OBJS)\mmedialib_g711.obj &
230 $(OBJS)\mmedialib_g721.obj &
231 $(OBJS)\mmedialib_g723_24.obj &
232 $(OBJS)\mmedialib_g723_40.obj &
233 $(OBJS)\mmedialib_g72x.obj &
234 $(OBJS)\mmedialib_sndaiff.obj &
235 $(OBJS)\mmedialib_sndbase.obj &
236 $(OBJS)\mmedialib_sndcodec.obj &
237 $(OBJS)\mmedialib_sndcpcm.obj &
238 $(OBJS)\mmedialib_sndfile.obj &
239 $(OBJS)\mmedialib_sndg72x.obj &
240 $(OBJS)\mmedialib_sndmsad.obj &
241 $(OBJS)\mmedialib_sndpcm.obj &
242 $(OBJS)\mmedialib_sndulaw.obj &
243 $(OBJS)\mmedialib_sndwav.obj &
244 $(OBJS)\mmedialib_vidbase.obj
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
256 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
257 -if exist $(OBJS)\*.res del $(OBJS)\*.res
258 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
259 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
260 -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
261 -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
262 -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
265 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS)
266 @%create $(OBJS)\mmediadll.lbc
267 @%append $(OBJS)\mmediadll.lbc option quiet
268 @%append $(OBJS)\mmediadll.lbc name $^@
269 @%append $(OBJS)\mmediadll.lbc option caseexact
270 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
271 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
272 @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 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
273 @%append $(OBJS)\mmediadll.lbc
274 @%append $(OBJS)\mmediadll.lbc system nt_dll
275 wlink @$(OBJS)\mmediadll.lbc
276 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib +$^@
280 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib : $(MMEDIALIB_OBJECTS)
281 @%create $(OBJS)\mmedialib.lbc
282 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
283 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
286 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
287 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
289 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
290 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
292 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
293 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
295 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
296 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
298 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
299 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
301 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
302 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
304 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
305 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
307 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
308 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
310 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
311 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
313 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
314 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
316 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
317 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
319 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
320 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
322 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
323 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
325 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
326 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
328 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
329 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
331 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
332 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
334 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
335 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
337 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
338 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
340 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
341 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
343 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
344 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
346 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
347 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
349 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
350 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
352 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
353 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
355 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
356 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
358 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
359 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
361 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
362 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
364 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
365 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
367 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
368 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
370 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
371 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
373 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
374 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
376 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
377 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
379 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
380 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
382 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
383 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
385 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
386 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
388 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
389 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
391 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
392 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
394 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
395 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
397 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
398 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
400 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
401 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
403 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
404 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
406 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
407 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
409 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
410 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<