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/msw/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
134 __UNICOWS_LIB_p = unicows.lib
136 !if "$(MONOLITHIC)" == "0"
137 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
139 !if "$(MONOLITHIC)" == "0"
141 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
143 !if "$(MONOLITHIC)" == "1"
145 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
147 !if "$(WXUNIV)" == "1"
148 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
150 !if "$(SHARED)" == "1"
151 __animatedll___depname = \
152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
154 !if "$(SHARED)" == "0"
155 __animatelib___depname = \
156 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
162 -if not exist $(OBJS) mkdir $(OBJS)
166 all: $(__animatedll___depname) $(__animatelib___depname)
168 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
169 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
171 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
172 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
174 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
175 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**
177 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
178 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
180 !if "$(SHARED)" == "1"
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_dummy.obj
182 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
183 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 $(__UNICOWS_LIB_p) import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
185 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate $@
188 !if "$(SHARED)" == "0"
189 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(ANIMATELIB_OBJECTS) $(OBJS)\animatelib_dummy.obj
191 tlib /a /p2048 $@ @&&|
192 $(ANIMATELIB_OBJECTS)
197 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
198 -if exist $(OBJS)\*.res del $(OBJS)\*.res
199 -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
200 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
201 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib