]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.vc
added wxAdvanced
[wxWidgets.git] / contrib / build / gizmos / makefile.vc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
f509d00d 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
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
3f55f5b8
VS
15GIZMOSDLL_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"
27GIZMOSDLL_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
35GIZMOSLIB_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"
47GIZMOSLIB_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
55LIBDIRNAME = \
56 ..\..\src\gizmos\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
57OBJS = \
58 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
250700e4
RD
59
60### Conditionally set variables: ###
61
62!if "$(USE_GUI)" == "0"
63PORTNAME = base
64!endif
65!if "$(USE_GUI)" == "1"
66PORTNAME = msw
67!endif
68!if "$(OFFICIAL_BUILD)" == "0"
69VENDORTAG = _$(VENDOR)
70!endif
71!if "$(OFFICIAL_BUILD)" == "1"
72VENDORTAG =
73!endif
3f55f5b8
VS
74!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75WXDEBUGFLAG = d
76!endif
77!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
78WXDEBUGFLAG = d
79!endif
80!if "$(SHARED)" == "1"
81WXDLLFLAG = dll
82!endif
83!if "$(UNICODE)" == "1"
84WXUNICODEFLAG = u
85!endif
86!if "$(WXUNIV)" == "1"
87WXUNIVNAME = univ
88!endif
3f55f5b8
VS
89!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90__DEBUGINFO = d
250700e4 91!endif
3f55f5b8
VS
92!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93__DEBUGINFO =
250700e4 94!endif
3f55f5b8
VS
95!if "$(DEBUG_INFO)" == "0"
96__DEBUGINFO =
250700e4 97!endif
3f55f5b8
VS
98!if "$(DEBUG_INFO)" == "1"
99__DEBUGINFO = d
250700e4 100!endif
3f55f5b8
VS
101!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
102__DEBUGINFO_1 = /DEBUG
250700e4 103!endif
3f55f5b8
VS
104!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105__DEBUGINFO_1 =
250700e4 106!endif
3f55f5b8
VS
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"
250700e4
RD
144__DEBUG_DEFINE_p = /D__WXDEBUG__
145!endif
3f55f5b8
VS
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
250700e4
RD
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"
f509d00d 168__RUNTIME_LIBS = T
250700e4
RD
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"
3f55f5b8
VS
177__WXLIB_CORE_p = \
178 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
250700e4
RD
179!endif
180!if "$(MONOLITHIC)" == "1"
3f55f5b8
VS
181__WXLIB_MONO_p = \
182 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
250700e4
RD
183!endif
184!if "$(WXUNIV)" == "1"
185__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
186!endif
3f55f5b8
VS
187!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
188____DEBUGINFO = /D_DEBUG
bdc408c4 189!endif
3f55f5b8
VS
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)
bdc408c4 216!endif
250700e4 217!if "$(SHARED)" == "1"
3f55f5b8
VS
218__gizmosdll___depname = \
219 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
250700e4
RD
220!endif
221!if "$(SHARED)" == "0"
3f55f5b8
VS
222__gizmoslib___depname = \
223 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
250700e4
RD
224!endif
225
226
227all: $(OBJS)
228$(OBJS):
229 -if not exist $(OBJS) mkdir $(OBJS)
230
231### Targets: ###
232
233all: $(__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
277clean:
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
3f55f5b8
VS
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
250700e4
RD
283
284!if "$(SHARED)" == "1"
3f55f5b8
VS
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
250700e4
RD
288<<
289!endif
290
291!if "$(SHARED)" == "0"
3f55f5b8 292$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(GIZMOSLIB_OBJECTS) $(OBJS)\gizmoslib_dummy.obj
250700e4
RD
293 if exist $@ del $@
294 lib /NOLOGO /OUT:$@ @<<
3f55f5b8 295 $(GIZMOSLIB_OBJECTS)
250700e4
RD
296<<
297!endif