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 # =========================================================================
11 !include ../../../build/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
24 ..\..\src\mmedia\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 MMEDIADLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
26 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(LIBDIRNAME) \
28 -I..\..\src\mmedia\..\..\..\src\tiff -I..\..\src\mmedia\..\..\..\src\jpeg \
29 -I..\..\src\mmedia\..\..\..\src\png -I..\..\src\mmedia\..\..\..\src\zlib \
30 -I..\..\src\mmedia\..\..\..\src\regex \
31 -I..\..\src\mmedia\..\..\..\src\expat\lib \
32 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
33 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_mmediadll.csm
35 $(OBJS)\mmediadll_dummy.obj \
36 $(OBJS)\mmediadll_cdwin.obj \
37 $(OBJS)\mmediadll_sndwin.obj \
38 $(OBJS)\mmediadll_vidwin.obj \
39 $(OBJS)\mmediadll_cdbase.obj \
40 $(OBJS)\mmediadll_g711.obj \
41 $(OBJS)\mmediadll_g721.obj \
42 $(OBJS)\mmediadll_g723_24.obj \
43 $(OBJS)\mmediadll_g723_40.obj \
44 $(OBJS)\mmediadll_g72x.obj \
45 $(OBJS)\mmediadll_sndaiff.obj \
46 $(OBJS)\mmediadll_sndbase.obj \
47 $(OBJS)\mmediadll_sndcodec.obj \
48 $(OBJS)\mmediadll_sndcpcm.obj \
49 $(OBJS)\mmediadll_sndfile.obj \
50 $(OBJS)\mmediadll_sndg72x.obj \
51 $(OBJS)\mmediadll_sndmsad.obj \
52 $(OBJS)\mmediadll_sndpcm.obj \
53 $(OBJS)\mmediadll_sndulaw.obj \
54 $(OBJS)\mmediadll_sndwav.obj \
55 $(OBJS)\mmediadll_vidbase.obj
56 MMEDIALIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
57 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
58 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(LIBDIRNAME) \
59 -I..\..\src\mmedia\..\..\..\src\tiff -I..\..\src\mmedia\..\..\..\src\jpeg \
60 -I..\..\src\mmedia\..\..\..\src\png -I..\..\src\mmedia\..\..\..\src\zlib \
61 -I..\..\src\mmedia\..\..\..\src\regex \
62 -I..\..\src\mmedia\..\..\..\src\expat\lib \
63 -I..\..\src\mmedia\..\..\include $(CXXFLAGS) -Hu \
64 -H=$(OBJS)\wxprec_mmedialib.csm
66 $(OBJS)\mmedialib_dummy.obj \
67 $(OBJS)\mmedialib_cdwin.obj \
68 $(OBJS)\mmedialib_sndwin.obj \
69 $(OBJS)\mmedialib_vidwin.obj \
70 $(OBJS)\mmedialib_cdbase.obj \
71 $(OBJS)\mmedialib_g711.obj \
72 $(OBJS)\mmedialib_g721.obj \
73 $(OBJS)\mmedialib_g723_24.obj \
74 $(OBJS)\mmedialib_g723_40.obj \
75 $(OBJS)\mmedialib_g72x.obj \
76 $(OBJS)\mmedialib_sndaiff.obj \
77 $(OBJS)\mmedialib_sndbase.obj \
78 $(OBJS)\mmedialib_sndcodec.obj \
79 $(OBJS)\mmedialib_sndcpcm.obj \
80 $(OBJS)\mmedialib_sndfile.obj \
81 $(OBJS)\mmedialib_sndg72x.obj \
82 $(OBJS)\mmedialib_sndmsad.obj \
83 $(OBJS)\mmedialib_sndpcm.obj \
84 $(OBJS)\mmedialib_sndulaw.obj \
85 $(OBJS)\mmedialib_sndwav.obj \
86 $(OBJS)\mmedialib_vidbase.obj
88 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
90 ### Conditionally set variables: ###
92 !if "$(USE_GUI)" == "0"
95 !if "$(USE_GUI)" == "1"
98 !if "$(OFFICIAL_BUILD)" == "0"
99 VENDORTAG = _$(VENDOR)
101 !if "$(OFFICIAL_BUILD)" == "1"
104 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
107 !if "$(DEBUG_FLAG)" == "1"
110 !if "$(SHARED)" == "1"
113 !if "$(UNICODE)" == "1"
116 !if "$(WXUNIV)" == "1"
119 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
122 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
125 !if "$(DEBUG_INFO)" == "0"
128 !if "$(DEBUG_INFO)" == "1"
131 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
132 __DEBUG_DEFINE_p = -D__WXDEBUG__
134 !if "$(DEBUG_FLAG)" == "1"
135 __DEBUG_DEFINE_p = -D__WXDEBUG__
137 !if "$(USE_GUI)" == "1"
138 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
146 !if "$(BUILD)" == "debug"
149 !if "$(BUILD)" == "release"
152 !if "$(RUNTIME_LIBS)" == "dynamic"
153 __RUNTIME_LIBS = -tWR
155 !if "$(RUNTIME_LIBS)" == "static"
158 !if "$(RUNTIME_LIBS)" == "dynamic"
161 !if "$(RUNTIME_LIBS)" == "static"
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
167 !if "$(MONOLITHIC)" == "0"
168 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
170 !if "$(MONOLITHIC)" == "0"
172 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
174 !if "$(MONOLITHIC)" == "1"
176 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
178 !if "$(WXUNIV)" == "1"
179 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
181 !if "$(SHARED)" == "1"
182 __mmediadll___depname = \
183 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
185 !if "$(SHARED)" == "0"
186 __mmedialib___depname = \
187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
193 -if not exist $(OBJS) mkdir $(OBJS)
197 all: $(__mmediadll___depname) $(__mmedialib___depname)
199 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
200 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
202 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
203 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
205 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
206 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) -H $**
208 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
209 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
211 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
212 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
214 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
215 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
217 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
218 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
220 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
221 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
223 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
224 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
226 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
227 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
229 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
230 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
232 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
233 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
235 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
236 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
238 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
239 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
241 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
242 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
244 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
245 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
247 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
248 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
250 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
251 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
253 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
254 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
256 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
257 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
259 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
260 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
262 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
263 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
265 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
266 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
268 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
269 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) -H $**
271 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
272 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
274 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
275 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
277 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
278 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
280 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
281 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
283 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
284 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
286 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
287 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
289 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
290 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
292 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
293 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
295 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
296 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
298 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
299 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
301 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
302 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
304 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
305 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
307 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
308 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
310 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
311 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
313 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
314 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
316 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
317 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
319 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
320 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
322 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
323 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
326 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
327 -if exist $(OBJS)\*.res del $(OBJS)\*.res
328 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
329 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
330 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
332 !if "$(SHARED)" == "1"
333 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll: $(MMEDIADLL_OBJECTS) $(OBJS)\mmediadll_dummy.obj
334 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
335 c0d32.obj $(MMEDIADLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
337 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia $@
340 !if "$(SHARED)" == "0"
341 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib: $(MMEDIALIB_OBJECTS) $(OBJS)\mmedialib_dummy.obj
343 tlib /a /p2048 $@ @&&|