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