1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 FOLDBARDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 -I$(SETUPHDIR) -I..\..\src\foldbar\..\..\..\include \
36 -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR -Hu \
37 -H=$(OBJS)\wxprec_foldbardll.csm $(CPPFLAGS) $(CXXFLAGS)
38 FOLDBARDLL_OBJECTS = \
39 $(OBJS)\foldbardll_dummy.obj \
40 $(OBJS)\foldbardll_captionbar.obj \
41 $(OBJS)\foldbardll_foldpanelbar.obj \
42 $(OBJS)\foldbardll_foldpanelitem.obj
43 FOLDBARLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
44 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
45 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
46 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
47 -I$(SETUPHDIR) -I..\..\src\foldbar\..\..\..\include \
48 -I..\..\src\foldbar\..\..\include -Hu -H=$(OBJS)\wxprec_foldbarlib.csm \
49 $(CPPFLAGS) $(CXXFLAGS)
50 FOLDBARLIB_OBJECTS = \
51 $(OBJS)\foldbarlib_dummy.obj \
52 $(OBJS)\foldbarlib_captionbar.obj \
53 $(OBJS)\foldbarlib_foldpanelbar.obj \
54 $(OBJS)\foldbarlib_foldpanelitem.obj
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 "$(UNICODE)" == "1"
79 !if "$(WXUNIV)" == "1"
82 !if "$(SHARED)" == "1"
85 !if "$(SHARED)" == "0"
88 !if "$(SHARED)" == "1"
91 !if "$(MONOLITHIC)" == "0"
94 !if "$(MONOLITHIC)" == "1"
97 !if "$(SHARED)" == "1"
98 __foldbardll___depname = \
99 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
101 !if "$(USE_THREADS)" == "0"
104 !if "$(USE_THREADS)" == "1"
107 !if "$(RUNTIME_LIBS)" == "dynamic"
110 !if "$(RUNTIME_LIBS)" == "static"
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
122 !if "$(USE_EXCEPTIONS)" == "0"
123 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
125 !if "$(USE_RTTI)" == "0"
126 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
128 !if "$(USE_THREADS)" == "0"
129 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
131 !if "$(UNICODE)" == "1"
132 __UNICODE_DEFINE_p_1 = -d_UNICODE
135 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
137 !if "$(MONOLITHIC)" == "1"
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
151 __UNICOWS_LIB_p = unicows.lib
153 !if "$(MONOLITHIC)" == "0"
155 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
157 !if "$(MONOLITHIC)" == "0"
159 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
161 !if "$(SHARED)" == "0"
162 __foldbarlib___depname = \
163 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
165 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
168 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171 !if "$(DEBUG_INFO)" == "0"
174 !if "$(DEBUG_INFO)" == "1"
177 !if "$(BUILD)" == "debug"
180 !if "$(BUILD)" == "release"
183 !if "$(USE_THREADS)" == "0"
186 !if "$(USE_THREADS)" == "1"
189 !if "$(RUNTIME_LIBS)" == "dynamic"
190 __RUNTIME_LIBS = -tWR
192 !if "$(RUNTIME_LIBS)" == "static"
195 !if "$(WXUNIV)" == "1"
196 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
198 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
199 __DEBUG_DEFINE_p = -D__WXDEBUG__
201 !if "$(DEBUG_FLAG)" == "1"
202 __DEBUG_DEFINE_p = -D__WXDEBUG__
204 !if "$(USE_EXCEPTIONS)" == "0"
205 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
207 !if "$(USE_RTTI)" == "0"
208 __RTTI_DEFINE_p = -DwxNO_RTTI
210 !if "$(USE_THREADS)" == "0"
211 __THREAD_DEFINE_p = -DwxNO_THREADS
213 !if "$(UNICODE)" == "1"
214 __UNICODE_DEFINE_p = -D_UNICODE
217 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
223 -if not exist $(OBJS) mkdir $(OBJS)
227 all: $(__foldbardll___depname) $(__foldbarlib___depname)
230 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
231 -if exist $(OBJS)\*.res del $(OBJS)\*.res
232 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
233 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
234 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds
235 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc
236 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild
237 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf
238 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
242 !if "$(SHARED)" == "1"
243 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS) $(OBJS)\foldbardll_version.res
244 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
245 c0d32.obj $(FOLDBARDLL_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 cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\foldbardll_version.res
247 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar $@
250 !if "$(SHARED)" == "0"
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
253 tlib /a /p4096 $@ @&&|
254 $(FOLDBARLIB_OBJECTS)
258 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
259 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) -H $**
261 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
262 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\foldbar\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG) $**
264 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
265 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
267 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
268 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
270 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
271 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
273 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
274 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) -H $**
276 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
277 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
279 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
280 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
282 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
283 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**