1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
29 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
30 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
31 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\plotdll_dummy.obj \
34 $(OBJS)\plotdll_version.res \
35 $(OBJS)\plotdll_plot.obj
36 PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \
38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
39 $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
41 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
42 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
43 /I..\..\src\plot\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
44 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
46 $(OBJS)\plotlib_dummy.obj \
47 $(OBJS)\plotlib_plot.obj
49 ### Conditionally set variables: ###
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(OFFICIAL_BUILD)" == "0"
58 VENDORTAG = _$(VENDOR)
60 !if "$(OFFICIAL_BUILD)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 !if "$(DEBUG_FLAG)" == "1"
69 !if "$(UNICODE)" == "1"
72 !if "$(WXUNIV)" == "1"
75 !if "$(SHARED)" == "1"
78 !if "$(SHARED)" == "0"
81 !if "$(SHARED)" == "1"
84 !if "$(MONOLITHIC)" == "0"
87 !if "$(MONOLITHIC)" == "1"
90 !if "$(SHARED)" == "1"
91 __plotdll___depname = \
92 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
94 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
95 __DEBUGINFO_2 = /DEBUG
97 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
100 !if "$(DEBUG_INFO)" == "0"
103 !if "$(DEBUG_INFO)" == "1"
104 __DEBUGINFO_2 = /DEBUG
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
107 ____DEBUGRUNTIME_3_p =
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
110 ____DEBUGRUNTIME_3_p = /D_DEBUG
112 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
113 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
115 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
116 ____DEBUGRUNTIME_3_p_1 =
118 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
119 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
121 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
122 ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1)
124 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125 ____DEBUGINFO_3_p_1 = /d _DEBUG
127 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128 ____DEBUGINFO_3_p_1 =
130 !if "$(DEBUG_INFO)" == "0"
131 ____DEBUGINFO_3_p_1 =
133 !if "$(DEBUG_INFO)" == "1"
134 ____DEBUGINFO_3_p_1 = /d _DEBUG
136 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
139 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
142 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
143 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
145 !if "$(RUNTIME_LIBS)" == "dynamic"
148 !if "$(RUNTIME_LIBS)" == "static"
149 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
151 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
152 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
154 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
155 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
157 !if "$(WXUNIV)" == "1"
158 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
160 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
161 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
163 !if "$(DEBUG_FLAG)" == "1"
164 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
166 !if "$(USE_EXCEPTIONS)" == "0"
167 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
169 !if "$(USE_RTTI)" == "0"
170 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
172 !if "$(USE_THREADS)" == "0"
173 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
175 !if "$(UNICODE)" == "1"
176 __UNICODE_DEFINE_p_1 = /d _UNICODE
178 !if "$(MONOLITHIC)" == "1"
180 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !if "$(USE_GUI)" == "1"
183 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
185 !if "$(USE_GUI)" == "1"
186 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
188 !if "$(USE_GUI)" == "1"
189 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
192 __UNICOWS_LIB_p = unicows.lib
194 !if "$(MONOLITHIC)" == "0"
196 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
198 !if "$(MONOLITHIC)" == "0"
200 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
202 !if "$(SHARED)" == "0"
203 __plotlib___depname = \
204 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
206 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
207 ____DEBUGRUNTIME_16_p =
209 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
210 ____DEBUGRUNTIME_16_p = /D_DEBUG
212 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
213 ____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
215 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
218 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
219 __DEBUGRUNTIME_17 = d
221 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
222 __DEBUGRUNTIME_17 = $(__DEBUGINFO)
224 !if "$(RUNTIME_LIBS)" == "dynamic"
225 __RUNTIME_LIBS_22 = D
227 !if "$(RUNTIME_LIBS)" == "static"
228 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
230 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
233 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
236 !if "$(DEBUG_INFO)" == "0"
239 !if "$(DEBUG_INFO)" == "1"
242 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
243 ____DEBUGINFO = /D_DEBUG
245 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
248 !if "$(DEBUG_INFO)" == "0"
251 !if "$(DEBUG_INFO)" == "1"
252 ____DEBUGINFO = /D_DEBUG
254 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
257 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
260 !if "$(DEBUG_INFO)" == "0"
263 !if "$(DEBUG_INFO)" == "1"
266 !if "$(BUILD)" == "debug"
269 !if "$(BUILD)" == "release"
272 !if "$(USE_THREADS)" == "0"
275 !if "$(USE_THREADS)" == "1"
278 !if "$(USE_RTTI)" == "0"
281 !if "$(USE_RTTI)" == "1"
284 !if "$(USE_EXCEPTIONS)" == "0"
287 !if "$(USE_EXCEPTIONS)" == "1"
288 __EXCEPTIONSFLAG = /EHsc
290 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
291 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
293 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
294 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
296 !if "$(WXUNIV)" == "1"
297 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
299 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
300 __DEBUG_DEFINE_p = /D__WXDEBUG__
302 !if "$(DEBUG_FLAG)" == "1"
303 __DEBUG_DEFINE_p = /D__WXDEBUG__
305 !if "$(USE_EXCEPTIONS)" == "0"
306 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
308 !if "$(USE_RTTI)" == "0"
309 __RTTI_DEFINE_p = /DwxNO_RTTI
311 !if "$(USE_THREADS)" == "0"
312 __THREAD_DEFINE_p = /DwxNO_THREADS
314 !if "$(UNICODE)" == "1"
315 __UNICODE_DEFINE_p = /D_UNICODE
321 -if not exist $(OBJS) mkdir $(OBJS)
325 all: $(__plotdll___depname) $(__plotlib___depname)
328 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
329 -if exist $(OBJS)\*.res del $(OBJS)\*.res
330 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
331 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
332 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk
333 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb
334 -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
335 -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
337 !if "$(SHARED)" == "1"
338 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version.res
339 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
340 $(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) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
344 !if "$(SHARED)" == "0"
345 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
347 lib /NOLOGO /OUT:$@ @<<
352 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
355 $(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
356 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /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) /i ..\..\src\plot\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG) $**
358 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
361 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
364 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
365 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**