1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
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) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) -W \
25 -Wall -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\mmediadll_dummy.o \
30 $(OBJS)\mmediadll_cdwin.o \
31 $(OBJS)\mmediadll_sndwin.o \
32 $(OBJS)\mmediadll_vidwin.o \
33 $(OBJS)\mmediadll_cdbase.o \
34 $(OBJS)\mmediadll_g711.o \
35 $(OBJS)\mmediadll_g721.o \
36 $(OBJS)\mmediadll_g723_24.o \
37 $(OBJS)\mmediadll_g723_40.o \
38 $(OBJS)\mmediadll_g72x.o \
39 $(OBJS)\mmediadll_sndaiff.o \
40 $(OBJS)\mmediadll_sndbase.o \
41 $(OBJS)\mmediadll_sndcodec.o \
42 $(OBJS)\mmediadll_sndcpcm.o \
43 $(OBJS)\mmediadll_sndfile.o \
44 $(OBJS)\mmediadll_sndg72x.o \
45 $(OBJS)\mmediadll_sndmsad.o \
46 $(OBJS)\mmediadll_sndpcm.o \
47 $(OBJS)\mmediadll_sndulaw.o \
48 $(OBJS)\mmediadll_sndwav.o \
49 $(OBJS)\mmediadll_vidbase.o
50 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
51 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
52 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) -W \
53 -Wall -I..\..\src\mmedia\..\..\include $(__EXCEPTIONSFLAG) \
54 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
56 $(OBJS)\mmedialib_dummy.o \
57 $(OBJS)\mmedialib_cdwin.o \
58 $(OBJS)\mmedialib_sndwin.o \
59 $(OBJS)\mmedialib_vidwin.o \
60 $(OBJS)\mmedialib_cdbase.o \
61 $(OBJS)\mmedialib_g711.o \
62 $(OBJS)\mmedialib_g721.o \
63 $(OBJS)\mmedialib_g723_24.o \
64 $(OBJS)\mmedialib_g723_40.o \
65 $(OBJS)\mmedialib_g72x.o \
66 $(OBJS)\mmedialib_sndaiff.o \
67 $(OBJS)\mmedialib_sndbase.o \
68 $(OBJS)\mmedialib_sndcodec.o \
69 $(OBJS)\mmedialib_sndcpcm.o \
70 $(OBJS)\mmedialib_sndfile.o \
71 $(OBJS)\mmedialib_sndg72x.o \
72 $(OBJS)\mmedialib_sndmsad.o \
73 $(OBJS)\mmedialib_sndpcm.o \
74 $(OBJS)\mmedialib_sndulaw.o \
75 $(OBJS)\mmedialib_sndwav.o \
76 $(OBJS)\mmedialib_vidbase.o
78 ### Conditionally set variables: ###
80 ifeq ($(GCC_VERSION),2.95)
81 GCCFLAGS = -fvtable-thunks
89 ifeq ($(OFFICIAL_BUILD),0)
90 VENDORTAG = _$(VENDOR)
92 ifeq ($(OFFICIAL_BUILD),1)
96 ifeq ($(DEBUG_FLAG),default)
100 ifeq ($(DEBUG_FLAG),1)
118 ifeq ($(MONOLITHIC),0)
121 ifeq ($(MONOLITHIC),1)
125 __mmediadll___depname = \
126 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll
128 ifeq ($(MONOLITHIC),1)
130 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
133 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
136 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
139 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
142 __UNICOWS_LIB_p = -lunicows
144 ifeq ($(MONOLITHIC),0)
146 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
148 ifeq ($(MONOLITHIC),0)
150 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
153 __mmedialib___depname = \
154 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
156 ifeq ($(BUILD),debug)
157 ifeq ($(DEBUG_INFO),default)
161 ifeq ($(BUILD),release)
162 ifeq ($(DEBUG_INFO),default)
166 ifeq ($(DEBUG_INFO),0)
169 ifeq ($(DEBUG_INFO),1)
172 ifeq ($(BUILD),debug)
175 ifeq ($(BUILD),release)
178 ifeq ($(USE_EXCEPTIONS),0)
179 __EXCEPTIONSFLAG = -fno-rtti
181 ifeq ($(USE_EXCEPTIONS),1)
184 ifeq ($(USE_EXCEPTIONS),0)
185 __EXCEPTIONSFLAG_0 = -fno-exceptions
187 ifeq ($(USE_EXCEPTIONS),1)
191 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
193 ifeq ($(BUILD),debug)
194 ifeq ($(DEBUG_FLAG),default)
195 __DEBUG_DEFINE_p = -D__WXDEBUG__
198 ifeq ($(DEBUG_FLAG),1)
199 __DEBUG_DEFINE_p = -D__WXDEBUG__
202 __UNICODE_DEFINE_p = -D_UNICODE
208 -if not exist $(OBJS) mkdir $(OBJS)
212 all: $(__mmediadll___depname) $(__mmedialib___depname)
215 -if exist $(OBJS)\*.o del $(OBJS)\*.o
216 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll
217 -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
218 -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
221 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS)
222 $(CXX) -shared -fPIC -o $@ $(MMEDIADLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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)
226 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a: $(MMEDIALIB_OBJECTS)
228 ar rcu $@ $(MMEDIALIB_OBJECTS)
232 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
233 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
235 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia/cdwin.cpp
236 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
238 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia/sndwin.cpp
239 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
241 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia/vidwin.cpp
242 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
244 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia/cdbase.cpp
245 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
247 $(OBJS)\mmediadll_g711.o: ../../src/mmedia/g711.cpp
248 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
250 $(OBJS)\mmediadll_g721.o: ../../src/mmedia/g721.cpp
251 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
253 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia/g723_24.cpp
254 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
256 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia/g723_40.cpp
257 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
259 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia/g72x.cpp
260 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
262 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia/sndaiff.cpp
263 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
265 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia/sndbase.cpp
266 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
268 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia/sndcodec.cpp
269 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
271 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
272 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
274 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia/sndfile.cpp
275 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
277 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia/sndg72x.cpp
278 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
280 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia/sndmsad.cpp
281 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
283 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia/sndpcm.cpp
284 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
286 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia/sndulaw.cpp
287 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
289 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia/sndwav.cpp
290 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
292 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia/vidbase.cpp
293 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
295 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
296 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
298 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia/cdwin.cpp
299 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
301 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia/sndwin.cpp
302 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
304 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia/vidwin.cpp
305 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
307 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia/cdbase.cpp
308 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
310 $(OBJS)\mmedialib_g711.o: ../../src/mmedia/g711.cpp
311 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
313 $(OBJS)\mmedialib_g721.o: ../../src/mmedia/g721.cpp
314 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
316 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia/g723_24.cpp
317 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
319 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia/g723_40.cpp
320 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
322 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia/g72x.cpp
323 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
325 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia/sndaiff.cpp
326 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
328 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia/sndbase.cpp
329 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
331 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia/sndcodec.cpp
332 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
334 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
335 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
337 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia/sndfile.cpp
338 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
340 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia/sndg72x.cpp
341 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
343 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia/sndmsad.cpp
344 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
346 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia/sndpcm.cpp
347 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
349 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia/sndulaw.cpp
350 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
352 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia/sndwav.cpp
353 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
355 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia/vidbase.cpp
356 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<