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) \
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) /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmosdll.pch"
24 $(OBJS)\gizmosdll_dummy.obj \
25 $(OBJS)\gizmosdll_dynamicsash.obj \
26 $(OBJS)\gizmosdll_editlbox.obj \
27 $(OBJS)\gizmosdll_ledctrl.obj \
28 $(OBJS)\gizmosdll_multicell.obj \
29 $(OBJS)\gizmosdll_splittree.obj \
30 $(OBJS)\gizmosdll_statpict.obj
31 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) \
32 /DWIN32 $(__DEBUGINFO) \
33 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
34 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
37 /I..\..\src\gizmos\..\..\include $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
38 /Fp"$(OBJS)\wxprec_gizmoslib.pch"
40 $(OBJS)\gizmoslib_dummy.obj \
41 $(OBJS)\gizmoslib_dynamicsash.obj \
42 $(OBJS)\gizmoslib_editlbox.obj \
43 $(OBJS)\gizmoslib_ledctrl.obj \
44 $(OBJS)\gizmoslib_multicell.obj \
45 $(OBJS)\gizmoslib_splittree.obj \
46 $(OBJS)\gizmoslib_statpict.obj
48 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
50 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
52 ### Conditionally set variables: ###
54 !if "$(SHARED)" == "0"
55 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
57 !if "$(SHARED)" == "1"
58 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
60 !if "$(USE_GUI)" == "0"
63 !if "$(USE_GUI)" == "1"
66 !if "$(OFFICIAL_BUILD)" == "0"
67 VENDORTAG = _$(VENDOR)
69 !if "$(OFFICIAL_BUILD)" == "1"
72 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75 !if "$(DEBUG_FLAG)" == "1"
78 !if "$(SHARED)" == "1"
81 !if "$(UNICODE)" == "1"
84 !if "$(WXUNIV)" == "1"
87 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93 !if "$(DEBUG_INFO)" == "0"
96 !if "$(DEBUG_INFO)" == "1"
99 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
100 __DEBUGINFO_1 = /DEBUG
102 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105 !if "$(DEBUG_INFO)" == "0"
108 !if "$(DEBUG_INFO)" == "1"
109 __DEBUGINFO_1 = /DEBUG
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
123 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
127 __DEBUGRUNTIME_13 = d
129 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
130 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
132 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
135 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
138 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
139 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
141 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
142 __DEBUG_DEFINE_p = /D__WXDEBUG__
144 !if "$(DEBUG_FLAG)" == "1"
145 __DEBUG_DEFINE_p = /D__WXDEBUG__
147 !if "$(USE_GUI)" == "1"
148 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
153 !if "$(USE_GUI)" == "1"
154 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
156 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
157 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
159 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
160 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
162 !if "$(BUILD)" == "debug"
165 !if "$(BUILD)" == "release"
168 !if "$(RUNTIME_LIBS)" == "dynamic"
171 !if "$(RUNTIME_LIBS)" == "static"
174 !if "$(UNICODE)" == "1"
175 __UNICODE_DEFINE_p = /D_UNICODE
178 __UNICOWS_LIB_p = unicows.lib
180 !if "$(MONOLITHIC)" == "0"
181 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
183 !if "$(MONOLITHIC)" == "0"
185 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
187 !if "$(MONOLITHIC)" == "1"
189 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
191 !if "$(WXUNIV)" == "1"
192 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
194 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
195 ____DEBUGINFO = /D_DEBUG
197 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 !if "$(DEBUG_INFO)" == "0"
203 !if "$(DEBUG_INFO)" == "1"
204 ____DEBUGINFO = /D_DEBUG
206 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
207 ____DEBUGRUNTIME_12_p =
209 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
210 ____DEBUGRUNTIME_12_p = /D_DEBUG
212 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
213 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
215 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
216 ____DEBUGRUNTIME_2_p =
218 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
219 ____DEBUGRUNTIME_2_p = /D_DEBUG
221 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
222 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
224 !if "$(SHARED)" == "1"
225 __gizmosdll___depname = \
226 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
228 !if "$(SHARED)" == "0"
229 __gizmoslib___depname = \
230 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
236 -if not exist $(OBJS) mkdir $(OBJS)
240 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
242 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
243 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
245 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
246 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
248 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
249 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
251 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
252 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
254 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
255 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
257 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
258 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
260 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
261 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
263 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
264 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
266 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
267 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
269 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
272 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
275 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
278 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
281 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
285 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
286 -if exist $(OBJS)\*.res del $(OBJS)\*.res
287 -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
288 -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
289 -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
290 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
291 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
293 !if "$(SHARED)" == "1"
294 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
295 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
296 $(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
300 !if "$(SHARED)" == "0"
301 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
303 lib /NOLOGO /OUT:$@ @<<