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 # =========================================================================
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)3
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 MMEDIADLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA -Hu \
34 -H=$(OBJS)\wxprec_mmediadll.csm $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\mmediadll_dummy.obj \
37 $(OBJS)\mmediadll_cdwin.obj \
38 $(OBJS)\mmediadll_sndwin.obj \
39 $(OBJS)\mmediadll_vidwin.obj \
40 $(OBJS)\mmediadll_cdbase.obj \
41 $(OBJS)\mmediadll_g711.obj \
42 $(OBJS)\mmediadll_g721.obj \
43 $(OBJS)\mmediadll_g723_24.obj \
44 $(OBJS)\mmediadll_g723_40.obj \
45 $(OBJS)\mmediadll_g72x.obj \
46 $(OBJS)\mmediadll_sndaiff.obj \
47 $(OBJS)\mmediadll_sndbase.obj \
48 $(OBJS)\mmediadll_sndcodec.obj \
49 $(OBJS)\mmediadll_sndcpcm.obj \
50 $(OBJS)\mmediadll_sndfile.obj \
51 $(OBJS)\mmediadll_sndg72x.obj \
52 $(OBJS)\mmediadll_sndmsad.obj \
53 $(OBJS)\mmediadll_sndpcm.obj \
54 $(OBJS)\mmediadll_sndulaw.obj \
55 $(OBJS)\mmediadll_sndwav.obj \
56 $(OBJS)\mmediadll_vidbase.obj
57 MMEDIALIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
58 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
59 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
60 -I..\..\src\mmedia\..\..\include -Hu -H=$(OBJS)\wxprec_mmedialib.csm \
61 $(CPPFLAGS) $(CXXFLAGS)
63 $(OBJS)\mmedialib_dummy.obj \
64 $(OBJS)\mmedialib_cdwin.obj \
65 $(OBJS)\mmedialib_sndwin.obj \
66 $(OBJS)\mmedialib_vidwin.obj \
67 $(OBJS)\mmedialib_cdbase.obj \
68 $(OBJS)\mmedialib_g711.obj \
69 $(OBJS)\mmedialib_g721.obj \
70 $(OBJS)\mmedialib_g723_24.obj \
71 $(OBJS)\mmedialib_g723_40.obj \
72 $(OBJS)\mmedialib_g72x.obj \
73 $(OBJS)\mmedialib_sndaiff.obj \
74 $(OBJS)\mmedialib_sndbase.obj \
75 $(OBJS)\mmedialib_sndcodec.obj \
76 $(OBJS)\mmedialib_sndcpcm.obj \
77 $(OBJS)\mmedialib_sndfile.obj \
78 $(OBJS)\mmedialib_sndg72x.obj \
79 $(OBJS)\mmedialib_sndmsad.obj \
80 $(OBJS)\mmedialib_sndpcm.obj \
81 $(OBJS)\mmedialib_sndulaw.obj \
82 $(OBJS)\mmedialib_sndwav.obj \
83 $(OBJS)\mmedialib_vidbase.obj
85 ### Conditionally set variables: ###
87 !if "$(USE_GUI)" == "0"
90 !if "$(USE_GUI)" == "1"
93 !if "$(OFFICIAL_BUILD)" == "0"
94 VENDORTAG = _$(VENDOR)
96 !if "$(OFFICIAL_BUILD)" == "1"
99 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102 !if "$(DEBUG_FLAG)" == "1"
105 !if "$(UNICODE)" == "1"
108 !if "$(WXUNIV)" == "1"
111 !if "$(SHARED)" == "1"
114 !if "$(MONOLITHIC)" == "0"
117 !if "$(MONOLITHIC)" == "1"
120 !if "$(SHARED)" == "1"
121 __mmediadll___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll
124 !if "$(RUNTIME_LIBS)" == "dynamic"
127 !if "$(RUNTIME_LIBS)" == "static"
130 !if "$(MONOLITHIC)" == "1"
132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
137 !if "$(USE_GUI)" == "1"
138 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
144 __UNICOWS_LIB_p = unicows.lib
146 !if "$(MONOLITHIC)" == "0"
148 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
150 !if "$(MONOLITHIC)" == "0"
152 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
154 !if "$(SHARED)" == "0"
155 __mmedialib___depname = \
156 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib
158 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
161 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
164 !if "$(DEBUG_INFO)" == "0"
167 !if "$(DEBUG_INFO)" == "1"
170 !if "$(BUILD)" == "debug"
173 !if "$(BUILD)" == "release"
176 !if "$(RUNTIME_LIBS)" == "dynamic"
177 __RUNTIME_LIBS = -tWR
179 !if "$(RUNTIME_LIBS)" == "static"
182 !if "$(WXUNIV)" == "1"
183 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
185 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
186 __DEBUG_DEFINE_p = -D__WXDEBUG__
188 !if "$(DEBUG_FLAG)" == "1"
189 __DEBUG_DEFINE_p = -D__WXDEBUG__
191 !if "$(UNICODE)" == "1"
192 __UNICODE_DEFINE_p = -D_UNICODE
194 !if "$(SHARED)" == "0"
195 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_lib$(CFG)
197 !if "$(SHARED)" == "1"
198 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_dll$(CFG)
204 -if not exist $(OBJS) mkdir $(OBJS)
208 all: $(__mmediadll___depname) $(__mmedialib___depname)
211 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
212 -if exist $(OBJS)\*.res del $(OBJS)\*.res
213 -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
214 -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
215 -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
216 -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
217 -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
218 -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
219 -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
220 -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 "$(SHARED)" == "1"
223 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia_bcc$(VENDORTAG).dll: $(OBJS)\mmediadll_dummy.obj $(MMEDIADLL_OBJECTS)
224 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
225 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,,
227 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia $@
230 !if "$(SHARED)" == "0"
231 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_mmedia.lib: $(OBJS)\mmedialib_dummy.obj $(MMEDIALIB_OBJECTS)
233 tlib /a /p4096 $@ @&&|
238 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
239 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) -H $**
241 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
242 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
244 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
245 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
247 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
248 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
250 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
251 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
253 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
254 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
256 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
257 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
259 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
260 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
262 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
263 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
265 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
266 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
268 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
269 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
271 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
272 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
274 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
275 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
277 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
278 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
280 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
281 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
283 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
284 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
286 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
287 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
289 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
290 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
292 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
293 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
295 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
296 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
298 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
299 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
301 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
302 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) -H $**
304 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
305 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
307 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
308 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
310 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
311 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
313 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
314 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
316 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
317 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
319 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
320 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
322 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
323 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
325 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
326 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
328 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
329 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
331 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
332 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
334 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
335 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
337 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
338 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
340 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
341 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
343 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
344 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
346 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
347 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
349 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
350 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
352 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
353 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
355 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
356 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
358 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
359 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
361 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
362 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**