1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.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 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 PLOTDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
19 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
21 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
23 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT $(CXXFLAGS) \
24 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
25 /Fp"$(OBJS)\wxprec_plotdll.pch"
27 $(OBJS)\plotdll_dummy.obj \
28 $(OBJS)\plotdll_plot.obj
29 PLOTLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
31 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.pdb \
32 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
33 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
34 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
35 /I..\..\src\plot\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
36 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch"
38 $(OBJS)\plotlib_dummy.obj \
39 $(OBJS)\plotlib_plot.obj
41 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
43 ### Conditionally set variables: ###
45 !if "$(SHARED)" == "0"
46 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_lib$(CFG)
48 !if "$(SHARED)" == "1"
49 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_dll$(CFG)
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 "$(SHARED)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
81 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
84 !if "$(DEBUG_INFO)" == "0"
87 !if "$(DEBUG_INFO)" == "1"
90 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
91 __DEBUGINFO_1 = /DEBUG
93 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
96 !if "$(DEBUG_INFO)" == "0"
99 !if "$(DEBUG_INFO)" == "1"
100 __DEBUGINFO_1 = /DEBUG
102 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
105 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
108 !if "$(DEBUG_INFO)" == "0"
111 !if "$(DEBUG_INFO)" == "1"
114 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
117 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 __DEBUGRUNTIME_15 = d
120 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
121 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
123 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
130 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
132 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133 __DEBUG_DEFINE_p = /D__WXDEBUG__
135 !if "$(DEBUG_FLAG)" == "1"
136 __DEBUG_DEFINE_p = /D__WXDEBUG__
138 !if "$(USE_EXCEPTIONS)" == "0"
141 !if "$(USE_EXCEPTIONS)" == "1"
142 __EXCEPTIONSFLAG = /GR
144 !if "$(USE_EXCEPTIONS)" == "0"
147 !if "$(USE_EXCEPTIONS)" == "1"
148 __EXCEPTIONSFLAG_0 = /GX
150 !if "$(USE_GUI)" == "1"
151 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
153 !if "$(USE_GUI)" == "1"
154 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
156 !if "$(USE_GUI)" == "1"
157 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
159 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
160 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
162 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
163 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
165 !if "$(BUILD)" == "debug"
168 !if "$(BUILD)" == "release"
171 !if "$(RUNTIME_LIBS)" == "dynamic"
174 !if "$(RUNTIME_LIBS)" == "static"
177 !if "$(UNICODE)" == "1"
178 __UNICODE_DEFINE_p = /D_UNICODE
181 __UNICOWS_LIB_p = unicows.lib
183 !if "$(MONOLITHIC)" == "0"
184 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
186 !if "$(MONOLITHIC)" == "0"
188 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
190 !if "$(MONOLITHIC)" == "1"
192 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
194 !if "$(WXUNIV)" == "1"
195 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
197 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
198 ____DEBUGINFO = /D_DEBUG
200 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
203 !if "$(DEBUG_INFO)" == "0"
206 !if "$(DEBUG_INFO)" == "1"
207 ____DEBUGINFO = /D_DEBUG
209 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
210 ____DEBUGRUNTIME_14_p =
212 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
213 ____DEBUGRUNTIME_14_p = /D_DEBUG
215 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
216 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
219 ____DEBUGRUNTIME_2_p =
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
222 ____DEBUGRUNTIME_2_p = /D_DEBUG
224 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
225 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
227 !if "$(SHARED)" == "1"
228 __plotdll___depname = \
229 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
231 !if "$(SHARED)" == "0"
232 __plotlib___depname = \
233 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
239 -if not exist $(OBJS) mkdir $(OBJS)
243 all: $(__plotdll___depname) $(__plotlib___depname)
245 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
246 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
248 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
249 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
251 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
252 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
254 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
255 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**
258 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
259 -if exist $(OBJS)\*.res del $(OBJS)\*.res
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
261 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).ilk
262 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).pdb
263 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
264 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
266 !if "$(SHARED)" == "1"
267 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
268 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
269 $(PLOTDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
273 !if "$(SHARED)" == "0"
274 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
276 lib /NOLOGO /OUT:$@ @<<