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