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