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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
28 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_gizmosdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 $(OBJS)\gizmosdll_dummy.obj \
32 $(OBJS)\gizmosdll_dynamicsash.obj \
33 $(OBJS)\gizmosdll_editlbox.obj \
34 $(OBJS)\gizmosdll_ledctrl.obj \
35 $(OBJS)\gizmosdll_multicell.obj \
36 $(OBJS)\gizmosdll_splittree.obj \
37 $(OBJS)\gizmosdll_statpict.obj
38 GIZMOSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
40 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.pdb \
41 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
42 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
44 /I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\gizmoslib_dummy.obj \
48 $(OBJS)\gizmoslib_dynamicsash.obj \
49 $(OBJS)\gizmoslib_editlbox.obj \
50 $(OBJS)\gizmoslib_ledctrl.obj \
51 $(OBJS)\gizmoslib_multicell.obj \
52 $(OBJS)\gizmoslib_splittree.obj \
53 $(OBJS)\gizmoslib_statpict.obj
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
66 !if "$(OFFICIAL_BUILD)" == "1"
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72 !if "$(DEBUG_FLAG)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(SHARED)" == "1"
84 !if "$(MONOLITHIC)" == "0"
87 !if "$(MONOLITHIC)" == "1"
90 !if "$(SHARED)" == "1"
91 __gizmosdll___depname = \
92 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll
94 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
95 __DEBUGINFO_2 = /DEBUG
97 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
100 !if "$(DEBUG_INFO)" == "0"
103 !if "$(DEBUG_INFO)" == "1"
104 __DEBUGINFO_2 = /DEBUG
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
107 ____DEBUGRUNTIME_3_p =
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
110 ____DEBUGRUNTIME_3_p = /D_DEBUG
112 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
113 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
115 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
118 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
121 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
122 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
124 !if "$(MONOLITHIC)" == "1"
126 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
131 !if "$(USE_GUI)" == "1"
132 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
138 __UNICOWS_LIB_p = unicows.lib
140 !if "$(MONOLITHIC)" == "0"
142 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
144 !if "$(MONOLITHIC)" == "0"
146 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
148 !if "$(SHARED)" == "0"
149 __gizmoslib___depname = \
150 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
152 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
153 ____DEBUGRUNTIME_15_p =
155 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
156 ____DEBUGRUNTIME_15_p = /D_DEBUG
158 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
159 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
161 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
164 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
165 __DEBUGRUNTIME_16 = d
167 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
168 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
170 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
173 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
176 !if "$(DEBUG_INFO)" == "0"
179 !if "$(DEBUG_INFO)" == "1"
182 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
183 ____DEBUGINFO = /D_DEBUG
185 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
188 !if "$(DEBUG_INFO)" == "0"
191 !if "$(DEBUG_INFO)" == "1"
192 ____DEBUGINFO = /D_DEBUG
194 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 !if "$(DEBUG_INFO)" == "0"
203 !if "$(DEBUG_INFO)" == "1"
206 !if "$(BUILD)" == "debug"
209 !if "$(BUILD)" == "release"
212 !if "$(RUNTIME_LIBS)" == "dynamic"
215 !if "$(RUNTIME_LIBS)" == "static"
218 !if "$(USE_EXCEPTIONS)" == "0"
221 !if "$(USE_EXCEPTIONS)" == "1"
222 __EXCEPTIONSFLAG = /GR
224 !if "$(USE_EXCEPTIONS)" == "0"
227 !if "$(USE_EXCEPTIONS)" == "1"
228 __EXCEPTIONSFLAG_0 = /GX
230 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
231 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
234 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
236 !if "$(WXUNIV)" == "1"
237 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
239 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
240 __DEBUG_DEFINE_p = /D__WXDEBUG__
242 !if "$(DEBUG_FLAG)" == "1"
243 __DEBUG_DEFINE_p = /D__WXDEBUG__
245 !if "$(UNICODE)" == "1"
246 __UNICODE_DEFINE_p = /D_UNICODE
248 !if "$(SHARED)" == "0"
249 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
251 !if "$(SHARED)" == "1"
252 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
258 -if not exist $(OBJS) mkdir $(OBJS)
262 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
265 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
266 -if exist $(OBJS)\*.res del $(OBJS)\*.res
267 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll
268 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk
269 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb
270 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
271 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
273 !if "$(SHARED)" == "1"
274 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
275 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
276 $(GIZMOSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
280 !if "$(SHARED)" == "0"
281 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
283 lib /NOLOGO /OUT:$@ @<<
288 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
291 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
294 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
297 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
300 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
303 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
306 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
309 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
312 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
315 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
318 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
321 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
324 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
327 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**