]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/animate/makefile.bcc
Doc fix
[wxWidgets.git] / contrib / build / animate / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 26
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 ANIMATEDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
35 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE -Hu \
36 -H=$(OBJS)\wxprec_animatedll.csm $(CPPFLAGS) $(CXXFLAGS)
37 ANIMATEDLL_OBJECTS = \
38 $(OBJS)\animatedll_dummy.obj \
39 $(OBJS)\animatedll_animate.obj
40 ANIMATELIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
41 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
43 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
44 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
45 -I..\..\src\animate\..\..\include -Hu -H=$(OBJS)\wxprec_animatelib.csm \
46 $(CPPFLAGS) $(CXXFLAGS)
47 ANIMATELIB_OBJECTS = \
48 $(OBJS)\animatelib_dummy.obj \
49 $(OBJS)\animatelib_animate.obj
50
51 ### Conditionally set variables: ###
52
53 !if "$(USE_GUI)" == "0"
54 PORTNAME = base
55 !endif
56 !if "$(USE_GUI)" == "1"
57 PORTNAME = msw
58 !endif
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
61 !endif
62 !if "$(OFFICIAL_BUILD)" == "1"
63 VENDORTAG =
64 !endif
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 WXDEBUGFLAG = d
67 !endif
68 !if "$(DEBUG_FLAG)" == "1"
69 WXDEBUGFLAG = d
70 !endif
71 !if "$(UNICODE)" == "1"
72 WXUNICODEFLAG = u
73 !endif
74 !if "$(WXUNIV)" == "1"
75 WXUNIVNAME = univ
76 !endif
77 !if "$(SHARED)" == "1"
78 WXDLLFLAG = dll
79 !endif
80 !if "$(SHARED)" == "0"
81 LIBTYPE_SUFFIX = lib
82 !endif
83 !if "$(SHARED)" == "1"
84 LIBTYPE_SUFFIX = dll
85 !endif
86 !if "$(MONOLITHIC)" == "0"
87 EXTRALIBS_FOR_BASE =
88 !endif
89 !if "$(MONOLITHIC)" == "1"
90 EXTRALIBS_FOR_BASE =
91 !endif
92 !if "$(SHARED)" == "1"
93 __animatedll___depname = \
94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll
95 !endif
96 !if "$(USE_THREADS)" == "0"
97 __THREADSFLAG_6 =
98 !endif
99 !if "$(USE_THREADS)" == "1"
100 __THREADSFLAG_6 = mt
101 !endif
102 !if "$(RUNTIME_LIBS)" == "dynamic"
103 __RUNTIME_LIBS_9 = i
104 !endif
105 !if "$(RUNTIME_LIBS)" == "static"
106 __RUNTIME_LIBS_9 =
107 !endif
108 !if "$(WXUNIV)" == "1"
109 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
110 !endif
111 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
112 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
113 !endif
114 !if "$(DEBUG_FLAG)" == "1"
115 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
116 !endif
117 !if "$(USE_EXCEPTIONS)" == "0"
118 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
119 !endif
120 !if "$(USE_RTTI)" == "0"
121 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
122 !endif
123 !if "$(USE_THREADS)" == "0"
124 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
125 !endif
126 !if "$(UNICODE)" == "1"
127 __UNICODE_DEFINE_p_1 = -d_UNICODE
128 !endif
129 !if "$(MSLU)" == "1"
130 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
131 !endif
132 !if "$(MONOLITHIC)" == "1"
133 __WXLIB_MONO_p = \
134 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
135 !endif
136 !if "$(USE_GUI)" == "1"
137 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
138 !endif
139 !if "$(USE_GUI)" == "1"
140 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
141 !endif
142 !if "$(USE_GUI)" == "1"
143 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
144 !endif
145 !if "$(MSLU)" == "1"
146 __UNICOWS_LIB_p = unicows.lib
147 !endif
148 !if "$(MONOLITHIC)" == "0"
149 __WXLIB_CORE_p = \
150 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
151 !endif
152 !if "$(MONOLITHIC)" == "0"
153 __WXLIB_BASE_p = \
154 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
155 !endif
156 !if "$(SHARED)" == "0"
157 __animatelib___depname = \
158 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
159 !endif
160 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
161 __DEBUGINFO = -v
162 !endif
163 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
164 __DEBUGINFO = -v-
165 !endif
166 !if "$(DEBUG_INFO)" == "0"
167 __DEBUGINFO = -v-
168 !endif
169 !if "$(DEBUG_INFO)" == "1"
170 __DEBUGINFO = -v
171 !endif
172 !if "$(BUILD)" == "debug"
173 __OPTIMIZEFLAG = -Od
174 !endif
175 !if "$(BUILD)" == "release"
176 __OPTIMIZEFLAG = -O2
177 !endif
178 !if "$(USE_THREADS)" == "0"
179 __THREADSFLAG =
180 !endif
181 !if "$(USE_THREADS)" == "1"
182 __THREADSFLAG = -tWM
183 !endif
184 !if "$(RUNTIME_LIBS)" == "dynamic"
185 __RUNTIME_LIBS = -tWR
186 !endif
187 !if "$(RUNTIME_LIBS)" == "static"
188 __RUNTIME_LIBS =
189 !endif
190 !if "$(WXUNIV)" == "1"
191 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
192 !endif
193 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
194 __DEBUG_DEFINE_p = -D__WXDEBUG__
195 !endif
196 !if "$(DEBUG_FLAG)" == "1"
197 __DEBUG_DEFINE_p = -D__WXDEBUG__
198 !endif
199 !if "$(USE_EXCEPTIONS)" == "0"
200 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
201 !endif
202 !if "$(USE_RTTI)" == "0"
203 __RTTI_DEFINE_p = -DwxNO_RTTI
204 !endif
205 !if "$(USE_THREADS)" == "0"
206 __THREAD_DEFINE_p = -DwxNO_THREADS
207 !endif
208 !if "$(UNICODE)" == "1"
209 __UNICODE_DEFINE_p = -D_UNICODE
210 !endif
211 !if "$(MSLU)" == "1"
212 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
213 !endif
214
215
216 all: $(OBJS)
217 $(OBJS):
218 -if not exist $(OBJS) mkdir $(OBJS)
219
220 ### Targets: ###
221
222 all: $(__animatedll___depname) $(__animatelib___depname)
223
224 clean:
225 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
226 -if exist $(OBJS)\*.res del $(OBJS)\*.res
227 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
228 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll
229 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds
230 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc
231 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild
232 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf
233 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils
234 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
235 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
236
237 !if "$(SHARED)" == "1"
238 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_version.res
239 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
240 c0d32.obj $(ANIMATEDLL_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 cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\animatedll_version.res
241 |
242 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate $@
243 !endif
244
245 !if "$(SHARED)" == "0"
246 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
247 if exist $@ del $@
248 tlib /a /p4096 $@ @&&|
249 $(ANIMATELIB_OBJECTS)
250 |
251 !endif
252
253 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
254 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
255
256 $(OBJS)\animatedll_version.res: ../../src/animate\..\..\..\src\msw\version.rc
257 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i..\..\src\animate\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG) $**
258
259 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
260 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
261
262 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
263 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
264
265 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
266 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**
267