]>
Commit | Line | Data |
---|---|---|
15e8daec VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
b14abf14 | 3 | # Bakefile 0.1.6 (http://bakefile.sourceforge.net) |
15e8daec VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
15e8daec VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
b14abf14 | 16 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4 |
15e8daec VS |
17 | OBJS = \ |
18 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 19 | LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
20 | SETUPHDIR = \ |
21 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
c4839ccf JS |
22 | PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \ |
23 | $(__DEBUGINFO_1) \ | |
c33fae85 | 24 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \ |
c4839ccf | 25 | $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
ec08d395 JS |
26 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ |
27 | /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
9bfe7ad9 | 28 | /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \ |
a4ad36cd | 29 | $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \ |
9bfe7ad9 | 30 | /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS) |
15e8daec VS |
31 | PLOTDLL_OBJECTS = \ |
32 | $(OBJS)\plotdll_dummy.obj \ | |
33 | $(OBJS)\plotdll_plot.obj | |
c4839ccf JS |
34 | PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \ |
35 | $(__DEBUGINFO_1) \ | |
c33fae85 | 36 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \ |
c4839ccf | 37 | $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
ec08d395 JS |
38 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ |
39 | /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
9bfe7ad9 VS |
40 | /I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \ |
41 | /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS) | |
15e8daec VS |
42 | PLOTLIB_OBJECTS = \ |
43 | $(OBJS)\plotlib_dummy.obj \ | |
44 | $(OBJS)\plotlib_plot.obj | |
45 | ||
46 | ### Conditionally set variables: ### | |
47 | ||
48 | !if "$(USE_GUI)" == "0" | |
49 | PORTNAME = base | |
50 | !endif | |
51 | !if "$(USE_GUI)" == "1" | |
52 | PORTNAME = msw | |
53 | !endif | |
54 | !if "$(OFFICIAL_BUILD)" == "0" | |
55 | VENDORTAG = _$(VENDOR) | |
56 | !endif | |
57 | !if "$(OFFICIAL_BUILD)" == "1" | |
58 | VENDORTAG = | |
59 | !endif | |
60 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
61 | WXDEBUGFLAG = d | |
62 | !endif | |
63 | !if "$(DEBUG_FLAG)" == "1" | |
64 | WXDEBUGFLAG = d | |
65 | !endif | |
15e8daec VS |
66 | !if "$(UNICODE)" == "1" |
67 | WXUNICODEFLAG = u | |
68 | !endif | |
69 | !if "$(WXUNIV)" == "1" | |
70 | WXUNIVNAME = univ | |
71 | !endif | |
b17c1746 DE |
72 | !if "$(SHARED)" == "1" |
73 | WXDLLFLAG = dll | |
15e8daec | 74 | !endif |
b14abf14 JS |
75 | !if "$(SHARED)" == "0" |
76 | LIBTYPE_SUFFIX = lib | |
77 | !endif | |
78 | !if "$(SHARED)" == "1" | |
79 | LIBTYPE_SUFFIX = dll | |
80 | !endif | |
dd65d8c8 RN |
81 | !if "$(MONOLITHIC)" == "0" |
82 | EXTRALIBS_FOR_BASE = | |
83 | !endif | |
84 | !if "$(MONOLITHIC)" == "1" | |
85 | EXTRALIBS_FOR_BASE = | |
86 | !endif | |
b17c1746 DE |
87 | !if "$(SHARED)" == "1" |
88 | __plotdll___depname = \ | |
c33fae85 | 89 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll |
15e8daec VS |
90 | !endif |
91 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 92 | __DEBUGINFO_2 = /DEBUG |
15e8daec VS |
93 | !endif |
94 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 95 | __DEBUGINFO_2 = |
15e8daec VS |
96 | !endif |
97 | !if "$(DEBUG_INFO)" == "0" | |
c4839ccf | 98 | __DEBUGINFO_2 = |
15e8daec VS |
99 | !endif |
100 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 101 | __DEBUGINFO_2 = /DEBUG |
15e8daec | 102 | !endif |
15e8daec | 103 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
c4839ccf | 104 | ____DEBUGRUNTIME_3_p = |
15e8daec VS |
105 | !endif |
106 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
c4839ccf | 107 | ____DEBUGRUNTIME_3_p = /D_DEBUG |
15e8daec VS |
108 | !endif |
109 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
c4839ccf | 110 | ____DEBUGRUNTIME_3_p = $(____DEBUGINFO) |
15e8daec VS |
111 | !endif |
112 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
c4839ccf | 113 | __DEBUGRUNTIME_4 = |
15e8daec VS |
114 | !endif |
115 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
c4839ccf | 116 | __DEBUGRUNTIME_4 = d |
15e8daec VS |
117 | !endif |
118 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
c4839ccf | 119 | __DEBUGRUNTIME_4 = $(__DEBUGINFO) |
a4ad36cd | 120 | !endif |
b17c1746 DE |
121 | !if "$(MONOLITHIC)" == "1" |
122 | __WXLIB_MONO_p = \ | |
c33fae85 | 123 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
a4ad36cd | 124 | !endif |
b17c1746 | 125 | !if "$(USE_GUI)" == "1" |
9c2d002b | 126 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
a4ad36cd | 127 | !endif |
15e8daec | 128 | !if "$(USE_GUI)" == "1" |
9c2d002b | 129 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
15e8daec VS |
130 | !endif |
131 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 132 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
15e8daec | 133 | !endif |
b17c1746 DE |
134 | !if "$(MSLU)" == "1" |
135 | __UNICOWS_LIB_p = unicows.lib | |
15e8daec | 136 | !endif |
b17c1746 DE |
137 | !if "$(MONOLITHIC)" == "0" |
138 | __WXLIB_CORE_p = \ | |
c33fae85 | 139 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
ec08d395 | 140 | !endif |
b17c1746 | 141 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
142 | __WXLIB_BASE_p = \ |
143 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
ec08d395 | 144 | !endif |
b17c1746 DE |
145 | !if "$(SHARED)" == "0" |
146 | __plotlib___depname = \ | |
c33fae85 | 147 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib |
15e8daec | 148 | !endif |
b17c1746 | 149 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
c4839ccf | 150 | ____DEBUGRUNTIME_15_p = |
15e8daec | 151 | !endif |
b17c1746 | 152 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
c4839ccf | 153 | ____DEBUGRUNTIME_15_p = /D_DEBUG |
15e8daec | 154 | !endif |
b17c1746 | 155 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
c4839ccf | 156 | ____DEBUGRUNTIME_15_p = $(____DEBUGINFO) |
15e8daec | 157 | !endif |
b17c1746 | 158 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
c4839ccf | 159 | __DEBUGRUNTIME_16 = |
15e8daec | 160 | !endif |
b17c1746 | 161 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
c4839ccf | 162 | __DEBUGRUNTIME_16 = d |
2265a2d5 | 163 | !endif |
b17c1746 | 164 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
c4839ccf | 165 | __DEBUGRUNTIME_16 = $(__DEBUGINFO) |
15e8daec | 166 | !endif |
b17c1746 | 167 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 168 | __DEBUGINFO_1 = /Zi |
15e8daec | 169 | !endif |
b17c1746 | 170 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 171 | __DEBUGINFO_1 = |
15e8daec | 172 | !endif |
b17c1746 | 173 | !if "$(DEBUG_INFO)" == "0" |
c4839ccf | 174 | __DEBUGINFO_1 = |
b17c1746 DE |
175 | !endif |
176 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 177 | __DEBUGINFO_1 = /Zi |
15e8daec VS |
178 | !endif |
179 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
180 | ____DEBUGINFO = /D_DEBUG | |
181 | !endif | |
182 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
183 | ____DEBUGINFO = | |
184 | !endif | |
185 | !if "$(DEBUG_INFO)" == "0" | |
186 | ____DEBUGINFO = | |
187 | !endif | |
188 | !if "$(DEBUG_INFO)" == "1" | |
189 | ____DEBUGINFO = /D_DEBUG | |
190 | !endif | |
b17c1746 | 191 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 192 | __DEBUGINFO = d |
15e8daec | 193 | !endif |
b17c1746 | 194 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 195 | __DEBUGINFO = |
15e8daec | 196 | !endif |
b17c1746 | 197 | !if "$(DEBUG_INFO)" == "0" |
c4839ccf | 198 | __DEBUGINFO = |
15e8daec | 199 | !endif |
b17c1746 | 200 | !if "$(DEBUG_INFO)" == "1" |
c4839ccf | 201 | __DEBUGINFO = d |
15e8daec | 202 | !endif |
b17c1746 DE |
203 | !if "$(BUILD)" == "debug" |
204 | __OPTIMIZEFLAG = /Od | |
15e8daec | 205 | !endif |
b17c1746 DE |
206 | !if "$(BUILD)" == "release" |
207 | __OPTIMIZEFLAG = /O2 | |
15e8daec | 208 | !endif |
b17c1746 DE |
209 | !if "$(RUNTIME_LIBS)" == "dynamic" |
210 | __RUNTIME_LIBS = D | |
211 | !endif | |
212 | !if "$(RUNTIME_LIBS)" == "static" | |
213 | __RUNTIME_LIBS = T | |
214 | !endif | |
215 | !if "$(USE_EXCEPTIONS)" == "0" | |
216 | __EXCEPTIONSFLAG = | |
217 | !endif | |
218 | !if "$(USE_EXCEPTIONS)" == "1" | |
219 | __EXCEPTIONSFLAG = /GR | |
220 | !endif | |
221 | !if "$(USE_EXCEPTIONS)" == "0" | |
222 | __EXCEPTIONSFLAG_0 = | |
223 | !endif | |
224 | !if "$(USE_EXCEPTIONS)" == "1" | |
225 | __EXCEPTIONSFLAG_0 = /GX | |
226 | !endif | |
227 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
228 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
229 | !endif | |
230 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
231 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
232 | !endif | |
233 | !if "$(WXUNIV)" == "1" | |
234 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
235 | !endif | |
236 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
237 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
238 | !endif | |
239 | !if "$(DEBUG_FLAG)" == "1" | |
240 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
241 | !endif | |
242 | !if "$(UNICODE)" == "1" | |
243 | __UNICODE_DEFINE_p = /D_UNICODE | |
15e8daec | 244 | !endif |
15e8daec VS |
245 | |
246 | ||
247 | all: $(OBJS) | |
248 | $(OBJS): | |
249 | -if not exist $(OBJS) mkdir $(OBJS) | |
250 | ||
251 | ### Targets: ### | |
252 | ||
253 | all: $(__plotdll___depname) $(__plotlib___depname) | |
254 | ||
15e8daec VS |
255 | clean: |
256 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
257 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 258 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
c33fae85 RN |
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 | |
15e8daec VS |
264 | |
265 | !if "$(SHARED)" == "1" | |
c33fae85 | 266 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) |
c4839ccf | 267 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<< |
dd65d8c8 | 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 |
15e8daec VS |
269 | << |
270 | !endif | |
271 | ||
272 | !if "$(SHARED)" == "0" | |
c33fae85 | 273 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS) |
15e8daec VS |
274 | if exist $@ del $@ |
275 | lib /NOLOGO /OUT:$@ @<< | |
276 | $(PLOTLIB_OBJECTS) | |
277 | << | |
278 | !endif | |
b17c1746 DE |
279 | |
280 | $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp | |
281 | $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
282 | ||
283 | $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp | |
284 | $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $** | |
285 | ||
286 | $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp | |
287 | $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
288 | ||
289 | $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp | |
290 | $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $** | |
b14abf14 | 291 |