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