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)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
111 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
113 __mmedialib___depname =
115 __mmedialib___depname = &
116 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
120 !ifeq DEBUG_INFO default
125 !ifeq DEBUG_INFO default
140 __OPTIMIZEFLAG = -ot -ox
143 !ifeq RUNTIME_LIBS dynamic
146 !ifeq RUNTIME_LIBS static
150 !ifeq USE_EXCEPTIONS 0
153 !ifeq USE_EXCEPTIONS 1
154 __EXCEPTIONSFLAG = -xs
158 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
162 !ifeq DEBUG_FLAG default
163 __DEBUG_DEFINE_p = -d__WXDEBUG__
167 __DEBUG_DEFINE_p = -d__WXDEBUG__
171 __UNICODE_DEFINE_p = -d_UNICODE
175 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_lib$(CFG)
178 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\wat_dll$(CFG)
184 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
186 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
187 MMEDIADLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
188 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
189 $(__UNICODE_DEFINE_p) -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
190 -i=..\..\src\mmedia\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_MMEDIA &
191 /fh=$(OBJS)\wxprec_mmediadll.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
193 MMEDIADLL_OBJECTS = &
194 $(OBJS)\mmediadll_dummy.obj &
195 $(OBJS)\mmediadll_cdwin.obj &
196 $(OBJS)\mmediadll_sndwin.obj &
197 $(OBJS)\mmediadll_vidwin.obj &
198 $(OBJS)\mmediadll_cdbase.obj &
199 $(OBJS)\mmediadll_g711.obj &
200 $(OBJS)\mmediadll_g721.obj &
201 $(OBJS)\mmediadll_g723_24.obj &
202 $(OBJS)\mmediadll_g723_40.obj &
203 $(OBJS)\mmediadll_g72x.obj &
204 $(OBJS)\mmediadll_sndaiff.obj &
205 $(OBJS)\mmediadll_sndbase.obj &
206 $(OBJS)\mmediadll_sndcodec.obj &
207 $(OBJS)\mmediadll_sndcpcm.obj &
208 $(OBJS)\mmediadll_sndfile.obj &
209 $(OBJS)\mmediadll_sndg72x.obj &
210 $(OBJS)\mmediadll_sndmsad.obj &
211 $(OBJS)\mmediadll_sndpcm.obj &
212 $(OBJS)\mmediadll_sndulaw.obj &
213 $(OBJS)\mmediadll_sndwav.obj &
214 $(OBJS)\mmediadll_vidbase.obj
215 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
216 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
217 -i=..\..\src\mmedia\..\..\..\include -i=$(SETUPHDIR) &
218 -i=..\..\src\mmedia\..\..\include /fh=$(OBJS)\wxprec_mmedialib.pch &
219 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
220 MMEDIALIB_OBJECTS = &
221 $(OBJS)\mmedialib_dummy.obj &
222 $(OBJS)\mmedialib_cdwin.obj &
223 $(OBJS)\mmedialib_sndwin.obj &
224 $(OBJS)\mmedialib_vidwin.obj &
225 $(OBJS)\mmedialib_cdbase.obj &
226 $(OBJS)\mmedialib_g711.obj &
227 $(OBJS)\mmedialib_g721.obj &
228 $(OBJS)\mmedialib_g723_24.obj &
229 $(OBJS)\mmedialib_g723_40.obj &
230 $(OBJS)\mmedialib_g72x.obj &
231 $(OBJS)\mmedialib_sndaiff.obj &
232 $(OBJS)\mmedialib_sndbase.obj &
233 $(OBJS)\mmedialib_sndcodec.obj &
234 $(OBJS)\mmedialib_sndcpcm.obj &
235 $(OBJS)\mmedialib_sndfile.obj &
236 $(OBJS)\mmedialib_sndg72x.obj &
237 $(OBJS)\mmedialib_sndmsad.obj &
238 $(OBJS)\mmedialib_sndpcm.obj &
239 $(OBJS)\mmedialib_sndulaw.obj &
240 $(OBJS)\mmedialib_sndwav.obj &
241 $(OBJS)\mmedialib_vidbase.obj
246 -if not exist $(OBJS) mkdir $(OBJS)
250 all : .SYMBOLIC $(__mmediadll___depname) $(__mmedialib___depname)
253 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
254 -if exist $(OBJS)\*.res del $(OBJS)\*.res
255 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
256 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
257 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_wat$(VENDORTAG).dll
258 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
259 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
262 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_wat$(VENDORTAG).dll : $(MMEDIADLL_OBJECTS)
263 @%create $(OBJS)\mmediadll.lbc
264 @%append $(OBJS)\mmediadll.lbc option quiet
265 @%append $(OBJS)\mmediadll.lbc name $^@
266 @%append $(OBJS)\mmediadll.lbc option caseexact
267 @%append $(OBJS)\mmediadll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
268 @for %i in ($(MMEDIADLL_OBJECTS)) do @%append $(OBJS)\mmediadll.lbc file %i
269 @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
270 @%append $(OBJS)\mmediadll.lbc
271 @%append $(OBJS)\mmediadll.lbc system nt_dll
272 wlink @$(OBJS)\mmediadll.lbc
273 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib +$^@
277 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib : $(MMEDIALIB_OBJECTS)
278 @%create $(OBJS)\mmedialib.lbc
279 @for %i in ($(MMEDIALIB_OBJECTS)) do @%append $(OBJS)\mmedialib.lbc +%i
280 wlib -q -p4096 -n -b $^@ @$(OBJS)\mmedialib.lbc
283 $(OBJS)\mmediadll_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
284 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
286 $(OBJS)\mmediadll_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
287 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
289 $(OBJS)\mmediadll_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
290 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
292 $(OBJS)\mmediadll_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
293 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
295 $(OBJS)\mmediadll_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
296 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
298 $(OBJS)\mmediadll_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
299 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
301 $(OBJS)\mmediadll_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
302 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
304 $(OBJS)\mmediadll_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
305 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
307 $(OBJS)\mmediadll_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
308 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
310 $(OBJS)\mmediadll_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
311 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
313 $(OBJS)\mmediadll_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
314 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
316 $(OBJS)\mmediadll_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
317 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
319 $(OBJS)\mmediadll_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
320 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
322 $(OBJS)\mmediadll_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
323 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
325 $(OBJS)\mmediadll_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
326 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
328 $(OBJS)\mmediadll_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
329 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
331 $(OBJS)\mmediadll_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
332 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
334 $(OBJS)\mmediadll_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
335 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
337 $(OBJS)\mmediadll_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
338 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
340 $(OBJS)\mmediadll_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
341 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
343 $(OBJS)\mmediadll_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
344 $(CXX) -zq -fo=$^@ $(MMEDIADLL_CXXFLAGS) $<
346 $(OBJS)\mmedialib_dummy.obj : .AUTODEPEND ../../src/mmedia\..\..\..\src\msw\dummy.cpp
347 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
349 $(OBJS)\mmedialib_cdwin.obj : .AUTODEPEND ../../src/mmedia\cdwin.cpp
350 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
352 $(OBJS)\mmedialib_sndwin.obj : .AUTODEPEND ../../src/mmedia\sndwin.cpp
353 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
355 $(OBJS)\mmedialib_vidwin.obj : .AUTODEPEND ../../src/mmedia\vidwin.cpp
356 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
358 $(OBJS)\mmedialib_cdbase.obj : .AUTODEPEND ../../src/mmedia\cdbase.cpp
359 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
361 $(OBJS)\mmedialib_g711.obj : .AUTODEPEND ../../src/mmedia\g711.cpp
362 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
364 $(OBJS)\mmedialib_g721.obj : .AUTODEPEND ../../src/mmedia\g721.cpp
365 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
367 $(OBJS)\mmedialib_g723_24.obj : .AUTODEPEND ../../src/mmedia\g723_24.cpp
368 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
370 $(OBJS)\mmedialib_g723_40.obj : .AUTODEPEND ../../src/mmedia\g723_40.cpp
371 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
373 $(OBJS)\mmedialib_g72x.obj : .AUTODEPEND ../../src/mmedia\g72x.cpp
374 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
376 $(OBJS)\mmedialib_sndaiff.obj : .AUTODEPEND ../../src/mmedia\sndaiff.cpp
377 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
379 $(OBJS)\mmedialib_sndbase.obj : .AUTODEPEND ../../src/mmedia\sndbase.cpp
380 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
382 $(OBJS)\mmedialib_sndcodec.obj : .AUTODEPEND ../../src/mmedia\sndcodec.cpp
383 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
385 $(OBJS)\mmedialib_sndcpcm.obj : .AUTODEPEND ../../src/mmedia\sndcpcm.cpp
386 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
388 $(OBJS)\mmedialib_sndfile.obj : .AUTODEPEND ../../src/mmedia\sndfile.cpp
389 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
391 $(OBJS)\mmedialib_sndg72x.obj : .AUTODEPEND ../../src/mmedia\sndg72x.cpp
392 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
394 $(OBJS)\mmedialib_sndmsad.obj : .AUTODEPEND ../../src/mmedia\sndmsad.cpp
395 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
397 $(OBJS)\mmedialib_sndpcm.obj : .AUTODEPEND ../../src/mmedia\sndpcm.cpp
398 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
400 $(OBJS)\mmedialib_sndulaw.obj : .AUTODEPEND ../../src/mmedia\sndulaw.cpp
401 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
403 $(OBJS)\mmedialib_sndwav.obj : .AUTODEPEND ../../src/mmedia\sndwav.cpp
404 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<
406 $(OBJS)\mmedialib_vidbase.obj : .AUTODEPEND ../../src/mmedia\vidbase.cpp
407 $(CXX) -zq -fo=$^@ $(MMEDIALIB_CXXFLAGS) $<