]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/plot/makefile.vc
regenerated makefiles
[wxWidgets.git] / contrib / build / plot / makefile.vc
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
7 !include <../../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 LIBDIRNAME = \
16 ..\..\src\plot\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 PLOTDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_2) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\plot\..\..\..\include /I$(LIBDIRNAME) \
25 /I..\..\src\plot\..\..\..\src\tiff /I..\..\src\plot\..\..\..\src\jpeg \
26 /I..\..\src\plot\..\..\..\src\png /I..\..\src\plot\..\..\..\src\zlib \
27 /I..\..\src\plot\..\..\..\src\regex \
28 /I..\..\src\plot\..\..\..\src\expat\lib /I..\..\src\plot\..\..\include \
29 /DWXUSINGDLL /DWXMAKINGDLL_PLOT $(CXXFLAGS) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_plotdll.pch"
31 PLOTDLL_OBJECTS = \
32 $(OBJS)\plotdll_dummy.obj \
33 $(OBJS)\plotdll_plot.obj
34 PLOTLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
35 $(__DEBUGINFO_2) \
36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.pdb \
37 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
38 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\plot\..\..\..\include /I$(LIBDIRNAME) \
40 /I..\..\src\plot\..\..\..\src\tiff /I..\..\src\plot\..\..\..\src\jpeg \
41 /I..\..\src\plot\..\..\..\src\png /I..\..\src\plot\..\..\..\src\zlib \
42 /I..\..\src\plot\..\..\..\src\regex \
43 /I..\..\src\plot\..\..\..\src\expat\lib /I..\..\src\plot\..\..\include \
44 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch"
45 PLOTLIB_OBJECTS = \
46 $(OBJS)\plotlib_dummy.obj \
47 $(OBJS)\plotlib_plot.obj
48
49 ### Conditionally set variables: ###
50
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"
79 __DEBUGINFO = d
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"
88 __DEBUGINFO = d
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"
103 __DEBUGINFO_2 = /Zi
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"
112 __DEBUGINFO_2 = /Zi
113 !endif
114 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
115 __DEBUGRUNTIME_12 =
116 !endif
117 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 __DEBUGRUNTIME_12 = d
119 !endif
120 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
121 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
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"
130 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
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
138 !if "$(USE_GUI)" == "1"
139 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !endif
141 !if "$(USE_GUI)" == "1"
142 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
143 !endif
144 !if "$(USE_GUI)" == "1"
145 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
146 !endif
147 !if "$(BUILD)" == "debug"
148 __OPTIMIZEFLAG = /Od
149 !endif
150 !if "$(BUILD)" == "release"
151 __OPTIMIZEFLAG = /O2
152 !endif
153 !if "$(RUNTIME_LIBS)" == "dynamic"
154 __RUNTIME_LIBS = D
155 !endif
156 !if "$(RUNTIME_LIBS)" == "static"
157 __RUNTIME_LIBS = T
158 !endif
159 !if "$(UNICODE)" == "1"
160 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
161 !endif
162 !if "$(MONOLITHIC)" == "0"
163 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
164 !endif
165 !if "$(MONOLITHIC)" == "0"
166 __WXLIB_CORE_p = \
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
168 !endif
169 !if "$(MONOLITHIC)" == "1"
170 __WXLIB_MONO_p = \
171 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
172 !endif
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
175 !endif
176 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
177 ____DEBUGINFO = /D_DEBUG
178 !endif
179 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
180 ____DEBUGINFO =
181 !endif
182 !if "$(DEBUG_INFO)" == "0"
183 ____DEBUGINFO =
184 !endif
185 !if "$(DEBUG_INFO)" == "1"
186 ____DEBUGINFO = /D_DEBUG
187 !endif
188 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
189 ____DEBUGRUNTIME_11_p =
190 !endif
191 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
192 ____DEBUGRUNTIME_11_p = /D_DEBUG
193 !endif
194 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
195 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
196 !endif
197 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
198 ____DEBUGRUNTIME_2_p =
199 !endif
200 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
201 ____DEBUGRUNTIME_2_p = /D_DEBUG
202 !endif
203 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
204 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
205 !endif
206 !if "$(SHARED)" == "1"
207 __plotdll___depname = \
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
209 !endif
210 !if "$(SHARED)" == "0"
211 __plotlib___depname = \
212 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
213 !endif
214
215
216 all: $(OBJS)
217 $(OBJS):
218 -if not exist $(OBJS) mkdir $(OBJS)
219
220 ### Targets: ###
221
222 all: $(__plotdll___depname) $(__plotlib___depname)
223
224 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
225 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
226
227 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
228 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
229
230 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
231 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
232
233 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
234 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**
235
236 clean:
237 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
238 -if exist $(OBJS)\*.res del $(OBJS)\*.res
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
242
243 !if "$(SHARED)" == "1"
244 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_dummy.obj
245 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
246 $(PLOTDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
247 <<
248 !endif
249
250 !if "$(SHARED)" == "0"
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(PLOTLIB_OBJECTS) $(OBJS)\plotlib_dummy.obj
252 if exist $@ del $@
253 lib /NOLOGO /OUT:$@ @<<
254 $(PLOTLIB_OBJECTS)
255 <<
256 !endif