1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 ..\..\src\mmedia\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 MMEDIADLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
18 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
19 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(LIBDIRNAME) \
20 -I..\..\src\mmedia\..\..\..\src\tiff -I..\..\src\mmedia\..\..\..\src\jpeg \
21 -I..\..\src\mmedia\..\..\..\src\png -I..\..\src\mmedia\..\..\..\src\zlib \
22 -I..\..\src\mmedia\..\..\..\src\regex \
23 -I..\..\src\mmedia\..\..\..\src\expat\lib \
24 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
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 = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(LIBDIRNAME) \
51 -I..\..\src\mmedia\..\..\..\src\tiff -I..\..\src\mmedia\..\..\..\src\jpeg \
52 -I..\..\src\mmedia\..\..\..\src\png -I..\..\src\mmedia\..\..\..\src\zlib \
53 -I..\..\src\mmedia\..\..\..\src\regex \
54 -I..\..\src\mmedia\..\..\..\src\expat\lib \
55 -I..\..\src\mmedia\..\..\include $(CXXFLAGS)
57 $(OBJS)\mmedialib_dummy.o \
58 $(OBJS)\mmedialib_cdwin.o \
59 $(OBJS)\mmedialib_sndwin.o \
60 $(OBJS)\mmedialib_vidwin.o \
61 $(OBJS)\mmedialib_cdbase.o \
62 $(OBJS)\mmedialib_g711.o \
63 $(OBJS)\mmedialib_g721.o \
64 $(OBJS)\mmedialib_g723_24.o \
65 $(OBJS)\mmedialib_g723_40.o \
66 $(OBJS)\mmedialib_g72x.o \
67 $(OBJS)\mmedialib_sndaiff.o \
68 $(OBJS)\mmedialib_sndbase.o \
69 $(OBJS)\mmedialib_sndcodec.o \
70 $(OBJS)\mmedialib_sndcpcm.o \
71 $(OBJS)\mmedialib_sndfile.o \
72 $(OBJS)\mmedialib_sndg72x.o \
73 $(OBJS)\mmedialib_sndmsad.o \
74 $(OBJS)\mmedialib_sndpcm.o \
75 $(OBJS)\mmedialib_sndulaw.o \
76 $(OBJS)\mmedialib_sndwav.o \
77 $(OBJS)\mmedialib_vidbase.o
79 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
81 ### Conditionally set variables: ###
83 ifeq ($(GCC_VERSION),2.95)
84 GCCFLAGS = -fvtable-thunks
92 ifeq ($(OFFICIAL_BUILD),0)
93 VENDORTAG = _$(VENDOR)
95 ifeq ($(OFFICIAL_BUILD),1)
99 ifeq ($(DEBUG_FLAG),default)
103 ifeq ($(DEBUG_FLAG),1)
115 ifeq ($(BUILD),debug)
116 ifeq ($(DEBUG_INFO),default)
120 ifeq ($(BUILD),release)
121 ifeq ($(DEBUG_INFO),default)
125 ifeq ($(DEBUG_INFO),0)
128 ifeq ($(DEBUG_INFO),1)
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_FLAG),default)
133 __DEBUG_DEFINE_p = -D__WXDEBUG__
136 ifeq ($(DEBUG_FLAG),1)
137 __DEBUG_DEFINE_p = -D__WXDEBUG__
140 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
143 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
146 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
148 ifeq ($(BUILD),debug)
151 ifeq ($(BUILD),release)
155 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
158 __UNICOWS_LIB_p = -lunicows
160 ifeq ($(MONOLITHIC),0)
161 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
163 ifeq ($(MONOLITHIC),0)
165 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
167 ifeq ($(MONOLITHIC),1)
169 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
172 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
175 __mmediadll___depname = \
176 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_gcc$(VENDORTAG).dll
179 __mmedialib___depname = \
180 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a
186 -if not exist $(OBJS) mkdir $(OBJS)
190 all: $(__mmediadll___depname) $(__mmedialib___depname)
192 $(OBJS)\mmediadll_cdbase.o: ../../src/mmedia\cdbase.cpp
193 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
195 $(OBJS)\mmediadll_cdwin.o: ../../src/mmedia\cdwin.cpp
196 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
198 $(OBJS)\mmediadll_dummy.o: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
199 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
201 $(OBJS)\mmediadll_g711.o: ../../src/mmedia\g711.cpp
202 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
204 $(OBJS)\mmediadll_g721.o: ../../src/mmedia\g721.cpp
205 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
207 $(OBJS)\mmediadll_g723_24.o: ../../src/mmedia\g723_24.cpp
208 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
210 $(OBJS)\mmediadll_g723_40.o: ../../src/mmedia\g723_40.cpp
211 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
213 $(OBJS)\mmediadll_g72x.o: ../../src/mmedia\g72x.cpp
214 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
216 $(OBJS)\mmediadll_sndaiff.o: ../../src/mmedia\sndaiff.cpp
217 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
219 $(OBJS)\mmediadll_sndbase.o: ../../src/mmedia\sndbase.cpp
220 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
222 $(OBJS)\mmediadll_sndcodec.o: ../../src/mmedia\sndcodec.cpp
223 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
225 $(OBJS)\mmediadll_sndcpcm.o: ../../src/mmedia\sndcpcm.cpp
226 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
228 $(OBJS)\mmediadll_sndfile.o: ../../src/mmedia\sndfile.cpp
229 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
231 $(OBJS)\mmediadll_sndg72x.o: ../../src/mmedia\sndg72x.cpp
232 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
234 $(OBJS)\mmediadll_sndmsad.o: ../../src/mmedia\sndmsad.cpp
235 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
237 $(OBJS)\mmediadll_sndpcm.o: ../../src/mmedia\sndpcm.cpp
238 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
240 $(OBJS)\mmediadll_sndulaw.o: ../../src/mmedia\sndulaw.cpp
241 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
243 $(OBJS)\mmediadll_sndwav.o: ../../src/mmedia\sndwav.cpp
244 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
246 $(OBJS)\mmediadll_sndwin.o: ../../src/mmedia\sndwin.cpp
247 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
249 $(OBJS)\mmediadll_vidbase.o: ../../src/mmedia\vidbase.cpp
250 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
252 $(OBJS)\mmediadll_vidwin.o: ../../src/mmedia\vidwin.cpp
253 $(CXX) -c -o $@ $(MMEDIADLL_CXXFLAGS) $<
255 $(OBJS)\mmedialib_cdbase.o: ../../src/mmedia\cdbase.cpp
256 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
258 $(OBJS)\mmedialib_cdwin.o: ../../src/mmedia\cdwin.cpp
259 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
261 $(OBJS)\mmedialib_dummy.o: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
262 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
264 $(OBJS)\mmedialib_g711.o: ../../src/mmedia\g711.cpp
265 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
267 $(OBJS)\mmedialib_g721.o: ../../src/mmedia\g721.cpp
268 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
270 $(OBJS)\mmedialib_g723_24.o: ../../src/mmedia\g723_24.cpp
271 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
273 $(OBJS)\mmedialib_g723_40.o: ../../src/mmedia\g723_40.cpp
274 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
276 $(OBJS)\mmedialib_g72x.o: ../../src/mmedia\g72x.cpp
277 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
279 $(OBJS)\mmedialib_sndaiff.o: ../../src/mmedia\sndaiff.cpp
280 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
282 $(OBJS)\mmedialib_sndbase.o: ../../src/mmedia\sndbase.cpp
283 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
285 $(OBJS)\mmedialib_sndcodec.o: ../../src/mmedia\sndcodec.cpp
286 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
288 $(OBJS)\mmedialib_sndcpcm.o: ../../src/mmedia\sndcpcm.cpp
289 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
291 $(OBJS)\mmedialib_sndfile.o: ../../src/mmedia\sndfile.cpp
292 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
294 $(OBJS)\mmedialib_sndg72x.o: ../../src/mmedia\sndg72x.cpp
295 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
297 $(OBJS)\mmedialib_sndmsad.o: ../../src/mmedia\sndmsad.cpp
298 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
300 $(OBJS)\mmedialib_sndpcm.o: ../../src/mmedia\sndpcm.cpp
301 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
303 $(OBJS)\mmedialib_sndulaw.o: ../../src/mmedia\sndulaw.cpp
304 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
306 $(OBJS)\mmedialib_sndwav.o: ../../src/mmedia\sndwav.cpp
307 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
309 $(OBJS)\mmedialib_sndwin.o: ../../src/mmedia\sndwin.cpp
310 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
312 $(OBJS)\mmedialib_vidbase.o: ../../src/mmedia\vidbase.cpp
313 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
315 $(OBJS)\mmedialib_vidwin.o: ../../src/mmedia\vidwin.cpp
316 $(CXX) -c -o $@ $(MMEDIALIB_CXXFLAGS) $<
319 -if exist $(OBJS)\*.o del $(OBJS)\*.o
320 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_gcc$(VENDORTAG).dll
321 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a
322 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a
325 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_gcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS)
326 $(CXX) -shared -o $@ $(MMEDIADLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
330 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.a: $(MMEDIALIB_OBJECTS)
332 ar rcu $@ $(MMEDIALIB_OBJECTS)