1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
28 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 $(OBJS)\plotdll_dummy.obj \
32 $(OBJS)\plotdll_plot.obj
33 PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
35 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
36 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
37 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
39 /I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
40 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
42 $(OBJS)\plotlib_dummy.obj \
43 $(OBJS)\plotlib_plot.obj
45 ### Conditionally set variables: ###
47 !if "$(USE_GUI)" == "0"
50 !if "$(USE_GUI)" == "1"
53 !if "$(OFFICIAL_BUILD)" == "0"
54 VENDORTAG = _$(VENDOR)
56 !if "$(OFFICIAL_BUILD)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
62 !if "$(DEBUG_FLAG)" == "1"
65 !if "$(UNICODE)" == "1"
68 !if "$(WXUNIV)" == "1"
71 !if "$(SHARED)" == "1"
74 !if "$(MONOLITHIC)" == "0"
77 !if "$(MONOLITHIC)" == "1"
80 !if "$(SHARED)" == "1"
81 __plotdll___depname = \
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
84 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
85 __DEBUGINFO_2 = /DEBUG
87 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
90 !if "$(DEBUG_INFO)" == "0"
93 !if "$(DEBUG_INFO)" == "1"
94 __DEBUGINFO_2 = /DEBUG
96 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
97 ____DEBUGRUNTIME_3_p =
99 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
100 ____DEBUGRUNTIME_3_p = /D_DEBUG
102 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
103 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
105 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
108 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
111 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
112 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
114 !if "$(MONOLITHIC)" == "1"
116 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
118 !if "$(USE_GUI)" == "1"
119 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
121 !if "$(USE_GUI)" == "1"
122 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
124 !if "$(USE_GUI)" == "1"
125 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
128 __UNICOWS_LIB_p = unicows.lib
130 !if "$(MONOLITHIC)" == "0"
132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
134 !if "$(MONOLITHIC)" == "0"
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
138 !if "$(SHARED)" == "0"
139 __plotlib___depname = \
140 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
142 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
143 ____DEBUGRUNTIME_15_p =
145 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
146 ____DEBUGRUNTIME_15_p = /D_DEBUG
148 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
149 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
151 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
154 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
155 __DEBUGRUNTIME_16 = d
157 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
158 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
160 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
163 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
166 !if "$(DEBUG_INFO)" == "0"
169 !if "$(DEBUG_INFO)" == "1"
172 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
173 ____DEBUGINFO = /D_DEBUG
175 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
178 !if "$(DEBUG_INFO)" == "0"
181 !if "$(DEBUG_INFO)" == "1"
182 ____DEBUGINFO = /D_DEBUG
184 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
187 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
190 !if "$(DEBUG_INFO)" == "0"
193 !if "$(DEBUG_INFO)" == "1"
196 !if "$(BUILD)" == "debug"
199 !if "$(BUILD)" == "release"
202 !if "$(RUNTIME_LIBS)" == "dynamic"
205 !if "$(RUNTIME_LIBS)" == "static"
208 !if "$(USE_EXCEPTIONS)" == "0"
211 !if "$(USE_EXCEPTIONS)" == "1"
212 __EXCEPTIONSFLAG = /GR
214 !if "$(USE_EXCEPTIONS)" == "0"
217 !if "$(USE_EXCEPTIONS)" == "1"
218 __EXCEPTIONSFLAG_0 = /GX
220 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
221 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
223 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
224 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
226 !if "$(WXUNIV)" == "1"
227 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
229 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
230 __DEBUG_DEFINE_p = /D__WXDEBUG__
232 !if "$(DEBUG_FLAG)" == "1"
233 __DEBUG_DEFINE_p = /D__WXDEBUG__
235 !if "$(UNICODE)" == "1"
236 __UNICODE_DEFINE_p = /D_UNICODE
238 !if "$(SHARED)" == "0"
239 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_lib$(CFG)
241 !if "$(SHARED)" == "1"
242 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_dll$(CFG)
248 -if not exist $(OBJS) mkdir $(OBJS)
252 all: $(__plotdll___depname) $(__plotlib___depname)
255 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
256 -if exist $(OBJS)\*.res del $(OBJS)\*.res
257 -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
258 -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
259 -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
260 -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
261 -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 "$(SHARED)" == "1"
264 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
265 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
266 $(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
270 !if "$(SHARED)" == "0"
271 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
273 lib /NOLOGO /OUT:$@ @<<
278 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
281 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
284 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
287 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**