1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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)$(DIR_SUFFIX_CPU)
20 ..\..\src\plot\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\plot\..\..\..\include /W4 \
30 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
32 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\plotdll_dummy.obj \
35 $(OBJS)\plotdll_version.res \
36 $(OBJS)\plotdll_plot.obj
37 PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\plot\..\..\..\include /W4 \
44 /I..\..\src\plot\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /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_VERSION_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 "$(MONOLITHIC)" == "1"
181 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
183 !if "$(USE_GUI)" == "1"
184 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
186 !if "$(USE_GUI)" == "1"
187 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
193 __UNICOWS_LIB_p = unicows.lib
195 !if "$(MONOLITHIC)" == "0"
197 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
199 !if "$(MONOLITHIC)" == "0"
201 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
203 !if "$(SHARED)" == "0"
204 __plotlib___depname = \
205 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
207 !if "$(RUNTIME_LIBS)" == "dynamic"
208 __RUNTIME_LIBS_22 = D
210 !if "$(RUNTIME_LIBS)" == "static"
211 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
219 !if "$(DEBUG_INFO)" == "0"
222 !if "$(DEBUG_INFO)" == "1"
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME = /D_DEBUG
228 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
231 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
234 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
235 ____DEBUGRUNTIME = /D_DEBUG
237 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
240 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
243 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
246 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
249 !if "$(BUILD)" == "debug"
252 !if "$(BUILD)" == "release"
255 !if "$(USE_THREADS)" == "0"
258 !if "$(USE_THREADS)" == "1"
261 !if "$(USE_RTTI)" == "0"
264 !if "$(USE_RTTI)" == "1"
267 !if "$(USE_EXCEPTIONS)" == "0"
270 !if "$(USE_EXCEPTIONS)" == "1"
271 __EXCEPTIONSFLAG = /EHsc
273 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
274 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
276 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
277 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
279 !if "$(WXUNIV)" == "1"
280 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
282 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
283 __DEBUG_DEFINE_p = /D__WXDEBUG__
285 !if "$(DEBUG_FLAG)" == "1"
286 __DEBUG_DEFINE_p = /D__WXDEBUG__
288 !if "$(USE_EXCEPTIONS)" == "0"
289 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
291 !if "$(USE_RTTI)" == "0"
292 __RTTI_DEFINE_p = /DwxNO_RTTI
294 !if "$(USE_THREADS)" == "0"
295 __THREAD_DEFINE_p = /DwxNO_THREADS
297 !if "$(UNICODE)" == "1"
298 __UNICODE_DEFINE_p = /D_UNICODE
301 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
307 -if not exist $(OBJS) mkdir $(OBJS)
311 all: $(__plotdll___depname) $(__plotlib___depname)
314 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
315 -if exist $(OBJS)\*.res del $(OBJS)\*.res
316 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
317 -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
318 -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
319 -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
320 -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
321 -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
323 !if "$(SHARED)" == "1"
324 $(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
325 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
326 $(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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
330 !if "$(SHARED)" == "0"
331 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
333 link /LIB /NOLOGO /OUT:$@ @<<
338 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
341 $(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
342 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 $(SETUPHDIR) /i ..\..\src\plot\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG) $**
344 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
347 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
350 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**