1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 ANIMATEDLL_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)
33 ANIMATEDLL_OBJECTS = \
34 $(OBJS)\animatedll_dummy.obj \
35 $(OBJS)\animatedll_animate.obj
36 ANIMATELIB_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)
41 ANIMATELIB_OBJECTS = \
42 $(OBJS)\animatelib_dummy.obj \
43 $(OBJS)\animatelib_animate.obj
45 ### Conditionally set variables: ###
47 !if "$(USE_GUI)" == "0"
50 !if "$(USE_GUI)" == "1"
53 !if "$(OFFICIAL_BUILD)" == "0"
54 VENDORTAG = _$(VENDOR)
56 !if "$(OFFICIAL_BUILD)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
62 !if "$(DEBUG_FLAG)" == "1"
65 !if "$(UNICODE)" == "1"
68 !if "$(WXUNIV)" == "1"
71 !if "$(SHARED)" == "1"
74 !if "$(SHARED)" == "1"
75 __animatedll___depname = \
76 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
78 !if "$(RUNTIME_LIBS)" == "dynamic"
81 !if "$(RUNTIME_LIBS)" == "static"
84 !if "$(MONOLITHIC)" == "1"
86 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
88 !if "$(USE_GUI)" == "1"
89 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
91 !if "$(USE_GUI)" == "1"
92 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
94 !if "$(USE_GUI)" == "1"
95 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
98 __UNICOWS_LIB_p = unicows.lib
100 !if "$(MONOLITHIC)" == "0"
102 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
104 !if "$(MONOLITHIC)" == "0"
105 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
107 !if "$(SHARED)" == "0"
108 __animatelib___depname = \
109 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
123 !if "$(BUILD)" == "debug"
126 !if "$(BUILD)" == "release"
129 !if "$(RUNTIME_LIBS)" == "dynamic"
130 __RUNTIME_LIBS = -tWR
132 !if "$(RUNTIME_LIBS)" == "static"
135 !if "$(WXUNIV)" == "1"
136 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
138 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
139 __DEBUG_DEFINE_p = -D__WXDEBUG__
141 !if "$(DEBUG_FLAG)" == "1"
142 __DEBUG_DEFINE_p = -D__WXDEBUG__
144 !if "$(UNICODE)" == "1"
145 __UNICODE_DEFINE_p = -D_UNICODE
147 !if "$(SHARED)" == "0"
148 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_lib$(CFG)
150 !if "$(SHARED)" == "1"
151 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_dll$(CFG)
157 -if not exist $(OBJS) mkdir $(OBJS)
161 all: $(__animatedll___depname) $(__animatelib___depname)
164 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
165 -if exist $(OBJS)\*.res del $(OBJS)\*.res
166 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
167 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).tds
168 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ilc
169 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ild
170 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ilf
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).ils
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
175 !if "$(SHARED)" == "1"
176 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
177 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
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_7).lib,,
180 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate $@
183 !if "$(SHARED)" == "0"
184 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
186 tlib /a /p4096 $@ @&&|
187 $(ANIMATELIB_OBJECTS)
191 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
192 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
194 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
195 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
197 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
198 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
200 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
201 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**