1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
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) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR -Hu \
35 -H=$(OBJS)\wxprec_foldbardll.csm $(CPPFLAGS) $(CXXFLAGS)
36 FOLDBARDLL_OBJECTS = \
37 $(OBJS)\foldbardll_dummy.obj \
38 $(OBJS)\foldbardll_captionbar.obj \
39 $(OBJS)\foldbardll_foldpanelbar.obj \
40 $(OBJS)\foldbardll_foldpanelitem.obj
41 FOLDBARLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
43 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\foldbar\..\..\include -Hu -H=$(OBJS)\wxprec_foldbarlib.csm \
45 $(CPPFLAGS) $(CXXFLAGS)
46 FOLDBARLIB_OBJECTS = \
47 $(OBJS)\foldbarlib_dummy.obj \
48 $(OBJS)\foldbarlib_captionbar.obj \
49 $(OBJS)\foldbarlib_foldpanelbar.obj \
50 $(OBJS)\foldbarlib_foldpanelitem.obj
52 ### Conditionally set variables: ###
54 !if "$(USE_GUI)" == "0"
57 !if "$(USE_GUI)" == "1"
60 !if "$(OFFICIAL_BUILD)" == "0"
61 VENDORTAG = _$(VENDOR)
63 !if "$(OFFICIAL_BUILD)" == "1"
66 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
69 !if "$(DEBUG_FLAG)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(SHARED)" == "1"
81 !if "$(SHARED)" == "0"
84 !if "$(SHARED)" == "1"
87 !if "$(MONOLITHIC)" == "0"
90 !if "$(MONOLITHIC)" == "1"
93 !if "$(SHARED)" == "1"
94 __foldbardll___depname = \
95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
97 !if "$(RUNTIME_LIBS)" == "dynamic"
100 !if "$(RUNTIME_LIBS)" == "static"
103 !if "$(MONOLITHIC)" == "1"
105 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
107 !if "$(USE_GUI)" == "1"
108 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
110 !if "$(USE_GUI)" == "1"
111 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
113 !if "$(USE_GUI)" == "1"
114 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
117 __UNICOWS_LIB_p = unicows.lib
119 !if "$(MONOLITHIC)" == "0"
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
123 !if "$(MONOLITHIC)" == "0"
125 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
127 !if "$(SHARED)" == "0"
128 __foldbarlib___depname = \
129 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
131 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
134 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
137 !if "$(DEBUG_INFO)" == "0"
140 !if "$(DEBUG_INFO)" == "1"
143 !if "$(BUILD)" == "debug"
146 !if "$(BUILD)" == "release"
149 !if "$(RUNTIME_LIBS)" == "dynamic"
150 __RUNTIME_LIBS = -tWR
152 !if "$(RUNTIME_LIBS)" == "static"
155 !if "$(WXUNIV)" == "1"
156 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
158 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
159 __DEBUG_DEFINE_p = -D__WXDEBUG__
161 !if "$(DEBUG_FLAG)" == "1"
162 __DEBUG_DEFINE_p = -D__WXDEBUG__
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = -D_UNICODE
171 -if not exist $(OBJS) mkdir $(OBJS)
175 all: $(__foldbardll___depname) $(__foldbarlib___depname)
178 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
179 -if exist $(OBJS)\*.res del $(OBJS)\*.res
180 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
181 -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
182 -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
183 -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
184 -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
185 -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
186 -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
187 -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
188 -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
190 !if "$(SHARED)" == "1"
191 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
192 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
193 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 cw32mt$(__RUNTIME_LIBS_8).lib,,
195 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar $@
198 !if "$(SHARED)" == "0"
199 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
201 tlib /a /p4096 $@ @&&|
202 $(FOLDBARLIB_OBJECTS)
206 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
207 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) -H $**
209 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
210 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
212 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
213 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
215 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
216 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
218 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
219 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) -H $**
221 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
222 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
224 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
225 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
227 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
228 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**