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)2
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 PLOTDLL_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 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\plot\..\..\..\include \
36 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT -Hu \
37 -H=$(OBJS)\wxprec_plotdll.csm $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\plotdll_dummy.obj \
40 $(OBJS)\plotdll_plot.obj
41 PLOTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
43 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
44 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
45 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\plot\..\..\..\include \
46 -I..\..\src\plot\..\..\include -Hu -H=$(OBJS)\wxprec_plotlib.csm \
47 $(CPPFLAGS) $(CXXFLAGS)
49 $(OBJS)\plotlib_dummy.obj \
50 $(OBJS)\plotlib_plot.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 __plotdll___depname = \
95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
97 !if "$(USE_THREADS)" == "0"
100 !if "$(USE_THREADS)" == "1"
103 !if "$(RUNTIME_LIBS)" == "dynamic"
106 !if "$(RUNTIME_LIBS)" == "static"
109 !if "$(WXUNIV)" == "1"
110 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
112 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
113 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
115 !if "$(DEBUG_FLAG)" == "1"
116 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
118 !if "$(USE_EXCEPTIONS)" == "0"
119 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
121 !if "$(USE_RTTI)" == "0"
122 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
124 !if "$(USE_THREADS)" == "0"
125 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
127 !if "$(UNICODE)" == "1"
128 __UNICODE_DEFINE_p_1 = -d_UNICODE
131 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
133 !if "$(USE_GDIPLUS)" == "1"
134 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
136 !if "$(MONOLITHIC)" == "1"
138 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
146 !if "$(USE_GUI)" == "1"
147 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
150 __UNICOWS_LIB_p = unicows.lib
152 !if "$(USE_GDIPLUS)" == "1"
153 __GDIPLUS_LIB_p = gdiplus.lib
155 !if "$(MONOLITHIC)" == "0"
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
159 !if "$(MONOLITHIC)" == "0"
161 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
163 !if "$(SHARED)" == "0"
164 __plotlib___depname = \
165 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
167 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
170 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
173 !if "$(DEBUG_INFO)" == "0"
176 !if "$(DEBUG_INFO)" == "1"
179 !if "$(BUILD)" == "debug"
182 !if "$(BUILD)" == "release"
185 !if "$(USE_THREADS)" == "0"
188 !if "$(USE_THREADS)" == "1"
191 !if "$(RUNTIME_LIBS)" == "dynamic"
192 __RUNTIME_LIBS = -tWR
194 !if "$(RUNTIME_LIBS)" == "static"
197 !if "$(WXUNIV)" == "1"
198 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
200 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
201 __DEBUG_DEFINE_p = -D__WXDEBUG__
203 !if "$(DEBUG_FLAG)" == "1"
204 __DEBUG_DEFINE_p = -D__WXDEBUG__
206 !if "$(USE_EXCEPTIONS)" == "0"
207 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
209 !if "$(USE_RTTI)" == "0"
210 __RTTI_DEFINE_p = -DwxNO_RTTI
212 !if "$(USE_THREADS)" == "0"
213 __THREAD_DEFINE_p = -DwxNO_THREADS
215 !if "$(UNICODE)" == "1"
216 __UNICODE_DEFINE_p = -D_UNICODE
219 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
221 !if "$(USE_GDIPLUS)" == "1"
222 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
228 -if not exist $(OBJS) mkdir $(OBJS)
232 all: $(__plotdll___depname) $(__plotlib___depname)
235 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
236 -if exist $(OBJS)\*.res del $(OBJS)\*.res
237 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
238 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).tds
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilc
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ild
242 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilf
243 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ils
244 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
247 !if "$(SHARED)" == "1"
248 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version.res
249 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
250 c0d32.obj $(PLOTDLL_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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\plotdll_version.res
252 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot $@
255 !if "$(SHARED)" == "0"
256 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
258 tlib /a /p4096 $@ @&&|
263 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
264 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
266 $(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
267 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) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\plot\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG) $**
269 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
270 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
272 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
273 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
275 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
276 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**