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/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 ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(LIBDIRNAME) \
26 -I..\..\src\animate\..\..\..\src\tiff \
27 -I..\..\src\animate\..\..\..\src\jpeg \
28 -I..\..\src\animate\..\..\..\src\png \
29 -I..\..\src\animate\..\..\..\src\zlib \
30 -I..\..\src\animate\..\..\..\src\regex \
31 -I..\..\src\animate\..\..\..\src\expat\lib \
32 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
33 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_animatedll.csm
34 ANIMATEDLL_OBJECTS = \
35 $(OBJS)\animatedll_dummy.obj \
36 $(OBJS)\animatedll_animate.obj
37 ANIMATELIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
38 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
39 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(LIBDIRNAME) \
40 -I..\..\src\animate\..\..\..\src\tiff \
41 -I..\..\src\animate\..\..\..\src\jpeg \
42 -I..\..\src\animate\..\..\..\src\png \
43 -I..\..\src\animate\..\..\..\src\zlib \
44 -I..\..\src\animate\..\..\..\src\regex \
45 -I..\..\src\animate\..\..\..\src\expat\lib \
46 -I..\..\src\animate\..\..\include $(CXXFLAGS) -Hu \
47 -H=$(OBJS)\wxprec_animatelib.csm
48 ANIMATELIB_OBJECTS = \
49 $(OBJS)\animatelib_dummy.obj \
50 $(OBJS)\animatelib_animate.obj
52 ..\..\src\animate\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
54 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
56 ### Conditionally set variables: ###
58 !if "$(USE_GUI)" == "0"
61 !if "$(USE_GUI)" == "1"
64 !if "$(OFFICIAL_BUILD)" == "0"
65 VENDORTAG = _$(VENDOR)
67 !if "$(OFFICIAL_BUILD)" == "1"
70 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
73 !if "$(DEBUG_FLAG)" == "1"
76 !if "$(SHARED)" == "1"
79 !if "$(UNICODE)" == "1"
82 !if "$(WXUNIV)" == "1"
85 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91 !if "$(DEBUG_INFO)" == "0"
94 !if "$(DEBUG_INFO)" == "1"
97 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
98 __DEBUG_DEFINE_p = -D__WXDEBUG__
100 !if "$(DEBUG_FLAG)" == "1"
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
103 !if "$(USE_GUI)" == "1"
104 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
106 !if "$(USE_GUI)" == "1"
107 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
109 !if "$(USE_GUI)" == "1"
110 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
112 !if "$(BUILD)" == "debug"
115 !if "$(BUILD)" == "release"
118 !if "$(RUNTIME_LIBS)" == "dynamic"
119 __RUNTIME_LIBS = -tWR
121 !if "$(RUNTIME_LIBS)" == "static"
124 !if "$(RUNTIME_LIBS)" == "dynamic"
127 !if "$(RUNTIME_LIBS)" == "static"
130 !if "$(UNICODE)" == "1"
131 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
133 !if "$(MONOLITHIC)" == "0"
134 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
136 !if "$(MONOLITHIC)" == "0"
138 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
140 !if "$(MONOLITHIC)" == "1"
142 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
144 !if "$(WXUNIV)" == "1"
145 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
147 !if "$(SHARED)" == "1"
148 __animatedll___depname = \
149 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
151 !if "$(SHARED)" == "0"
152 __animatelib___depname = \
153 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
159 -if not exist $(OBJS) mkdir $(OBJS)
163 all: $(__animatedll___depname) $(__animatelib___depname)
165 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
166 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
168 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
169 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
171 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
172 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**
174 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
175 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
177 !if "$(SHARED)" == "1"
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_dummy.obj
179 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
180 c0d32.obj $(ANIMATEDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) cw32mt$(__RUNTIME_LIBS_7).lib,,
182 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate $@
185 !if "$(SHARED)" == "0"
186 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(ANIMATELIB_OBJECTS) $(OBJS)\animatelib_dummy.obj
188 tlib /a /p2048 $@ @&&|
189 $(ANIMATELIB_OBJECTS)
194 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
195 -if exist $(OBJS)\*.res del $(OBJS)\*.res
196 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
197 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
198 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib