1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 # -------------------------------------------------------------------------
15 GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
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 \
21 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
22 $(CXXFLAGS) $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
23 /Fp"$(OBJS)\wxprec_gizmosdll.pch"
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
32 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) \
33 /DWIN32 $(__DEBUGINFO_2) \
34 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
35 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
36 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
37 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
38 /I..\..\src\gizmos\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
39 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch"
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
49 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
51 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
53 ### Conditionally set variables: ###
55 !if "$(SHARED)" == "0"
56 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
58 !if "$(SHARED)" == "1"
59 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
61 !if "$(USE_GUI)" == "0"
64 !if "$(USE_GUI)" == "1"
67 !if "$(OFFICIAL_BUILD)" == "0"
68 VENDORTAG = _$(VENDOR)
70 !if "$(OFFICIAL_BUILD)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
76 !if "$(DEBUG_FLAG)" == "1"
79 !if "$(SHARED)" == "1"
82 !if "$(UNICODE)" == "1"
85 !if "$(WXUNIV)" == "1"
88 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
91 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
94 !if "$(DEBUG_INFO)" == "0"
97 !if "$(DEBUG_INFO)" == "1"
100 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
101 __DEBUGINFO_1 = /DEBUG
103 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
106 !if "$(DEBUG_INFO)" == "0"
109 !if "$(DEBUG_INFO)" == "1"
110 __DEBUGINFO_1 = /DEBUG
112 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
115 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
118 !if "$(DEBUG_INFO)" == "0"
121 !if "$(DEBUG_INFO)" == "1"
124 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
127 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
128 __DEBUGRUNTIME_15 = d
130 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
131 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
133 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
136 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
139 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
140 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
142 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
143 __DEBUG_DEFINE_p = /D__WXDEBUG__
145 !if "$(DEBUG_FLAG)" == "1"
146 __DEBUG_DEFINE_p = /D__WXDEBUG__
148 !if "$(USE_EXCEPTIONS)" == "0"
151 !if "$(USE_EXCEPTIONS)" == "1"
152 __EXCEPTIONSFLAG = /GR
154 !if "$(USE_EXCEPTIONS)" == "0"
157 !if "$(USE_EXCEPTIONS)" == "1"
158 __EXCEPTIONSFLAG_0 = /GX
160 !if "$(USE_GUI)" == "1"
161 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
166 !if "$(USE_GUI)" == "1"
167 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
169 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
170 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
172 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
173 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
175 !if "$(BUILD)" == "debug"
178 !if "$(BUILD)" == "release"
181 !if "$(RUNTIME_LIBS)" == "dynamic"
184 !if "$(RUNTIME_LIBS)" == "static"
187 !if "$(UNICODE)" == "1"
188 __UNICODE_DEFINE_p = /D_UNICODE
191 __UNICOWS_LIB_p = unicows.lib
193 !if "$(MONOLITHIC)" == "0"
194 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
196 !if "$(MONOLITHIC)" == "0"
198 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
200 !if "$(MONOLITHIC)" == "1"
202 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
204 !if "$(WXUNIV)" == "1"
205 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
208 ____DEBUGINFO = /D_DEBUG
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
213 !if "$(DEBUG_INFO)" == "0"
216 !if "$(DEBUG_INFO)" == "1"
217 ____DEBUGINFO = /D_DEBUG
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 ____DEBUGRUNTIME_14_p =
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 ____DEBUGRUNTIME_14_p = /D_DEBUG
225 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
228 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
229 ____DEBUGRUNTIME_2_p =
231 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
232 ____DEBUGRUNTIME_2_p = /D_DEBUG
234 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
235 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
237 !if "$(SHARED)" == "1"
238 __gizmosdll___depname = \
239 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
241 !if "$(SHARED)" == "0"
242 __gizmoslib___depname = \
243 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
255 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
256 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
258 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
259 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
261 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
262 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
264 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
267 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
270 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
273 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
276 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
279 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
282 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
285 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
288 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
291 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
294 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
298 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
299 -if exist $(OBJS)\*.res del $(OBJS)\*.res
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
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
306 !if "$(SHARED)" == "1"
307 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
308 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
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
313 !if "$(SHARED)" == "0"
314 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
316 lib /NOLOGO /OUT:$@ @<<