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