1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 MMEDIADLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
24 -Wall -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\mmediadll_dummy.o \
28 $(OBJS)\mmediadll_cdwin.o \
29 $(OBJS)\mmediadll_sndwin.o \
30 $(OBJS)\mmediadll_vidwin.o \
31 $(OBJS)\mmediadll_cdbase.o \
32 $(OBJS)\mmediadll_g711.o \
33 $(OBJS)\mmediadll_g721.o \
34 $(OBJS)\mmediadll_g723_24.o \
35 $(OBJS)\mmediadll_g723_40.o \
36 $(OBJS)\mmediadll_g72x.o \
37 $(OBJS)\mmediadll_sndaiff.o \
38 $(OBJS)\mmediadll_sndbase.o \
39 $(OBJS)\mmediadll_sndcodec.o \
40 $(OBJS)\mmediadll_sndcpcm.o \
41 $(OBJS)\mmediadll_sndfile.o \
42 $(OBJS)\mmediadll_sndg72x.o \
43 $(OBJS)\mmediadll_sndmsad.o \
44 $(OBJS)\mmediadll_sndpcm.o \
45 $(OBJS)\mmediadll_sndulaw.o \
46 $(OBJS)\mmediadll_sndwav.o \
47 $(OBJS)\mmediadll_vidbase.o
48 MMEDIALIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
51 -Wall -I..\..\src\mmedia\..\..\include $(__EXCEPTIONSFLAG) \
52 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
54 $(OBJS)\mmedialib_dummy.o \
55 $(OBJS)\mmedialib_cdwin.o \
56 $(OBJS)\mmedialib_sndwin.o \
57 $(OBJS)\mmedialib_vidwin.o \
58 $(OBJS)\mmedialib_cdbase.o \
59 $(OBJS)\mmedialib_g711.o \
60 $(OBJS)\mmedialib_g721.o \
61 $(OBJS)\mmedialib_g723_24.o \
62 $(OBJS)\mmedialib_g723_40.o \
63 $(OBJS)\mmedialib_g72x.o \
64 $(OBJS)\mmedialib_sndaiff.o \
65 $(OBJS)\mmedialib_sndbase.o \
66 $(OBJS)\mmedialib_sndcodec.o \
67 $(OBJS)\mmedialib_sndcpcm.o \
68 $(OBJS)\mmedialib_sndfile.o \
69 $(OBJS)\mmedialib_sndg72x.o \
70 $(OBJS)\mmedialib_sndmsad.o \
71 $(OBJS)\mmedialib_sndpcm.o \
72 $(OBJS)\mmedialib_sndulaw.o \
73 $(OBJS)\mmedialib_sndwav.o \
74 $(OBJS)\mmedialib_vidbase.o
76 ### Conditionally set variables: ###
78 ifeq ($(GCC_VERSION),2.95)
79 GCCFLAGS = -fvtable-thunks
87 ifeq ($(OFFICIAL_BUILD),0)
88 VENDORTAG = _$(VENDOR)
90 ifeq ($(OFFICIAL_BUILD),1)
94 ifeq ($(DEBUG_FLAG),default)
98 ifeq ($(DEBUG_FLAG),1)
110 ifeq ($(MONOLITHIC),0)
113 ifeq ($(MONOLITHIC),1)
117 __mmediadll___depname = \
118 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll
120 ifeq ($(MONOLITHIC),1)
122 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
125 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
128 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
131 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
134 __UNICOWS_LIB_p = -lunicows
136 ifeq ($(MONOLITHIC),0)
138 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
140 ifeq ($(MONOLITHIC),0)
142 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
145 __mmedialib___depname = \
146 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a
148 ifeq ($(BUILD),debug)
149 ifeq ($(DEBUG_INFO),default)
153 ifeq ($(BUILD),release)
154 ifeq ($(DEBUG_INFO),default)
158 ifeq ($(DEBUG_INFO),0)
161 ifeq ($(DEBUG_INFO),1)
164 ifeq ($(BUILD),debug)
167 ifeq ($(BUILD),release)
170 ifeq ($(USE_EXCEPTIONS),0)
171 __EXCEPTIONSFLAG = -fno-rtti
173 ifeq ($(USE_EXCEPTIONS),1)
176 ifeq ($(USE_EXCEPTIONS),0)
177 __EXCEPTIONSFLAG_0 = -fno-exceptions
179 ifeq ($(USE_EXCEPTIONS),1)
183 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
185 ifeq ($(BUILD),debug)
186 ifeq ($(DEBUG_FLAG),default)
187 __DEBUG_DEFINE_p = -D__WXDEBUG__
190 ifeq ($(DEBUG_FLAG),1)
191 __DEBUG_DEFINE_p = -D__WXDEBUG__
194 __UNICODE_DEFINE_p = -D_UNICODE
197 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\gcc_lib$(CFG)
200 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\gcc_dll$(CFG)
206 -if not exist $(OBJS) mkdir $(OBJS)
210 all: $(__mmediadll___depname) $(__mmedialib___depname)
213 -if exist $(OBJS)\*.o del $(OBJS)\*.o
214 -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
215 -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
216 -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
219 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS)
220 $(CXX) -shared -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)
224 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.a: $(MMEDIALIB_OBJECTS)
226 ar rcu $@ $(MMEDIALIB_OBJECTS)
230 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
231 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
233 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia/cdwin.cpp
234 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
236 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia/sndwin.cpp
237 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
239 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia/vidwin.cpp
240 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
242 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia/cdbase.cpp
243 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
245 $(OBJS)\mmediadll_g711.o: ../../src/mmedia/g711.cpp
246 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
248 $(OBJS)\mmediadll_g721.o: ../../src/mmedia/g721.cpp
249 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
251 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia/g723_24.cpp
252 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
254 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia/g723_40.cpp
255 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
257 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia/g72x.cpp
258 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
260 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia/sndaiff.cpp
261 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
263 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia/sndbase.cpp
264 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
266 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia/sndcodec.cpp
267 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
269 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
270 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
272 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia/sndfile.cpp
273 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
275 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia/sndg72x.cpp
276 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
278 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia/sndmsad.cpp
279 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
281 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia/sndpcm.cpp
282 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
284 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia/sndulaw.cpp
285 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
287 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia/sndwav.cpp
288 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
290 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia/vidbase.cpp
291 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
293 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia/../../../src/msw/dummy.cpp
294 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
296 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia/cdwin.cpp
297 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
299 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia/sndwin.cpp
300 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
302 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia/vidwin.cpp
303 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
305 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia/cdbase.cpp
306 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
308 $(OBJS)\mmedialib_g711.o: ../../src/mmedia/g711.cpp
309 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
311 $(OBJS)\mmedialib_g721.o: ../../src/mmedia/g721.cpp
312 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
314 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia/g723_24.cpp
315 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
317 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia/g723_40.cpp
318 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
320 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia/g72x.cpp
321 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
323 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia/sndaiff.cpp
324 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
326 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia/sndbase.cpp
327 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
329 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia/sndcodec.cpp
330 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
332 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia/sndcpcm.cpp
333 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
335 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia/sndfile.cpp
336 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
338 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia/sndg72x.cpp
339 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
341 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia/sndmsad.cpp
342 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
344 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia/sndpcm.cpp
345 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
347 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia/sndulaw.cpp
348 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
350 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia/sndwav.cpp
351 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
353 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia/vidbase.cpp
354 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<