1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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)5
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_VERSION_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 $(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
260 -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
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
264 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_version_rc.o
265 $(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)
269 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a: $(MMEDIALIB_OBJECTS)
271 ar rcu $@ $(MMEDIALIB_OBJECTS)
275 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
276 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
278 $(OBJS)\mmediadll_version_rc.o: ../../src/mmedia/../../../src/msw/version.rc
279 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG)
281 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia/cdwin.cpp
282 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
284 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia/sndwin.cpp
285 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
287 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia/vidwin.cpp
288 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
290 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia/cdbase.cpp
291 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
293 $(OBJS)\mmediadll_g711.o: ../../src/mmedia/g711.cpp
294 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
296 $(OBJS)\mmediadll_g721.o: ../../src/mmedia/g721.cpp
297 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
299 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia/g723_24.cpp
300 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
302 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia/g723_40.cpp
303 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
305 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia/g72x.cpp
306 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
308 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia/sndaiff.cpp
309 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
311 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia/sndbase.cpp
312 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
314 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia/sndcodec.cpp
315 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
317 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
318 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
320 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia/sndfile.cpp
321 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
323 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia/sndg72x.cpp
324 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
326 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia/sndmsad.cpp
327 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
329 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia/sndpcm.cpp
330 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
332 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia/sndulaw.cpp
333 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
335 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia/sndwav.cpp
336 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
338 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia/vidbase.cpp
339 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
341 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
342 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
344 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia/cdwin.cpp
345 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
347 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia/sndwin.cpp
348 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
350 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia/vidwin.cpp
351 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
353 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia/cdbase.cpp
354 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
356 $(OBJS)\mmedialib_g711.o: ../../src/mmedia/g711.cpp
357 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
359 $(OBJS)\mmedialib_g721.o: ../../src/mmedia/g721.cpp
360 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
362 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia/g723_24.cpp
363 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
365 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia/g723_40.cpp
366 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
368 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia/g72x.cpp
369 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
371 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia/sndaiff.cpp
372 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
374 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia/sndbase.cpp
375 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
377 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia/sndcodec.cpp
378 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
380 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
381 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
383 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia/sndfile.cpp
384 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
386 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia/sndg72x.cpp
387 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
389 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia/sndmsad.cpp
390 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
392 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia/sndpcm.cpp
393 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
395 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia/sndulaw.cpp
396 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
398 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia/sndwav.cpp
399 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
401 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia/vidbase.cpp
402 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<