1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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)0
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) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME) $(__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 $(__MSLU_DEFINE_p) /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) /DWIN32 \
38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
39 $(____DEBUGRUNTIME) $(__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 $(__MSLU_DEFINE_p) /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 "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
107 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
109 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
110 ____DEBUGRUNTIME_3_p_1 =
112 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
113 ____DEBUGRUNTIME_3_p_1 =
115 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
116 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
118 !if "$(RUNTIME_LIBS)" == "dynamic"
121 !if "$(RUNTIME_LIBS)" == "static"
122 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
124 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
125 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
127 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
128 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
130 !if "$(WXUNIV)" == "1"
131 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
133 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
134 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
136 !if "$(DEBUG_FLAG)" == "1"
137 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
139 !if "$(USE_EXCEPTIONS)" == "0"
140 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
142 !if "$(USE_RTTI)" == "0"
143 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
145 !if "$(USE_THREADS)" == "0"
146 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p_1 = /d _UNICODE
152 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
154 !if "$(MONOLITHIC)" == "1"
156 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
158 !if "$(USE_GUI)" == "1"
159 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
161 !if "$(USE_GUI)" == "1"
162 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
164 !if "$(USE_GUI)" == "1"
165 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
168 __UNICOWS_LIB_p = unicows.lib
170 !if "$(MONOLITHIC)" == "0"
172 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
174 !if "$(MONOLITHIC)" == "0"
176 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
178 !if "$(SHARED)" == "0"
179 __plotlib___depname = \
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
182 !if "$(RUNTIME_LIBS)" == "dynamic"
183 __RUNTIME_LIBS_22 = D
185 !if "$(RUNTIME_LIBS)" == "static"
186 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
188 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
191 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
194 !if "$(DEBUG_INFO)" == "0"
197 !if "$(DEBUG_INFO)" == "1"
200 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
201 ____DEBUGRUNTIME = /D_DEBUG
203 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
206 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
210 ____DEBUGRUNTIME = /D_DEBUG
212 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
215 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
224 !if "$(BUILD)" == "debug"
227 !if "$(BUILD)" == "release"
230 !if "$(USE_THREADS)" == "0"
233 !if "$(USE_THREADS)" == "1"
236 !if "$(USE_RTTI)" == "0"
239 !if "$(USE_RTTI)" == "1"
242 !if "$(USE_EXCEPTIONS)" == "0"
245 !if "$(USE_EXCEPTIONS)" == "1"
246 __EXCEPTIONSFLAG = /EHsc
248 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
249 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
251 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
252 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
254 !if "$(WXUNIV)" == "1"
255 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
257 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
258 __DEBUG_DEFINE_p = /D__WXDEBUG__
260 !if "$(DEBUG_FLAG)" == "1"
261 __DEBUG_DEFINE_p = /D__WXDEBUG__
263 !if "$(USE_EXCEPTIONS)" == "0"
264 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
266 !if "$(USE_RTTI)" == "0"
267 __RTTI_DEFINE_p = /DwxNO_RTTI
269 !if "$(USE_THREADS)" == "0"
270 __THREAD_DEFINE_p = /DwxNO_THREADS
272 !if "$(UNICODE)" == "1"
273 __UNICODE_DEFINE_p = /D_UNICODE
276 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
282 -if not exist $(OBJS) mkdir $(OBJS)
286 all: $(__plotdll___depname) $(__plotlib___depname)
289 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
290 -if exist $(OBJS)\*.res del $(OBJS)\*.res
291 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
292 -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
293 -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
294 -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
295 -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
296 -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
298 !if "$(SHARED)" == "1"
299 $(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
300 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
301 $(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
305 !if "$(SHARED)" == "0"
306 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
308 link /LIB /NOLOGO /OUT:$@ @<<
313 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
316 $(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
317 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) $(__MSLU_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) $**
319 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
322 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
325 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
326 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**