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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 MMEDIADLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA -Hu \
32 -H=$(OBJS)\wxprec_mmediadll.csm $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\mmediadll_dummy.obj \
35 $(OBJS)\mmediadll_cdwin.obj \
36 $(OBJS)\mmediadll_sndwin.obj \
37 $(OBJS)\mmediadll_vidwin.obj \
38 $(OBJS)\mmediadll_cdbase.obj \
39 $(OBJS)\mmediadll_g711.obj \
40 $(OBJS)\mmediadll_g721.obj \
41 $(OBJS)\mmediadll_g723_24.obj \
42 $(OBJS)\mmediadll_g723_40.obj \
43 $(OBJS)\mmediadll_g72x.obj \
44 $(OBJS)\mmediadll_sndaiff.obj \
45 $(OBJS)\mmediadll_sndbase.obj \
46 $(OBJS)\mmediadll_sndcodec.obj \
47 $(OBJS)\mmediadll_sndcpcm.obj \
48 $(OBJS)\mmediadll_sndfile.obj \
49 $(OBJS)\mmediadll_sndg72x.obj \
50 $(OBJS)\mmediadll_sndmsad.obj \
51 $(OBJS)\mmediadll_sndpcm.obj \
52 $(OBJS)\mmediadll_sndulaw.obj \
53 $(OBJS)\mmediadll_sndwav.obj \
54 $(OBJS)\mmediadll_vidbase.obj
55 MMEDIALIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
56 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
57 $(__UNICODE_DEFINE_p) -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
58 -I..\..\src\mmedia\..\..\include -Hu -H=$(OBJS)\wxprec_mmedialib.csm \
59 $(CPPFLAGS) $(CXXFLAGS)
61 $(OBJS)\mmedialib_dummy.obj \
62 $(OBJS)\mmedialib_cdwin.obj \
63 $(OBJS)\mmedialib_sndwin.obj \
64 $(OBJS)\mmedialib_vidwin.obj \
65 $(OBJS)\mmedialib_cdbase.obj \
66 $(OBJS)\mmedialib_g711.obj \
67 $(OBJS)\mmedialib_g721.obj \
68 $(OBJS)\mmedialib_g723_24.obj \
69 $(OBJS)\mmedialib_g723_40.obj \
70 $(OBJS)\mmedialib_g72x.obj \
71 $(OBJS)\mmedialib_sndaiff.obj \
72 $(OBJS)\mmedialib_sndbase.obj \
73 $(OBJS)\mmedialib_sndcodec.obj \
74 $(OBJS)\mmedialib_sndcpcm.obj \
75 $(OBJS)\mmedialib_sndfile.obj \
76 $(OBJS)\mmedialib_sndg72x.obj \
77 $(OBJS)\mmedialib_sndmsad.obj \
78 $(OBJS)\mmedialib_sndpcm.obj \
79 $(OBJS)\mmedialib_sndulaw.obj \
80 $(OBJS)\mmedialib_sndwav.obj \
81 $(OBJS)\mmedialib_vidbase.obj
83 ### Conditionally set variables: ###
85 !if "$(USE_GUI)" == "0"
88 !if "$(USE_GUI)" == "1"
91 !if "$(OFFICIAL_BUILD)" == "0"
92 VENDORTAG = _$(VENDOR)
94 !if "$(OFFICIAL_BUILD)" == "1"
97 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100 !if "$(DEBUG_FLAG)" == "1"
103 !if "$(UNICODE)" == "1"
106 !if "$(WXUNIV)" == "1"
109 !if "$(SHARED)" == "1"
112 !if "$(SHARED)" == "1"
113 __mmediadll___depname = \
114 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
116 !if "$(RUNTIME_LIBS)" == "dynamic"
119 !if "$(RUNTIME_LIBS)" == "static"
122 !if "$(MONOLITHIC)" == "1"
124 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
126 !if "$(USE_GUI)" == "1"
127 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
129 !if "$(USE_GUI)" == "1"
130 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
132 !if "$(USE_GUI)" == "1"
133 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
136 __UNICOWS_LIB_p = unicows.lib
138 !if "$(MONOLITHIC)" == "0"
140 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
142 !if "$(MONOLITHIC)" == "0"
143 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
145 !if "$(SHARED)" == "0"
146 __mmedialib___depname = \
147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
149 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
152 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
155 !if "$(DEBUG_INFO)" == "0"
158 !if "$(DEBUG_INFO)" == "1"
161 !if "$(BUILD)" == "debug"
164 !if "$(BUILD)" == "release"
167 !if "$(RUNTIME_LIBS)" == "dynamic"
168 __RUNTIME_LIBS = -tWR
170 !if "$(RUNTIME_LIBS)" == "static"
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
177 __DEBUG_DEFINE_p = -D__WXDEBUG__
179 !if "$(DEBUG_FLAG)" == "1"
180 __DEBUG_DEFINE_p = -D__WXDEBUG__
182 !if "$(UNICODE)" == "1"
183 __UNICODE_DEFINE_p = -D_UNICODE
185 !if "$(SHARED)" == "0"
186 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_lib$(CFG)
188 !if "$(SHARED)" == "1"
189 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_dll$(CFG)
195 -if not exist $(OBJS) mkdir $(OBJS)
199 all: $(__mmediadll___depname) $(__mmedialib___depname)
202 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
203 -if exist $(OBJS)\*.res del $(OBJS)\*.res
204 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
205 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).tds
206 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilc
207 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ild
208 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilf
209 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ils
210 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
211 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
213 !if "$(SHARED)" == "1"
214 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll: $(OBJS)\mmediadll_dummy.obj $(MMEDIADLL_OBJECTS)
215 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
216 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
218 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia $@
221 !if "$(SHARED)" == "0"
222 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib: $(OBJS)\mmedialib_dummy.obj $(MMEDIALIB_OBJECTS)
224 tlib /a /p4096 $@ @&&|
229 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
230 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) -H $**
232 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
233 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
235 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
236 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
238 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
239 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
241 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
242 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
244 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
245 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
247 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
248 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
250 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
251 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
253 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
254 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
256 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
257 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
259 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
260 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
262 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
263 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
265 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
266 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
268 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
269 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
271 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
272 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
274 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
275 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
277 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
278 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
280 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
281 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
283 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
284 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
286 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
287 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
289 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
290 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
292 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
293 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) -H $**
295 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
296 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
298 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
299 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
301 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
302 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
304 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
305 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
307 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
308 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
310 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
311 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
313 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
314 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
316 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
317 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
319 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
320 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
322 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
323 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
325 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
326 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
328 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
329 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
331 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
332 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
334 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
335 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
337 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
338 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
340 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
341 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
343 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
344 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
346 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
347 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
349 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
350 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
352 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
353 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**