1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 MMEDIADLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
23 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) -W -Wall \
27 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
28 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
31 $(OBJS)\mmediadll_dummy.o \
32 $(OBJS)\mmediadll_version_rc.o \
33 $(OBJS)\mmediadll_cdwin.o \
34 $(OBJS)\mmediadll_sndwin.o \
35 $(OBJS)\mmediadll_vidwin.o \
36 $(OBJS)\mmediadll_cdbase.o \
37 $(OBJS)\mmediadll_g711.o \
38 $(OBJS)\mmediadll_g721.o \
39 $(OBJS)\mmediadll_g723_24.o \
40 $(OBJS)\mmediadll_g723_40.o \
41 $(OBJS)\mmediadll_g72x.o \
42 $(OBJS)\mmediadll_sndaiff.o \
43 $(OBJS)\mmediadll_sndbase.o \
44 $(OBJS)\mmediadll_sndcodec.o \
45 $(OBJS)\mmediadll_sndcpcm.o \
46 $(OBJS)\mmediadll_sndfile.o \
47 $(OBJS)\mmediadll_sndg72x.o \
48 $(OBJS)\mmediadll_sndmsad.o \
49 $(OBJS)\mmediadll_sndpcm.o \
50 $(OBJS)\mmediadll_sndulaw.o \
51 $(OBJS)\mmediadll_sndwav.o \
52 $(OBJS)\mmediadll_vidbase.o
53 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
54 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
55 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
56 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
57 -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) -W -Wall \
58 -I..\..\src\mmedia\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
59 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
61 $(OBJS)\mmedialib_dummy.o \
62 $(OBJS)\mmedialib_cdwin.o \
63 $(OBJS)\mmedialib_sndwin.o \
64 $(OBJS)\mmedialib_vidwin.o \
65 $(OBJS)\mmedialib_cdbase.o \
66 $(OBJS)\mmedialib_g711.o \
67 $(OBJS)\mmedialib_g721.o \
68 $(OBJS)\mmedialib_g723_24.o \
69 $(OBJS)\mmedialib_g723_40.o \
70 $(OBJS)\mmedialib_g72x.o \
71 $(OBJS)\mmedialib_sndaiff.o \
72 $(OBJS)\mmedialib_sndbase.o \
73 $(OBJS)\mmedialib_sndcodec.o \
74 $(OBJS)\mmedialib_sndcpcm.o \
75 $(OBJS)\mmedialib_sndfile.o \
76 $(OBJS)\mmedialib_sndg72x.o \
77 $(OBJS)\mmedialib_sndmsad.o \
78 $(OBJS)\mmedialib_sndpcm.o \
79 $(OBJS)\mmedialib_sndulaw.o \
80 $(OBJS)\mmedialib_sndwav.o \
81 $(OBJS)\mmedialib_vidbase.o
83 ### Conditionally set variables: ###
85 ifeq ($(GCC_VERSION),2.95)
86 GCCFLAGS = -fvtable-thunks
94 ifeq ($(OFFICIAL_BUILD),0)
95 VENDORTAG = _$(VENDOR)
97 ifeq ($(OFFICIAL_BUILD),1)
100 ifeq ($(BUILD),debug)
101 ifeq ($(DEBUG_FLAG),default)
105 ifeq ($(DEBUG_FLAG),1)
123 ifeq ($(MONOLITHIC),0)
126 ifeq ($(MONOLITHIC),1)
130 __mmediadll___depname = \
131 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll
134 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
136 ifeq ($(BUILD),debug)
137 ifeq ($(DEBUG_FLAG),default)
138 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
141 ifeq ($(DEBUG_FLAG),1)
142 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
144 ifeq ($(USE_EXCEPTIONS),0)
145 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
148 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
150 ifeq ($(USE_THREADS),0)
151 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
154 __UNICODE_DEFINE_p_1 = --define _UNICODE
157 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
159 ifeq ($(MONOLITHIC),1)
161 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
164 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
167 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
170 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
173 __UNICOWS_LIB_p = -lunicows
175 ifeq ($(MONOLITHIC),0)
177 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
179 ifeq ($(MONOLITHIC),0)
181 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
184 __mmedialib___depname = \
185 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
187 ifeq ($(BUILD),debug)
188 ifeq ($(DEBUG_INFO),default)
192 ifeq ($(BUILD),release)
193 ifeq ($(DEBUG_INFO),default)
197 ifeq ($(DEBUG_INFO),0)
200 ifeq ($(DEBUG_INFO),1)
203 ifeq ($(BUILD),debug)
206 ifeq ($(BUILD),release)
209 ifeq ($(USE_THREADS),0)
212 ifeq ($(USE_THREADS),1)
213 __THREADSFLAG = -mthreads
216 __RTTIFLAG = -fno-rtti
221 ifeq ($(USE_EXCEPTIONS),0)
222 __EXCEPTIONSFLAG = -fno-exceptions
224 ifeq ($(USE_EXCEPTIONS),1)
228 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
230 ifeq ($(BUILD),debug)
231 ifeq ($(DEBUG_FLAG),default)
232 __DEBUG_DEFINE_p = -D__WXDEBUG__
235 ifeq ($(DEBUG_FLAG),1)
236 __DEBUG_DEFINE_p = -D__WXDEBUG__
238 ifeq ($(USE_EXCEPTIONS),0)
239 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
242 __RTTI_DEFINE_p = -DwxNO_RTTI
244 ifeq ($(USE_THREADS),0)
245 __THREAD_DEFINE_p = -DwxNO_THREADS
248 __UNICODE_DEFINE_p = -D_UNICODE
251 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
257 -if not exist $(OBJS) mkdir $(OBJS)
261 all: $(__mmediadll___depname) $(__mmedialib___depname)
264 -if exist $(OBJS)\*.o del $(OBJS)\*.o
265 -if exist $(OBJS)\*.d del $(OBJS)\*.d
266 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll
267 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
268 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
271 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_version_rc.o
272 $(CXX) -shared -fPIC -o $@ $(MMEDIADLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
276 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a: $(MMEDIALIB_OBJECTS)
278 ar rcu $@ $(MMEDIALIB_OBJECTS)
282 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
283 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
285 $(OBJS)\mmediadll_version_rc.o: ../../src/mmedia/../../../src/msw/version.rc
286 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir ../../src/mmedia/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG)
288 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia/cdwin.cpp
289 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
291 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia/sndwin.cpp
292 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
294 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia/vidwin.cpp
295 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
297 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia/cdbase.cpp
298 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
300 $(OBJS)\mmediadll_g711.o: ../../src/mmedia/g711.cpp
301 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
303 $(OBJS)\mmediadll_g721.o: ../../src/mmedia/g721.cpp
304 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
306 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia/g723_24.cpp
307 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
309 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia/g723_40.cpp
310 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
312 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia/g72x.cpp
313 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
315 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia/sndaiff.cpp
316 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
318 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia/sndbase.cpp
319 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
321 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia/sndcodec.cpp
322 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
324 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
325 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
327 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia/sndfile.cpp
328 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
330 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia/sndg72x.cpp
331 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
333 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia/sndmsad.cpp
334 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
336 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia/sndpcm.cpp
337 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
339 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia/sndulaw.cpp
340 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
342 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia/sndwav.cpp
343 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
345 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia/vidbase.cpp
346 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
348 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
349 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
351 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia/cdwin.cpp
352 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
354 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia/sndwin.cpp
355 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
357 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia/vidwin.cpp
358 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
360 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia/cdbase.cpp
361 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
363 $(OBJS)\mmedialib_g711.o: ../../src/mmedia/g711.cpp
364 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
366 $(OBJS)\mmedialib_g721.o: ../../src/mmedia/g721.cpp
367 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
369 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia/g723_24.cpp
370 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
372 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia/g723_40.cpp
373 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
375 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia/g72x.cpp
376 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
378 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia/sndaiff.cpp
379 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
381 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia/sndbase.cpp
382 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
384 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia/sndcodec.cpp
385 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
387 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
388 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
390 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia/sndfile.cpp
391 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
393 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia/sndg72x.cpp
394 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
396 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia/sndmsad.cpp
397 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
399 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia/sndpcm.cpp
400 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
402 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia/sndulaw.cpp
403 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
405 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia/sndwav.cpp
406 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
408 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia/vidbase.cpp
409 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
414 # Dependencies tracking: