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