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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 MMEDIADLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA -Hu \
35 -H=$(OBJS)\wxprec_mmediadll.csm $(CPPFLAGS) $(CXXFLAGS)
37 $(OBJS)\mmediadll_dummy.obj \
38 $(OBJS)\mmediadll_cdwin.obj \
39 $(OBJS)\mmediadll_sndwin.obj \
40 $(OBJS)\mmediadll_vidwin.obj \
41 $(OBJS)\mmediadll_cdbase.obj \
42 $(OBJS)\mmediadll_g711.obj \
43 $(OBJS)\mmediadll_g721.obj \
44 $(OBJS)\mmediadll_g723_24.obj \
45 $(OBJS)\mmediadll_g723_40.obj \
46 $(OBJS)\mmediadll_g72x.obj \
47 $(OBJS)\mmediadll_sndaiff.obj \
48 $(OBJS)\mmediadll_sndbase.obj \
49 $(OBJS)\mmediadll_sndcodec.obj \
50 $(OBJS)\mmediadll_sndcpcm.obj \
51 $(OBJS)\mmediadll_sndfile.obj \
52 $(OBJS)\mmediadll_sndg72x.obj \
53 $(OBJS)\mmediadll_sndmsad.obj \
54 $(OBJS)\mmediadll_sndpcm.obj \
55 $(OBJS)\mmediadll_sndulaw.obj \
56 $(OBJS)\mmediadll_sndwav.obj \
57 $(OBJS)\mmediadll_vidbase.obj
58 MMEDIALIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
59 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
60 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
61 -I..\..\src\mmedia\..\..\include -Hu -H=$(OBJS)\wxprec_mmedialib.csm \
62 $(CPPFLAGS) $(CXXFLAGS)
64 $(OBJS)\mmedialib_dummy.obj \
65 $(OBJS)\mmedialib_cdwin.obj \
66 $(OBJS)\mmedialib_sndwin.obj \
67 $(OBJS)\mmedialib_vidwin.obj \
68 $(OBJS)\mmedialib_cdbase.obj \
69 $(OBJS)\mmedialib_g711.obj \
70 $(OBJS)\mmedialib_g721.obj \
71 $(OBJS)\mmedialib_g723_24.obj \
72 $(OBJS)\mmedialib_g723_40.obj \
73 $(OBJS)\mmedialib_g72x.obj \
74 $(OBJS)\mmedialib_sndaiff.obj \
75 $(OBJS)\mmedialib_sndbase.obj \
76 $(OBJS)\mmedialib_sndcodec.obj \
77 $(OBJS)\mmedialib_sndcpcm.obj \
78 $(OBJS)\mmedialib_sndfile.obj \
79 $(OBJS)\mmedialib_sndg72x.obj \
80 $(OBJS)\mmedialib_sndmsad.obj \
81 $(OBJS)\mmedialib_sndpcm.obj \
82 $(OBJS)\mmedialib_sndulaw.obj \
83 $(OBJS)\mmedialib_sndwav.obj \
84 $(OBJS)\mmedialib_vidbase.obj
86 ### Conditionally set variables: ###
88 !if "$(USE_GUI)" == "0"
91 !if "$(USE_GUI)" == "1"
94 !if "$(OFFICIAL_BUILD)" == "0"
95 VENDORTAG = _$(VENDOR)
97 !if "$(OFFICIAL_BUILD)" == "1"
100 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
103 !if "$(DEBUG_FLAG)" == "1"
106 !if "$(UNICODE)" == "1"
109 !if "$(WXUNIV)" == "1"
112 !if "$(SHARED)" == "1"
115 !if "$(SHARED)" == "0"
118 !if "$(SHARED)" == "1"
121 !if "$(MONOLITHIC)" == "0"
124 !if "$(MONOLITHIC)" == "1"
127 !if "$(SHARED)" == "1"
128 __mmediadll___depname = \
129 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll
131 !if "$(RUNTIME_LIBS)" == "dynamic"
134 !if "$(RUNTIME_LIBS)" == "static"
137 !if "$(MONOLITHIC)" == "1"
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
151 __UNICOWS_LIB_p = unicows.lib
153 !if "$(MONOLITHIC)" == "0"
155 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
157 !if "$(MONOLITHIC)" == "0"
159 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
161 !if "$(SHARED)" == "0"
162 __mmedialib___depname = \
163 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
165 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
168 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171 !if "$(DEBUG_INFO)" == "0"
174 !if "$(DEBUG_INFO)" == "1"
177 !if "$(BUILD)" == "debug"
180 !if "$(BUILD)" == "release"
183 !if "$(RUNTIME_LIBS)" == "dynamic"
184 __RUNTIME_LIBS = -tWR
186 !if "$(RUNTIME_LIBS)" == "static"
189 !if "$(WXUNIV)" == "1"
190 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
192 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
193 __DEBUG_DEFINE_p = -D__WXDEBUG__
195 !if "$(DEBUG_FLAG)" == "1"
196 __DEBUG_DEFINE_p = -D__WXDEBUG__
198 !if "$(UNICODE)" == "1"
199 __UNICODE_DEFINE_p = -D_UNICODE
205 -if not exist $(OBJS) mkdir $(OBJS)
209 all: $(__mmediadll___depname) $(__mmedialib___depname)
212 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
213 -if exist $(OBJS)\*.res del $(OBJS)\*.res
214 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
215 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll
216 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).tds
217 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ilc
218 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ild
219 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ilf
220 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).ils
221 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
222 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
224 !if "$(SHARED)" == "1"
225 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll: $(OBJS)\mmediadll_dummy.obj $(MMEDIADLL_OBJECTS)
226 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
227 c0d32.obj $(MMEDIADLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
229 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia $@
232 !if "$(SHARED)" == "0"
233 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib: $(OBJS)\mmedialib_dummy.obj $(MMEDIALIB_OBJECTS)
235 tlib /a /p4096 $@ @&&|
240 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
241 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) -H $**
243 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
244 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
246 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
247 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
249 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
250 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
252 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
253 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
255 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
256 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
258 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
259 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
261 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
262 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
264 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
265 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
267 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
268 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
270 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
271 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
273 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
274 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
276 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
277 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
279 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
280 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
282 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
283 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
285 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
286 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
288 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
289 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
291 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
292 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
294 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
295 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
297 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
298 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
300 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
301 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
303 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
304 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) -H $**
306 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
307 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
309 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
310 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
312 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
313 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
315 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
316 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
318 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
319 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
321 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
322 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
324 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
325 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
327 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
328 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
330 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
331 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
333 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
334 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
336 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
337 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
339 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
340 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
342 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
343 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
345 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
346 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
348 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
349 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
351 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
352 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
354 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
355 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
357 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
358 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
360 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
361 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
363 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
364 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**