1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 ..\..\src\plot\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(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_RELEASE_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) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
29 /I..\..\src\plot\..\..\..\include /W4 /I..\..\src\plot\..\..\include \
30 /DWXUSINGDLL /DWXMAKINGDLL_PLOT $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
31 /Yu"wx/wxprec.h" /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) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
43 /I..\..\src\plot\..\..\..\include /W4 /I..\..\src\plot\..\..\include \
44 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
45 /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\plotlib_dummy.obj \
48 $(OBJS)\plotlib_plot.obj
50 ### Conditionally set variables: ###
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
61 !if "$(OFFICIAL_BUILD)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(TARGET_CPU)" == "amd64"
77 DIR_SUFFIX_CPU = _amd64
79 !if "$(TARGET_CPU)" == "amd64"
80 DIR_SUFFIX_CPU = _amd64
82 !if "$(TARGET_CPU)" == "ia64"
83 DIR_SUFFIX_CPU = _ia64
85 !if "$(TARGET_CPU)" == "ia64"
86 DIR_SUFFIX_CPU = _ia64
88 !if "$(SHARED)" == "1"
91 !if "$(SHARED)" == "0"
94 !if "$(SHARED)" == "1"
97 !if "$(TARGET_CPU)" == "amd64"
98 LINK_TARGET_CPU = /MACHINE:AMD64
100 !if "$(TARGET_CPU)" == "amd64"
101 LINK_TARGET_CPU = /MACHINE:AMD64
103 !if "$(TARGET_CPU)" == "ia64"
104 LINK_TARGET_CPU = /MACHINE:IA64
106 !if "$(TARGET_CPU)" == "ia64"
107 LINK_TARGET_CPU = /MACHINE:IA64
109 !if "$(MONOLITHIC)" == "0"
112 !if "$(MONOLITHIC)" == "1"
115 !if "$(SHARED)" == "1"
116 __plotdll___depname = \
117 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
119 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 __DEBUGINFO_2 = /DEBUG
122 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
125 !if "$(DEBUG_INFO)" == "0"
128 !if "$(DEBUG_INFO)" == "1"
129 __DEBUGINFO_2 = /DEBUG
131 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
132 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
134 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
135 ____DEBUGRUNTIME_3_p_1 =
137 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
138 ____DEBUGRUNTIME_3_p_1 =
140 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
141 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
143 !if "$(RUNTIME_LIBS)" == "dynamic"
146 !if "$(RUNTIME_LIBS)" == "static"
147 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
149 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
150 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
152 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
153 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
155 !if "$(WXUNIV)" == "1"
156 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
158 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
159 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
161 !if "$(DEBUG_FLAG)" == "1"
162 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
164 !if "$(USE_EXCEPTIONS)" == "0"
165 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
167 !if "$(USE_RTTI)" == "0"
168 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
170 !if "$(USE_THREADS)" == "0"
171 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
173 !if "$(UNICODE)" == "1"
174 __UNICODE_DEFINE_p_1 = /d _UNICODE
177 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
179 !if "$(USE_GDIPLUS)" == "1"
180 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
182 !if "$(MONOLITHIC)" == "1"
184 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186 !if "$(USE_GUI)" == "1"
187 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
196 __UNICOWS_LIB_p = unicows.lib
198 !if "$(USE_GDIPLUS)" == "1"
199 __GDIPLUS_LIB_p = gdiplus.lib
201 !if "$(MONOLITHIC)" == "0"
203 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
205 !if "$(MONOLITHIC)" == "0"
207 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
209 !if "$(SHARED)" == "0"
210 __plotlib___depname = \
211 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
213 !if "$(RUNTIME_LIBS)" == "dynamic"
214 __RUNTIME_LIBS_22 = D
216 !if "$(RUNTIME_LIBS)" == "static"
217 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
219 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
222 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
225 !if "$(DEBUG_INFO)" == "0"
228 !if "$(DEBUG_INFO)" == "1"
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
232 ____DEBUGRUNTIME = /D_DEBUG
234 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
241 ____DEBUGRUNTIME = /D_DEBUG
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
246 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
249 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
252 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
255 !if "$(BUILD)" == "debug"
258 !if "$(BUILD)" == "release"
261 !if "$(USE_THREADS)" == "0"
264 !if "$(USE_THREADS)" == "1"
267 !if "$(USE_RTTI)" == "0"
270 !if "$(USE_RTTI)" == "1"
273 !if "$(USE_EXCEPTIONS)" == "0"
276 !if "$(USE_EXCEPTIONS)" == "1"
277 __EXCEPTIONSFLAG = /EHsc
279 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
280 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
282 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
283 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
285 !if "$(WXUNIV)" == "1"
286 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
288 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
289 __DEBUG_DEFINE_p = /D__WXDEBUG__
291 !if "$(DEBUG_FLAG)" == "1"
292 __DEBUG_DEFINE_p = /D__WXDEBUG__
294 !if "$(USE_EXCEPTIONS)" == "0"
295 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
297 !if "$(USE_RTTI)" == "0"
298 __RTTI_DEFINE_p = /DwxNO_RTTI
300 !if "$(USE_THREADS)" == "0"
301 __THREAD_DEFINE_p = /DwxNO_THREADS
303 !if "$(UNICODE)" == "1"
304 __UNICODE_DEFINE_p = /D_UNICODE
307 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
309 !if "$(USE_GDIPLUS)" == "1"
310 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
316 -if not exist $(OBJS) mkdir $(OBJS)
320 all: $(__plotdll___depname) $(__plotlib___depname)
323 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
324 -if exist $(OBJS)\*.res del $(OBJS)\*.res
325 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
326 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk
328 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb
329 -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
330 -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
332 !if "$(SHARED)" == "1"
333 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version.res
334 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
335 $(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) 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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
339 !if "$(SHARED)" == "0"
340 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
342 link /LIB /NOLOGO /OUT:$@ @<<
347 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
350 $(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
351 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) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i ..\..\src\plot\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG) $**
353 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
356 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
359 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**