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/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 ..\..\src\mmedia\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 MMEDIADLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
18 /DWIN32 $(__DEBUGINFO_2) \
19 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
21 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 /I..\..\src\mmedia\..\..\..\include /I$(LIBDIRNAME) \
23 /I..\..\src\mmedia\..\..\..\src\tiff /I..\..\src\mmedia\..\..\..\src\jpeg \
24 /I..\..\src\mmedia\..\..\..\src\png /I..\..\src\mmedia\..\..\..\src\zlib \
25 /I..\..\src\mmedia\..\..\..\src\regex \
26 /I..\..\src\mmedia\..\..\..\src\expat\lib \
27 /I..\..\src\mmedia\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_MMEDIA \
28 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_mmediadll.pch"
30 $(OBJS)\mmediadll_dummy.obj \
31 $(OBJS)\mmediadll_cdwin.obj \
32 $(OBJS)\mmediadll_sndwin.obj \
33 $(OBJS)\mmediadll_vidwin.obj \
34 $(OBJS)\mmediadll_cdbase.obj \
35 $(OBJS)\mmediadll_g711.obj \
36 $(OBJS)\mmediadll_g721.obj \
37 $(OBJS)\mmediadll_g723_24.obj \
38 $(OBJS)\mmediadll_g723_40.obj \
39 $(OBJS)\mmediadll_g72x.obj \
40 $(OBJS)\mmediadll_sndaiff.obj \
41 $(OBJS)\mmediadll_sndbase.obj \
42 $(OBJS)\mmediadll_sndcodec.obj \
43 $(OBJS)\mmediadll_sndcpcm.obj \
44 $(OBJS)\mmediadll_sndfile.obj \
45 $(OBJS)\mmediadll_sndg72x.obj \
46 $(OBJS)\mmediadll_sndmsad.obj \
47 $(OBJS)\mmediadll_sndpcm.obj \
48 $(OBJS)\mmediadll_sndulaw.obj \
49 $(OBJS)\mmediadll_sndwav.obj \
50 $(OBJS)\mmediadll_vidbase.obj
51 MMEDIALIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
52 /DWIN32 $(__DEBUGINFO_2) \
53 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.pdb \
54 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
55 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
56 /I..\..\src\mmedia\..\..\..\include /I$(LIBDIRNAME) \
57 /I..\..\src\mmedia\..\..\..\src\tiff /I..\..\src\mmedia\..\..\..\src\jpeg \
58 /I..\..\src\mmedia\..\..\..\src\png /I..\..\src\mmedia\..\..\..\src\zlib \
59 /I..\..\src\mmedia\..\..\..\src\regex \
60 /I..\..\src\mmedia\..\..\..\src\expat\lib \
61 /I..\..\src\mmedia\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
62 /Fp"$(OBJS)\wxprec_mmedialib.pch"
64 $(OBJS)\mmedialib_dummy.obj \
65 $(OBJS)\mmedialib_cdwin.obj \
66 $(OBJS)\mmedialib_sndwin.obj \
67 $(OBJS)\mmedialib_vidwin.obj \
68 $(OBJS)\mmedialib_cdbase.obj \
69 $(OBJS)\mmedialib_g711.obj \
70 $(OBJS)\mmedialib_g721.obj \
71 $(OBJS)\mmedialib_g723_24.obj \
72 $(OBJS)\mmedialib_g723_40.obj \
73 $(OBJS)\mmedialib_g72x.obj \
74 $(OBJS)\mmedialib_sndaiff.obj \
75 $(OBJS)\mmedialib_sndbase.obj \
76 $(OBJS)\mmedialib_sndcodec.obj \
77 $(OBJS)\mmedialib_sndcpcm.obj \
78 $(OBJS)\mmedialib_sndfile.obj \
79 $(OBJS)\mmedialib_sndg72x.obj \
80 $(OBJS)\mmedialib_sndmsad.obj \
81 $(OBJS)\mmedialib_sndpcm.obj \
82 $(OBJS)\mmedialib_sndulaw.obj \
83 $(OBJS)\mmedialib_sndwav.obj \
84 $(OBJS)\mmedialib_vidbase.obj
86 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
88 ### Conditionally set variables: ###
90 !if "$(USE_GUI)" == "0"
93 !if "$(USE_GUI)" == "1"
96 !if "$(OFFICIAL_BUILD)" == "0"
97 VENDORTAG = _$(VENDOR)
99 !if "$(OFFICIAL_BUILD)" == "1"
102 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
105 !if "$(DEBUG_FLAG)" == "1"
108 !if "$(SHARED)" == "1"
111 !if "$(UNICODE)" == "1"
114 !if "$(WXUNIV)" == "1"
117 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
123 !if "$(DEBUG_INFO)" == "0"
126 !if "$(DEBUG_INFO)" == "1"
129 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
130 __DEBUGINFO_1 = /DEBUG
132 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
135 !if "$(DEBUG_INFO)" == "0"
138 !if "$(DEBUG_INFO)" == "1"
139 __DEBUGINFO_1 = /DEBUG
141 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
144 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
147 !if "$(DEBUG_INFO)" == "0"
150 !if "$(DEBUG_INFO)" == "1"
153 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
156 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
157 __DEBUGRUNTIME_12 = d
159 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
160 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
162 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
165 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
168 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
169 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
171 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
172 __DEBUG_DEFINE_p = /D__WXDEBUG__
174 !if "$(DEBUG_FLAG)" == "1"
175 __DEBUG_DEFINE_p = /D__WXDEBUG__
177 !if "$(USE_GUI)" == "1"
178 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
180 !if "$(USE_GUI)" == "1"
181 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
183 !if "$(USE_GUI)" == "1"
184 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
186 !if "$(BUILD)" == "debug"
189 !if "$(BUILD)" == "release"
192 !if "$(RUNTIME_LIBS)" == "dynamic"
195 !if "$(RUNTIME_LIBS)" == "static"
198 !if "$(UNICODE)" == "1"
199 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
201 !if "$(MONOLITHIC)" == "0"
202 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
204 !if "$(MONOLITHIC)" == "0"
206 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
208 !if "$(MONOLITHIC)" == "1"
210 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
212 !if "$(WXUNIV)" == "1"
213 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
215 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
216 ____DEBUGINFO = /D_DEBUG
218 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
221 !if "$(DEBUG_INFO)" == "0"
224 !if "$(DEBUG_INFO)" == "1"
225 ____DEBUGINFO = /D_DEBUG
227 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
228 ____DEBUGRUNTIME_11_p =
230 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
231 ____DEBUGRUNTIME_11_p = /D_DEBUG
233 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
234 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
236 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
237 ____DEBUGRUNTIME_2_p =
239 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
240 ____DEBUGRUNTIME_2_p = /D_DEBUG
242 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
243 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
245 !if "$(SHARED)" == "1"
246 __mmediadll___depname = \
247 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll
249 !if "$(SHARED)" == "0"
250 __mmedialib___depname = \
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
257 -if not exist $(OBJS) mkdir $(OBJS)
261 all: $(__mmediadll___depname) $(__mmedialib___depname)
263 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
264 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
266 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
267 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
269 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) /Ycwx/wxprec.h $**
272 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
275 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
278 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
281 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
284 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
287 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
290 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
293 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
296 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
299 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
302 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
305 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
308 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
311 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
314 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
317 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
320 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
323 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIADLL_CXXFLAGS) $**
326 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
329 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
332 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) /Ycwx/wxprec.h $**
335 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
338 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
341 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
344 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
347 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
350 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
353 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
356 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
359 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
362 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
365 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
368 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
371 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
374 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
375 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
377 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
378 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
380 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
381 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
383 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
384 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
386 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
387 $(CXX) /c /nologo /TP /Fo$@ $(MMEDIALIB_CXXFLAGS) $**
390 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
391 -if exist $(OBJS)\*.res del $(OBJS)\*.res
392 -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
393 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
394 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
396 !if "$(SHARED)" == "1"
397 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_vc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_dummy.obj
398 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
399 $(MMEDIADLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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
403 !if "$(SHARED)" == "0"
404 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib: $(MMEDIALIB_OBJECTS) $(OBJS)\mmedialib_dummy.obj
406 lib /NOLOGO /OUT:$@ @<<