]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/gizmos/makefile.vc
added wxAdvanced
[wxWidgets.git] / contrib / build / gizmos / 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/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\gizmos\..\..\..\include /I$(LIBDIRNAME) \
21 /I..\..\src\gizmos\..\..\..\src\tiff /I..\..\src\gizmos\..\..\..\src\jpeg \
22 /I..\..\src\gizmos\..\..\..\src\png /I..\..\src\gizmos\..\..\..\src\zlib \
23 /I..\..\src\gizmos\..\..\..\src\regex \
24 /I..\..\src\gizmos\..\..\..\src\expat\lib \
25 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
26 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmosdll.pch"
27 GIZMOSDLL_OBJECTS = \
28 $(OBJS)\gizmosdll_dummy.obj \
29 $(OBJS)\gizmosdll_dynamicsash.obj \
30 $(OBJS)\gizmosdll_editlbox.obj \
31 $(OBJS)\gizmosdll_ledctrl.obj \
32 $(OBJS)\gizmosdll_multicell.obj \
33 $(OBJS)\gizmosdll_splittree.obj \
34 $(OBJS)\gizmosdll_statpict.obj
35 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
36 /DWIN32 $(__DEBUGINFO_2) \
37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
38 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
40 /I..\..\src\gizmos\..\..\..\include /I$(LIBDIRNAME) \
41 /I..\..\src\gizmos\..\..\..\src\tiff /I..\..\src\gizmos\..\..\..\src\jpeg \
42 /I..\..\src\gizmos\..\..\..\src\png /I..\..\src\gizmos\..\..\..\src\zlib \
43 /I..\..\src\gizmos\..\..\..\src\regex \
44 /I..\..\src\gizmos\..\..\..\src\expat\lib \
45 /I..\..\src\gizmos\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
46 /Fp"$(OBJS)\wxprec_gizmoslib.pch"
47 GIZMOSLIB_OBJECTS = \
48 $(OBJS)\gizmoslib_dummy.obj \
49 $(OBJS)\gizmoslib_dynamicsash.obj \
50 $(OBJS)\gizmoslib_editlbox.obj \
51 $(OBJS)\gizmoslib_ledctrl.obj \
52 $(OBJS)\gizmoslib_multicell.obj \
53 $(OBJS)\gizmoslib_splittree.obj \
54 $(OBJS)\gizmoslib_statpict.obj
55 LIBDIRNAME = \
56 ..\..\src\gizmos\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
57 OBJS = \
58 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
59
60 ### Conditionally set variables: ###
61
62 !if "$(USE_GUI)" == "0"
63 PORTNAME = base
64 !endif
65 !if "$(USE_GUI)" == "1"
66 PORTNAME = msw
67 !endif
68 !if "$(OFFICIAL_BUILD)" == "0"
69 VENDORTAG = _$(VENDOR)
70 !endif
71 !if "$(OFFICIAL_BUILD)" == "1"
72 VENDORTAG =
73 !endif
74 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75 WXDEBUGFLAG = d
76 !endif
77 !if "$(DEBUG_FLAG)" == "1"
78 WXDEBUGFLAG = d
79 !endif
80 !if "$(SHARED)" == "1"
81 WXDLLFLAG = dll
82 !endif
83 !if "$(UNICODE)" == "1"
84 WXUNICODEFLAG = u
85 !endif
86 !if "$(WXUNIV)" == "1"
87 WXUNIVNAME = univ
88 !endif
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 __DEBUGINFO = d
91 !endif
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93 __DEBUGINFO =
94 !endif
95 !if "$(DEBUG_INFO)" == "0"
96 __DEBUGINFO =
97 !endif
98 !if "$(DEBUG_INFO)" == "1"
99 __DEBUGINFO = d
100 !endif
101 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
102 __DEBUGINFO_1 = /DEBUG
103 !endif
104 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105 __DEBUGINFO_1 =
106 !endif
107 !if "$(DEBUG_INFO)" == "0"
108 __DEBUGINFO_1 =
109 !endif
110 !if "$(DEBUG_INFO)" == "1"
111 __DEBUGINFO_1 = /DEBUG
112 !endif
113 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 __DEBUGINFO_2 = /Zi
115 !endif
116 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 __DEBUGINFO_2 =
118 !endif
119 !if "$(DEBUG_INFO)" == "0"
120 __DEBUGINFO_2 =
121 !endif
122 !if "$(DEBUG_INFO)" == "1"
123 __DEBUGINFO_2 = /Zi
124 !endif
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 __DEBUGRUNTIME_12 =
127 !endif
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 __DEBUGRUNTIME_12 = d
130 !endif
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
133 !endif
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
135 __DEBUGRUNTIME_3 =
136 !endif
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
138 __DEBUGRUNTIME_3 = d
139 !endif
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
142 !endif
143 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
144 __DEBUG_DEFINE_p = /D__WXDEBUG__
145 !endif
146 !if "$(DEBUG_FLAG)" == "1"
147 __DEBUG_DEFINE_p = /D__WXDEBUG__
148 !endif
149 !if "$(USE_GUI)" == "1"
150 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
151 !endif
152 !if "$(USE_GUI)" == "1"
153 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
154 !endif
155 !if "$(USE_GUI)" == "1"
156 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
157 !endif
158 !if "$(BUILD)" == "debug"
159 __OPTIMIZEFLAG = /Od
160 !endif
161 !if "$(BUILD)" == "release"
162 __OPTIMIZEFLAG = /O2
163 !endif
164 !if "$(RUNTIME_LIBS)" == "dynamic"
165 __RUNTIME_LIBS = D
166 !endif
167 !if "$(RUNTIME_LIBS)" == "static"
168 __RUNTIME_LIBS = T
169 !endif
170 !if "$(UNICODE)" == "1"
171 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
172 !endif
173 !if "$(MONOLITHIC)" == "0"
174 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
175 !endif
176 !if "$(MONOLITHIC)" == "0"
177 __WXLIB_CORE_p = \
178 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
179 !endif
180 !if "$(MONOLITHIC)" == "1"
181 __WXLIB_MONO_p = \
182 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
183 !endif
184 !if "$(WXUNIV)" == "1"
185 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
186 !endif
187 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
188 ____DEBUGINFO = /D_DEBUG
189 !endif
190 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
191 ____DEBUGINFO = /DNDEBUG
192 !endif
193 !if "$(DEBUG_INFO)" == "0"
194 ____DEBUGINFO = /DNDEBUG
195 !endif
196 !if "$(DEBUG_INFO)" == "1"
197 ____DEBUGINFO = /D_DEBUG
198 !endif
199 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
200 ____DEBUGRUNTIME_11_p = /DNDEBUG
201 !endif
202 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
203 ____DEBUGRUNTIME_11_p = /D_DEBUG
204 !endif
205 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
206 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
207 !endif
208 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 ____DEBUGRUNTIME_2_p = /DNDEBUG
210 !endif
211 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
212 ____DEBUGRUNTIME_2_p = /D_DEBUG
213 !endif
214 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
215 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
216 !endif
217 !if "$(SHARED)" == "1"
218 __gizmosdll___depname = \
219 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
220 !endif
221 !if "$(SHARED)" == "0"
222 __gizmoslib___depname = \
223 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
224 !endif
225
226
227 all: $(OBJS)
228 $(OBJS):
229 -if not exist $(OBJS) mkdir $(OBJS)
230
231 ### Targets: ###
232
233 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
234
235 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
237
238 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
240
241 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
243
244 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
246
247 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
249
250 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
252
253 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
255
256 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
258
259 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
261
262 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
264
265 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
267
268 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
270
271 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
273
274 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
276
277 clean:
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
281 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
282 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
283
284 !if "$(SHARED)" == "1"
285 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_dummy.obj
286 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
287 $(GIZMOSDLL_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_BASE_p) $(__WXLIB_CORE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
288 <<
289 !endif
290
291 !if "$(SHARED)" == "0"
292 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(GIZMOSLIB_OBJECTS) $(OBJS)\gizmoslib_dummy.obj
293 if exist $@ del $@
294 lib /NOLOGO /OUT:$@ @<<
295 $(GIZMOSLIB_OBJECTS)
296 <<
297 !endif