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 /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotdll.pch"
26 $(OBJS)\plotdll_dummy.obj \
27 $(OBJS)\plotdll_plot.obj
28 PLOTLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) /DWIN32 \
30 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.pdb \
31 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
32 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
33 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
34 /I..\..\src\plot\..\..\include $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
35 /Fp"$(OBJS)\wxprec_plotlib.pch"
37 $(OBJS)\plotlib_dummy.obj \
38 $(OBJS)\plotlib_plot.obj
40 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
42 ### Conditionally set variables: ###
44 !if "$(SHARED)" == "0"
45 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_lib$(CFG)
47 !if "$(SHARED)" == "1"
48 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_dll$(CFG)
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(OFFICIAL_BUILD)" == "0"
57 VENDORTAG = _$(VENDOR)
59 !if "$(OFFICIAL_BUILD)" == "1"
62 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 !if "$(DEBUG_FLAG)" == "1"
68 !if "$(SHARED)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
80 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83 !if "$(DEBUG_INFO)" == "0"
86 !if "$(DEBUG_INFO)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 __DEBUGINFO_1 = /DEBUG
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 !if "$(DEBUG_INFO)" == "0"
98 !if "$(DEBUG_INFO)" == "1"
99 __DEBUGINFO_1 = /DEBUG
101 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
104 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
107 !if "$(DEBUG_INFO)" == "0"
110 !if "$(DEBUG_INFO)" == "1"
113 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
116 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
117 __DEBUGRUNTIME_13 = d
119 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
120 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
122 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
125 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
129 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
131 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
132 __DEBUG_DEFINE_p = /D__WXDEBUG__
134 !if "$(DEBUG_FLAG)" == "1"
135 __DEBUG_DEFINE_p = /D__WXDEBUG__
137 !if "$(USE_GUI)" == "1"
138 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
146 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
147 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
149 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
150 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
152 !if "$(BUILD)" == "debug"
155 !if "$(BUILD)" == "release"
158 !if "$(RUNTIME_LIBS)" == "dynamic"
161 !if "$(RUNTIME_LIBS)" == "static"
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = /D_UNICODE
168 __UNICOWS_LIB_p = unicows.lib
170 !if "$(MONOLITHIC)" == "0"
171 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
177 !if "$(MONOLITHIC)" == "1"
179 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
181 !if "$(WXUNIV)" == "1"
182 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
184 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 ____DEBUGINFO = /D_DEBUG
187 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
190 !if "$(DEBUG_INFO)" == "0"
193 !if "$(DEBUG_INFO)" == "1"
194 ____DEBUGINFO = /D_DEBUG
196 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
197 ____DEBUGRUNTIME_12_p =
199 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
200 ____DEBUGRUNTIME_12_p = /D_DEBUG
202 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
203 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
205 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
206 ____DEBUGRUNTIME_2_p =
208 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
209 ____DEBUGRUNTIME_2_p = /D_DEBUG
211 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
212 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
214 !if "$(SHARED)" == "1"
215 __plotdll___depname = \
216 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
218 !if "$(SHARED)" == "0"
219 __plotlib___depname = \
220 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
226 -if not exist $(OBJS) mkdir $(OBJS)
230 all: $(__plotdll___depname) $(__plotlib___depname)
232 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
235 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
238 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
241 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**
245 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
246 -if exist $(OBJS)\*.res del $(OBJS)\*.res
247 -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
248 -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
249 -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
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
253 !if "$(SHARED)" == "1"
254 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
255 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
256 $(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
260 !if "$(SHARED)" == "0"
261 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
263 lib /NOLOGO /OUT:$@ @<<