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 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
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)
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 \
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)
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
53 ### Conditionally set variables: ###
55 !if "$(USE_GUI)" == "0"
58 !if "$(USE_GUI)" == "1"
61 !if "$(OFFICIAL_BUILD)" == "0"
62 VENDORTAG = _$(VENDOR)
64 !if "$(OFFICIAL_BUILD)" == "1"
67 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 !if "$(DEBUG_FLAG)" == "1"
73 !if "$(UNICODE)" == "1"
76 !if "$(WXUNIV)" == "1"
79 !if "$(SHARED)" == "1"
82 !if "$(SHARED)" == "1"
83 __gizmosdll___depname = \
84 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
86 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
87 __DEBUGINFO_2 = /DEBUG
89 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
92 !if "$(DEBUG_INFO)" == "0"
95 !if "$(DEBUG_INFO)" == "1"
96 __DEBUGINFO_2 = /DEBUG
98 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
99 ____DEBUGRUNTIME_3_p =
101 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
102 ____DEBUGRUNTIME_3_p = /D_DEBUG
104 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
105 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
107 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
110 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
113 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
114 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
116 !if "$(MONOLITHIC)" == "1"
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
120 !if "$(USE_GUI)" == "1"
121 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
123 !if "$(USE_GUI)" == "1"
124 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
126 !if "$(USE_GUI)" == "1"
127 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
130 __UNICOWS_LIB_p = unicows.lib
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
135 !if "$(MONOLITHIC)" == "0"
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
139 !if "$(SHARED)" == "0"
140 __gizmoslib___depname = \
141 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
144 ____DEBUGRUNTIME_15_p =
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 ____DEBUGRUNTIME_15_p = /D_DEBUG
149 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
150 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
152 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
155 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
156 __DEBUGRUNTIME_16 = d
158 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
159 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
161 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
167 !if "$(DEBUG_INFO)" == "0"
170 !if "$(DEBUG_INFO)" == "1"
173 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
174 ____DEBUGINFO = /D_DEBUG
176 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
179 !if "$(DEBUG_INFO)" == "0"
182 !if "$(DEBUG_INFO)" == "1"
183 ____DEBUGINFO = /D_DEBUG
185 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
188 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
191 !if "$(DEBUG_INFO)" == "0"
194 !if "$(DEBUG_INFO)" == "1"
197 !if "$(BUILD)" == "debug"
200 !if "$(BUILD)" == "release"
203 !if "$(RUNTIME_LIBS)" == "dynamic"
206 !if "$(RUNTIME_LIBS)" == "static"
209 !if "$(USE_EXCEPTIONS)" == "0"
212 !if "$(USE_EXCEPTIONS)" == "1"
213 __EXCEPTIONSFLAG = /GR
215 !if "$(USE_EXCEPTIONS)" == "0"
218 !if "$(USE_EXCEPTIONS)" == "1"
219 __EXCEPTIONSFLAG_0 = /GX
221 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
222 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
224 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
225 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
227 !if "$(WXUNIV)" == "1"
228 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
230 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
231 __DEBUG_DEFINE_p = /D__WXDEBUG__
233 !if "$(DEBUG_FLAG)" == "1"
234 __DEBUG_DEFINE_p = /D__WXDEBUG__
236 !if "$(UNICODE)" == "1"
237 __UNICODE_DEFINE_p = /D_UNICODE
239 !if "$(SHARED)" == "0"
240 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
242 !if "$(SHARED)" == "1"
243 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
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
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
271 !if "$(SHARED)" == "0"
272 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
274 lib /NOLOGO /OUT:$@ @<<
279 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
282 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
285 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
288 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
291 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
294 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
297 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
300 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
303 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
306 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
309 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
312 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
315 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
318 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**