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/msw/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
23 MMEDIADLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\mmedia\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_MMEDIA \
28 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_mmediadll.csm
30 $(OBJS)\mmediadll_dummy.obj \
31 $(OBJS)\mmediadll_cdwin.obj \
32 $(OBJS)\mmediadll_sndwin.obj \
33 $(OBJS)\mmediadll_vidwin.obj \
34 $(OBJS)\mmediadll_cdbase.obj \
35 $(OBJS)\mmediadll_g711.obj \
36 $(OBJS)\mmediadll_g721.obj \
37 $(OBJS)\mmediadll_g723_24.obj \
38 $(OBJS)\mmediadll_g723_40.obj \
39 $(OBJS)\mmediadll_g72x.obj \
40 $(OBJS)\mmediadll_sndaiff.obj \
41 $(OBJS)\mmediadll_sndbase.obj \
42 $(OBJS)\mmediadll_sndcodec.obj \
43 $(OBJS)\mmediadll_sndcpcm.obj \
44 $(OBJS)\mmediadll_sndfile.obj \
45 $(OBJS)\mmediadll_sndg72x.obj \
46 $(OBJS)\mmediadll_sndmsad.obj \
47 $(OBJS)\mmediadll_sndpcm.obj \
48 $(OBJS)\mmediadll_sndulaw.obj \
49 $(OBJS)\mmediadll_sndwav.obj \
50 $(OBJS)\mmediadll_vidbase.obj
51 MMEDIALIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
52 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
53 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
54 -I..\..\src\mmedia\..\..\..\include -I$(SETUPHDIR) \
55 -I..\..\src\mmedia\..\..\include $(CXXFLAGS) -Hu \
56 -H=$(OBJS)\wxprec_mmedialib.csm
58 $(OBJS)\mmedialib_dummy.obj \
59 $(OBJS)\mmedialib_cdwin.obj \
60 $(OBJS)\mmedialib_sndwin.obj \
61 $(OBJS)\mmedialib_vidwin.obj \
62 $(OBJS)\mmedialib_cdbase.obj \
63 $(OBJS)\mmedialib_g711.obj \
64 $(OBJS)\mmedialib_g721.obj \
65 $(OBJS)\mmedialib_g723_24.obj \
66 $(OBJS)\mmedialib_g723_40.obj \
67 $(OBJS)\mmedialib_g72x.obj \
68 $(OBJS)\mmedialib_sndaiff.obj \
69 $(OBJS)\mmedialib_sndbase.obj \
70 $(OBJS)\mmedialib_sndcodec.obj \
71 $(OBJS)\mmedialib_sndcpcm.obj \
72 $(OBJS)\mmedialib_sndfile.obj \
73 $(OBJS)\mmedialib_sndg72x.obj \
74 $(OBJS)\mmedialib_sndmsad.obj \
75 $(OBJS)\mmedialib_sndpcm.obj \
76 $(OBJS)\mmedialib_sndulaw.obj \
77 $(OBJS)\mmedialib_sndwav.obj \
78 $(OBJS)\mmedialib_vidbase.obj
80 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
82 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
84 ### Conditionally set variables: ###
86 !if "$(SHARED)" == "0"
87 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_lib$(CFG)
89 !if "$(SHARED)" == "1"
90 LIBDIRNAME = ..\..\src\mmedia\..\..\..\lib\bcc_dll$(CFG)
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 = -D_UNICODE
168 __UNICOWS_LIB_p = unicows.lib
170 !if "$(MONOLITHIC)" == "0"
171 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
177 !if "$(MONOLITHIC)" == "1"
179 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
181 !if "$(WXUNIV)" == "1"
182 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
184 !if "$(SHARED)" == "1"
185 __mmediadll___depname = \
186 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
188 !if "$(SHARED)" == "0"
189 __mmedialib___depname = \
190 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
196 -if not exist $(OBJS) mkdir $(OBJS)
200 all: $(__mmediadll___depname) $(__mmedialib___depname)
202 $(OBJS)\mmediadll_cdbase.obj: ../../src/mmedia\cdbase.cpp
203 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
205 $(OBJS)\mmediadll_cdwin.obj: ../../src/mmedia\cdwin.cpp
206 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
208 $(OBJS)\mmediadll_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
209 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) -H $**
211 $(OBJS)\mmediadll_g711.obj: ../../src/mmedia\g711.cpp
212 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
214 $(OBJS)\mmediadll_g721.obj: ../../src/mmedia\g721.cpp
215 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
217 $(OBJS)\mmediadll_g723_24.obj: ../../src/mmedia\g723_24.cpp
218 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
220 $(OBJS)\mmediadll_g723_40.obj: ../../src/mmedia\g723_40.cpp
221 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
223 $(OBJS)\mmediadll_g72x.obj: ../../src/mmedia\g72x.cpp
224 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
226 $(OBJS)\mmediadll_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
227 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
229 $(OBJS)\mmediadll_sndbase.obj: ../../src/mmedia\sndbase.cpp
230 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
232 $(OBJS)\mmediadll_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
233 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
235 $(OBJS)\mmediadll_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
236 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
238 $(OBJS)\mmediadll_sndfile.obj: ../../src/mmedia\sndfile.cpp
239 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
241 $(OBJS)\mmediadll_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
242 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
244 $(OBJS)\mmediadll_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
245 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
247 $(OBJS)\mmediadll_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
248 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
250 $(OBJS)\mmediadll_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
251 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
253 $(OBJS)\mmediadll_sndwav.obj: ../../src/mmedia\sndwav.cpp
254 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
256 $(OBJS)\mmediadll_sndwin.obj: ../../src/mmedia\sndwin.cpp
257 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
259 $(OBJS)\mmediadll_vidbase.obj: ../../src/mmedia\vidbase.cpp
260 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
262 $(OBJS)\mmediadll_vidwin.obj: ../../src/mmedia\vidwin.cpp
263 $(CXX) -q -c -P -o$@ $(MMEDIADLL_CXXFLAGS) $**
265 $(OBJS)\mmedialib_cdbase.obj: ../../src/mmedia\cdbase.cpp
266 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
268 $(OBJS)\mmedialib_cdwin.obj: ../../src/mmedia\cdwin.cpp
269 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
271 $(OBJS)\mmedialib_dummy.obj: ../../src/mmedia\..\..\..\src\msw\dummy.cpp
272 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) -H $**
274 $(OBJS)\mmedialib_g711.obj: ../../src/mmedia\g711.cpp
275 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
277 $(OBJS)\mmedialib_g721.obj: ../../src/mmedia\g721.cpp
278 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
280 $(OBJS)\mmedialib_g723_24.obj: ../../src/mmedia\g723_24.cpp
281 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
283 $(OBJS)\mmedialib_g723_40.obj: ../../src/mmedia\g723_40.cpp
284 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
286 $(OBJS)\mmedialib_g72x.obj: ../../src/mmedia\g72x.cpp
287 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
289 $(OBJS)\mmedialib_sndaiff.obj: ../../src/mmedia\sndaiff.cpp
290 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
292 $(OBJS)\mmedialib_sndbase.obj: ../../src/mmedia\sndbase.cpp
293 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
295 $(OBJS)\mmedialib_sndcodec.obj: ../../src/mmedia\sndcodec.cpp
296 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
298 $(OBJS)\mmedialib_sndcpcm.obj: ../../src/mmedia\sndcpcm.cpp
299 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
301 $(OBJS)\mmedialib_sndfile.obj: ../../src/mmedia\sndfile.cpp
302 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
304 $(OBJS)\mmedialib_sndg72x.obj: ../../src/mmedia\sndg72x.cpp
305 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
307 $(OBJS)\mmedialib_sndmsad.obj: ../../src/mmedia\sndmsad.cpp
308 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
310 $(OBJS)\mmedialib_sndpcm.obj: ../../src/mmedia\sndpcm.cpp
311 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
313 $(OBJS)\mmedialib_sndulaw.obj: ../../src/mmedia\sndulaw.cpp
314 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
316 $(OBJS)\mmedialib_sndwav.obj: ../../src/mmedia\sndwav.cpp
317 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
319 $(OBJS)\mmedialib_sndwin.obj: ../../src/mmedia\sndwin.cpp
320 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
322 $(OBJS)\mmedialib_vidbase.obj: ../../src/mmedia\vidbase.cpp
323 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
325 $(OBJS)\mmedialib_vidwin.obj: ../../src/mmedia\vidwin.cpp
326 $(CXX) -q -c -P -o$@ $(MMEDIALIB_CXXFLAGS) $**
329 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
330 -if exist $(OBJS)\*.res del $(OBJS)\*.res
331 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll
332 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).tds
333 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilc
334 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ild
335 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ilf
336 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).ils
337 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
338 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib
340 !if "$(SHARED)" == "1"
341 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia_bcc$(VENDORTAG).dll: $(OBJS)\mmediadll_dummy.obj $(MMEDIADLL_OBJECTS)
342 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
343 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
345 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia $@
348 !if "$(SHARED)" == "0"
349 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib: $(OBJS)\mmedialib_dummy.obj $(MMEDIALIB_OBJECTS)
351 tlib /a /p2048 $@ @&&|