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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
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)$(__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) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
32 $(OBJS)\plotdll_dummy.obj \
33 $(OBJS)\plotdll_plot.obj
34 PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
37 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
38 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
40 /I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
41 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
43 $(OBJS)\plotlib_dummy.obj \
44 $(OBJS)\plotlib_plot.obj
46 ### Conditionally set variables: ###
48 !if "$(USE_GUI)" == "0"
51 !if "$(USE_GUI)" == "1"
54 !if "$(OFFICIAL_BUILD)" == "0"
55 VENDORTAG = _$(VENDOR)
57 !if "$(OFFICIAL_BUILD)" == "1"
60 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63 !if "$(DEBUG_FLAG)" == "1"
66 !if "$(UNICODE)" == "1"
69 !if "$(WXUNIV)" == "1"
72 !if "$(SHARED)" == "1"
75 !if "$(SHARED)" == "0"
78 !if "$(SHARED)" == "1"
81 !if "$(MONOLITHIC)" == "0"
84 !if "$(MONOLITHIC)" == "1"
87 !if "$(SHARED)" == "1"
88 __plotdll___depname = \
89 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
91 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 __DEBUGINFO_2 = /DEBUG
94 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97 !if "$(DEBUG_INFO)" == "0"
100 !if "$(DEBUG_INFO)" == "1"
101 __DEBUGINFO_2 = /DEBUG
103 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
104 ____DEBUGRUNTIME_3_p =
106 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
107 ____DEBUGRUNTIME_3_p = /D_DEBUG
109 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
110 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
112 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
115 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
119 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
121 !if "$(MONOLITHIC)" == "1"
123 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
125 !if "$(USE_GUI)" == "1"
126 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
131 !if "$(USE_GUI)" == "1"
132 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
135 __UNICOWS_LIB_p = unicows.lib
137 !if "$(MONOLITHIC)" == "0"
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
141 !if "$(MONOLITHIC)" == "0"
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
145 !if "$(SHARED)" == "0"
146 __plotlib___depname = \
147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
149 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
150 ____DEBUGRUNTIME_15_p =
152 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
153 ____DEBUGRUNTIME_15_p = /D_DEBUG
155 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
156 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
158 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
161 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
162 __DEBUGRUNTIME_16 = d
164 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
165 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
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" && "$(DEBUG_INFO)" == "default"
180 ____DEBUGINFO = /D_DEBUG
182 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
185 !if "$(DEBUG_INFO)" == "0"
188 !if "$(DEBUG_INFO)" == "1"
189 ____DEBUGINFO = /D_DEBUG
191 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
194 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
197 !if "$(DEBUG_INFO)" == "0"
200 !if "$(DEBUG_INFO)" == "1"
203 !if "$(BUILD)" == "debug"
206 !if "$(BUILD)" == "release"
209 !if "$(RUNTIME_LIBS)" == "dynamic"
212 !if "$(RUNTIME_LIBS)" == "static"
215 !if "$(USE_EXCEPTIONS)" == "0"
218 !if "$(USE_EXCEPTIONS)" == "1"
219 __EXCEPTIONSFLAG = /GR
221 !if "$(USE_EXCEPTIONS)" == "0"
224 !if "$(USE_EXCEPTIONS)" == "1"
225 __EXCEPTIONSFLAG_0 = /GX
227 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
228 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
230 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
231 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233 !if "$(WXUNIV)" == "1"
234 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
236 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
237 __DEBUG_DEFINE_p = /D__WXDEBUG__
239 !if "$(DEBUG_FLAG)" == "1"
240 __DEBUG_DEFINE_p = /D__WXDEBUG__
242 !if "$(UNICODE)" == "1"
243 __UNICODE_DEFINE_p = /D_UNICODE
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all: $(__plotdll___depname) $(__plotlib___depname)
256 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
257 -if exist $(OBJS)\*.res del $(OBJS)\*.res
258 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
259 -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
260 -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
261 -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
262 -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
263 -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
265 !if "$(SHARED)" == "1"
266 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
267 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
268 $(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
272 !if "$(SHARED)" == "0"
273 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
275 lib /NOLOGO /OUT:$@ @<<
280 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
283 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
286 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
289 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**