]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/animate/makefile.bcc
Doesn't conform to license conditions, so removing
[wxWidgets.git] / contrib / build / animate / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (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
c33fae85 24WX_RELEASE_NODOT = 25
ab921f5f 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
b17c1746
DE
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
30ANIMATEDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE -Hu \
34 -H=$(OBJS)\wxprec_animatedll.csm $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
35ANIMATEDLL_OBJECTS = \
36 $(OBJS)\animatedll_dummy.obj \
37 $(OBJS)\animatedll_animate.obj
9bfe7ad9
VS
38ANIMATELIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\animate\..\..\include -Hu -H=$(OBJS)\wxprec_animatelib.csm \
42 $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
43ANIMATELIB_OBJECTS = \
44 $(OBJS)\animatelib_dummy.obj \
45 $(OBJS)\animatelib_animate.obj
250700e4
RD
46
47### Conditionally set variables: ###
48
49!if "$(USE_GUI)" == "0"
50PORTNAME = base
51!endif
52!if "$(USE_GUI)" == "1"
53PORTNAME = msw
54!endif
55!if "$(OFFICIAL_BUILD)" == "0"
56VENDORTAG = _$(VENDOR)
57!endif
58!if "$(OFFICIAL_BUILD)" == "1"
59VENDORTAG =
60!endif
3f55f5b8
VS
61!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
62WXDEBUGFLAG = d
63!endif
64!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
65WXDEBUGFLAG = d
66!endif
250700e4
RD
67!if "$(UNICODE)" == "1"
68WXUNICODEFLAG = u
69!endif
70!if "$(WXUNIV)" == "1"
71WXUNIVNAME = univ
72!endif
b17c1746
DE
73!if "$(SHARED)" == "1"
74WXDLLFLAG = dll
250700e4 75!endif
dd65d8c8
RN
76!if "$(MONOLITHIC)" == "0"
77EXTRALIBS_FOR_BASE =
78!endif
79!if "$(MONOLITHIC)" == "1"
80EXTRALIBS_FOR_BASE =
81!endif
b17c1746
DE
82!if "$(SHARED)" == "1"
83__animatedll___depname = \
c33fae85 84 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll
250700e4 85!endif
b17c1746 86!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 87__RUNTIME_LIBS_8 = i
3f55f5b8 88!endif
b17c1746 89!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 90__RUNTIME_LIBS_8 =
3f55f5b8 91!endif
b17c1746
DE
92!if "$(MONOLITHIC)" == "1"
93__WXLIB_MONO_p = \
c33fae85 94 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250700e4 95!endif
b17c1746 96!if "$(USE_GUI)" == "1"
9c2d002b 97__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
3f55f5b8
VS
98!endif
99!if "$(USE_GUI)" == "1"
9c2d002b 100__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
101!endif
102!if "$(USE_GUI)" == "1"
9c2d002b 103__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 104!endif
b17c1746
DE
105!if "$(MSLU)" == "1"
106__UNICOWS_LIB_p = unicows.lib
107!endif
108!if "$(MONOLITHIC)" == "0"
109__WXLIB_CORE_p = \
c33fae85 110 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
111!endif
112!if "$(MONOLITHIC)" == "0"
c33fae85
RN
113__WXLIB_BASE_p = \
114 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
115!endif
116!if "$(SHARED)" == "0"
117__animatelib___depname = \
c33fae85 118 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
b17c1746
DE
119!endif
120!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
121__DEBUGINFO = -v
122!endif
123!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
124__DEBUGINFO = -v-
125!endif
126!if "$(DEBUG_INFO)" == "0"
127__DEBUGINFO = -v-
128!endif
129!if "$(DEBUG_INFO)" == "1"
130__DEBUGINFO = -v
3f55f5b8 131!endif
250700e4
RD
132!if "$(BUILD)" == "debug"
133__OPTIMIZEFLAG = -Od
134!endif
135!if "$(BUILD)" == "release"
136__OPTIMIZEFLAG = -O2
137!endif
138!if "$(RUNTIME_LIBS)" == "dynamic"
139__RUNTIME_LIBS = -tWR
140!endif
141!if "$(RUNTIME_LIBS)" == "static"
142__RUNTIME_LIBS =
143!endif
b17c1746
DE
144!if "$(WXUNIV)" == "1"
145__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
250700e4 146!endif
b17c1746
DE
147!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
148__DEBUG_DEFINE_p = -D__WXDEBUG__
149!endif
150!if "$(DEBUG_FLAG)" == "1"
151__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
152!endif
153!if "$(UNICODE)" == "1"
ec08d395 154__UNICODE_DEFINE_p = -D_UNICODE
250700e4 155!endif
b17c1746
DE
156!if "$(SHARED)" == "0"
157LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_lib$(CFG)
250700e4
RD
158!endif
159!if "$(SHARED)" == "1"
b17c1746 160LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_dll$(CFG)
250700e4
RD
161!endif
162
163
164all: $(OBJS)
165$(OBJS):
166 -if not exist $(OBJS) mkdir $(OBJS)
167
168### Targets: ###
169
170all: $(__animatedll___depname) $(__animatelib___depname)
171
b17c1746
DE
172clean:
173 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
174 -if exist $(OBJS)\*.res del $(OBJS)\*.res
c33fae85
RN
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).tds
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilc
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ild
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ilf
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).ils
181 -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
182 -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
183
184!if "$(SHARED)" == "1"
c33fae85 185$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_bcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
9bfe7ad9 186 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 187 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 cw32mt$(__RUNTIME_LIBS_8).lib,,
250700e4 188|
c33fae85 189 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate $@
250700e4
RD
190!endif
191
192!if "$(SHARED)" == "0"
c33fae85 193$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
250700e4 194 if exist $@ del $@
9bfe7ad9 195 tlib /a /p4096 $@ @&&|
3f55f5b8 196 $(ANIMATELIB_OBJECTS)
250700e4
RD
197|
198!endif
199
b17c1746
DE
200$(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
201 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
202
203$(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
204 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
205
206$(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
207 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
208
209$(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
210 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**