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) \
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) \
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
156 ifeq ($(MONOLITHIC),1)
158 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
161 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
164 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
167 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
170 __UNICOWS_LIB_p = -lunicows
172 ifeq ($(MONOLITHIC),0)
174 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
176 ifeq ($(MONOLITHIC),0)
178 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
181 __mmedialib___depname = \
182 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
184 ifeq ($(BUILD),debug)
185 ifeq ($(DEBUG_INFO),default)
189 ifeq ($(BUILD),release)
190 ifeq ($(DEBUG_INFO),default)
194 ifeq ($(DEBUG_INFO),0)
197 ifeq ($(DEBUG_INFO),1)
200 ifeq ($(BUILD),debug)
203 ifeq ($(BUILD),release)
206 ifeq ($(USE_THREADS),0)
209 ifeq ($(USE_THREADS),1)
210 __THREADSFLAG = -mthreads
213 __RTTIFLAG = -fno-rtti
218 ifeq ($(USE_EXCEPTIONS),0)
219 __EXCEPTIONSFLAG = -fno-exceptions
221 ifeq ($(USE_EXCEPTIONS),1)
225 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
227 ifeq ($(BUILD),debug)
228 ifeq ($(DEBUG_FLAG),default)
229 __DEBUG_DEFINE_p = -D__WXDEBUG__
232 ifeq ($(DEBUG_FLAG),1)
233 __DEBUG_DEFINE_p = -D__WXDEBUG__
235 ifeq ($(USE_EXCEPTIONS),0)
236 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
239 __RTTI_DEFINE_p = -DwxNO_RTTI
241 ifeq ($(USE_THREADS),0)
242 __THREAD_DEFINE_p = -DwxNO_THREADS
245 __UNICODE_DEFINE_p = -D_UNICODE
251 -if not exist $(OBJS) mkdir $(OBJS)
255 all: $(__mmediadll___depname) $(__mmedialib___depname)
258 -if exist $(OBJS)\*.o del $(OBJS)\*.o
259 -if exist $(OBJS)\*.d del $(OBJS)\*.d
260 -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
261 -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
262 -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
265 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_version_rc.o
266 $(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)
270 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a: $(MMEDIALIB_OBJECTS)
272 ar rcu $@ $(MMEDIALIB_OBJECTS)
276 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
277 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
279 $(OBJS)\mmediadll_version_rc.o: ../../src/mmedia/../../../src/msw/version.rc
280 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) --include-dir ../../src/mmedia/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG)
282 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia/cdwin.cpp
283 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
285 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia/sndwin.cpp
286 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
288 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia/vidwin.cpp
289 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
291 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia/cdbase.cpp
292 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
294 $(OBJS)\mmediadll_g711.o: ../../src/mmedia/g711.cpp
295 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
297 $(OBJS)\mmediadll_g721.o: ../../src/mmedia/g721.cpp
298 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
300 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia/g723_24.cpp
301 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
303 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia/g723_40.cpp
304 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
306 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia/g72x.cpp
307 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
309 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia/sndaiff.cpp
310 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
312 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia/sndbase.cpp
313 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
315 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia/sndcodec.cpp
316 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
318 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
319 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
321 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia/sndfile.cpp
322 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
324 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia/sndg72x.cpp
325 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
327 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia/sndmsad.cpp
328 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
330 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia/sndpcm.cpp
331 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
333 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia/sndulaw.cpp
334 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
336 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia/sndwav.cpp
337 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
339 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia/vidbase.cpp
340 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $(CPPDEPS) $<
342 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
343 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
345 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia/cdwin.cpp
346 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
348 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia/sndwin.cpp
349 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
351 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia/vidwin.cpp
352 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
354 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia/cdbase.cpp
355 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
357 $(OBJS)\mmedialib_g711.o: ../../src/mmedia/g711.cpp
358 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
360 $(OBJS)\mmedialib_g721.o: ../../src/mmedia/g721.cpp
361 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
363 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia/g723_24.cpp
364 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
366 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia/g723_40.cpp
367 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
369 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia/g72x.cpp
370 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
372 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia/sndaiff.cpp
373 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
375 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia/sndbase.cpp
376 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
378 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia/sndcodec.cpp
379 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
381 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
382 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
384 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia/sndfile.cpp
385 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
387 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia/sndg72x.cpp
388 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
390 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia/sndmsad.cpp
391 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
393 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia/sndpcm.cpp
394 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
396 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia/sndulaw.cpp
397 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
399 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia/sndwav.cpp
400 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
402 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia/vidbase.cpp
403 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $(CPPDEPS) $<
408 # Dependencies tracking: