1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 MMEDIADLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\mmedia\..\..\..\include /I$(SETUPHDIR) \
21 /I..\..\src\mmedia\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_MMEDIA \
22 $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_mmediadll.pch"
24 $(OBJS)\mmediadll_dummy.obj \
25 $(OBJS)\mmediadll_cdwin.obj \
26 $(OBJS)\mmediadll_sndwin.obj \
27 $(OBJS)\mmediadll_vidwin.obj \
28 $(OBJS)\mmediadll_cdbase.obj \
29 $(OBJS)\mmediadll_g711.obj \
30 $(OBJS)\mmediadll_g721.obj \
31 $(OBJS)\mmediadll_g723_24.obj \
32 $(OBJS)\mmediadll_g723_40.obj \
33 $(OBJS)\mmediadll_g72x.obj \
34 $(OBJS)\mmediadll_sndaiff.obj \
35 $(OBJS)\mmediadll_sndbase.obj \
36 $(OBJS)\mmediadll_sndcodec.obj \
37 $(OBJS)\mmediadll_sndcpcm.obj \
38 $(OBJS)\mmediadll_sndfile.obj \
39 $(OBJS)\mmediadll_sndg72x.obj \
40 $(OBJS)\mmediadll_sndmsad.obj \
41 $(OBJS)\mmediadll_sndpcm.obj \
42 $(OBJS)\mmediadll_sndulaw.obj \
43 $(OBJS)\mmediadll_sndwav.obj \
44 $(OBJS)\mmediadll_vidbase.obj
45 MMEDIALIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
46 /DWIN32 $(__DEBUGINFO_2) \
47 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.pdb \
48 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
50 /I..\..\src\mmedia\..\..\..\include /I$(SETUPHDIR) \
51 /I..\..\src\mmedia\..\..\include $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
52 /Fp"$(OBJS)\wxprec_mmedialib.pch"
54 $(OBJS)\mmedialib_dummy.obj \
55 $(OBJS)\mmedialib_cdwin.obj \
56 $(OBJS)\mmedialib_sndwin.obj \
57 $(OBJS)\mmedialib_vidwin.obj \
58 $(OBJS)\mmedialib_cdbase.obj \
59 $(OBJS)\mmedialib_g711.obj \
60 $(OBJS)\mmedialib_g721.obj \
61 $(OBJS)\mmedialib_g723_24.obj \
62 $(OBJS)\mmedialib_g723_40.obj \
63 $(OBJS)\mmedialib_g72x.obj \
64 $(OBJS)\mmedialib_sndaiff.obj \
65 $(OBJS)\mmedialib_sndbase.obj \
66 $(OBJS)\mmedialib_sndcodec.obj \
67 $(OBJS)\mmedialib_sndcpcm.obj \
68 $(OBJS)\mmedialib_sndfile.obj \
69 $(OBJS)\mmedialib_sndg72x.obj \
70 $(OBJS)\mmedialib_sndmsad.obj \
71 $(OBJS)\mmedialib_sndpcm.obj \
72 $(OBJS)\mmedialib_sndulaw.obj \
73 $(OBJS)\mmedialib_sndwav.obj \
74 $(OBJS)\mmedialib_vidbase.obj
76 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
78 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
80 ### Conditionally set variables: ###
82 !if "$(SHARED)" == "0"
83 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\vc_lib$(CFG)
85 !if "$(SHARED)" == "1"
86 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\vc_dll$(CFG)
88 !if "$(USE_GUI)" == "0"
91 !if "$(USE_GUI)" == "1"
94 !if "$(OFFICIAL_BUILD)" == "0"
95 VENDORTAG = _$(VENDOR)
97 !if "$(OFFICIAL_BUILD)" == "1"
100 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
103 !if "$(DEBUG_FLAG)" == "1"
106 !if "$(SHARED)" == "1"
109 !if "$(UNICODE)" == "1"
112 !if "$(WXUNIV)" == "1"
115 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
118 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
121 !if "$(DEBUG_INFO)" == "0"
124 !if "$(DEBUG_INFO)" == "1"
127 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128 __DEBUGINFO_1 = /DEBUG
130 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
133 !if "$(DEBUG_INFO)" == "0"
136 !if "$(DEBUG_INFO)" == "1"
137 __DEBUGINFO_1 = /DEBUG
139 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
142 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
145 !if "$(DEBUG_INFO)" == "0"
148 !if "$(DEBUG_INFO)" == "1"
151 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
154 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
155 __DEBUGRUNTIME_12 = d
157 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
158 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
160 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
163 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
166 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
167 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
169 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
170 __DEBUG_DEFINE_p = /D__WXDEBUG__
172 !if "$(DEBUG_FLAG)" == "1"
173 __DEBUG_DEFINE_p = /D__WXDEBUG__
175 !if "$(USE_GUI)" == "1"
176 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
178 !if "$(USE_GUI)" == "1"
179 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
181 !if "$(USE_GUI)" == "1"
182 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
184 !if "$(BUILD)" == "debug"
187 !if "$(BUILD)" == "release"
190 !if "$(RUNTIME_LIBS)" == "dynamic"
193 !if "$(RUNTIME_LIBS)" == "static"
196 !if "$(UNICODE)" == "1"
197 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
200 __UNICOWS_LIB_p = unicows.lib
202 !if "$(MONOLITHIC)" == "0"
203 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
205 !if "$(MONOLITHIC)" == "0"
207 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
209 !if "$(MONOLITHIC)" == "1"
211 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
213 !if "$(WXUNIV)" == "1"
214 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
216 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
217 ____DEBUGINFO = /D_DEBUG
219 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
222 !if "$(DEBUG_INFO)" == "0"
225 !if "$(DEBUG_INFO)" == "1"
226 ____DEBUGINFO = /D_DEBUG
228 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
229 ____DEBUGRUNTIME_11_p =
231 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
232 ____DEBUGRUNTIME_11_p = /D_DEBUG
234 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
235 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
238 ____DEBUGRUNTIME_2_p =
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
241 ____DEBUGRUNTIME_2_p = /D_DEBUG
243 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
244 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
246 !if "$(SHARED)" == "1"
247 __mmediadll___depname = \
248 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll
250 !if "$(SHARED)" == "0"
251 __mmedialib___depname = \
252 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
258 -if not exist $(OBJS) mkdir $(OBJS)
262 all: $(__mmediadll___depname) $(__mmedialib___depname)
264 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
267 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
270 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) /Ycwx/wxprec.h $**
273 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
276 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
279 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
282 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
285 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
288 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
291 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
294 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
297 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
300 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
303 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
306 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
309 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
312 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
315 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
318 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
321 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
324 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
327 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
330 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
333 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) /Ycwx/wxprec.h $**
336 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
339 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
342 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
345 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
346 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
348 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
351 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
354 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
357 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
360 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
363 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
366 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
369 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
370 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
372 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
373 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
375 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
376 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
378 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
379 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
381 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
382 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
384 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
385 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
387 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
388 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
391 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
392 -if exist $(OBJS)\*.res del $(OBJS)\*.res
393 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll
394 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
395 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
397 !if "$(SHARED)" == "1"
398 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll: $(OBJS)\mmediadll_dummy.obj $(MMEDIADLL_OBJECTS)
399 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
400 $(MMEDIADLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
404 !if "$(SHARED)" == "0"
405 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib: $(OBJS)\mmedialib_dummy.obj $(MMEDIALIB_OBJECTS)
407 lib /NOLOGO /OUT:$@ @<<