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