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)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\gizmos\..\..\..\include /I$(LIBDIRNAME) \
21 /I..\..\src\gizmos\..\..\..\src\tiff /I..\..\src\gizmos\..\..\..\src\jpeg \
22 /I..\..\src\gizmos\..\..\..\src\png /I..\..\src\gizmos\..\..\..\src\zlib \
23 /I..\..\src\gizmos\..\..\..\src\regex \
24 /I..\..\src\gizmos\..\..\..\src\expat\lib \
25 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
26 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmosdll.pch"
28 $(OBJS)\gizmosdll_dummy.obj \
29 $(OBJS)\gizmosdll_dynamicsash.obj \
30 $(OBJS)\gizmosdll_editlbox.obj \
31 $(OBJS)\gizmosdll_ledctrl.obj \
32 $(OBJS)\gizmosdll_multicell.obj \
33 $(OBJS)\gizmosdll_splittree.obj \
34 $(OBJS)\gizmosdll_statpict.obj
35 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
36 /DWIN32 $(__DEBUGINFO_2) \
37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
38 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
40 /I..\..\src\gizmos\..\..\..\include /I$(LIBDIRNAME) \
41 /I..\..\src\gizmos\..\..\..\src\tiff /I..\..\src\gizmos\..\..\..\src\jpeg \
42 /I..\..\src\gizmos\..\..\..\src\png /I..\..\src\gizmos\..\..\..\src\zlib \
43 /I..\..\src\gizmos\..\..\..\src\regex \
44 /I..\..\src\gizmos\..\..\..\src\expat\lib \
45 /I..\..\src\gizmos\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
46 /Fp"$(OBJS)\wxprec_gizmoslib.pch"
48 $(OBJS)\gizmoslib_dummy.obj \
49 $(OBJS)\gizmoslib_dynamicsash.obj \
50 $(OBJS)\gizmoslib_editlbox.obj \
51 $(OBJS)\gizmoslib_ledctrl.obj \
52 $(OBJS)\gizmoslib_multicell.obj \
53 $(OBJS)\gizmoslib_splittree.obj \
54 $(OBJS)\gizmoslib_statpict.obj
56 ..\..\src\gizmos\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
58 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
60 ### Conditionally set variables: ###
62 !if "$(USE_GUI)" == "0"
65 !if "$(USE_GUI)" == "1"
68 !if "$(OFFICIAL_BUILD)" == "0"
69 VENDORTAG = _$(VENDOR)
71 !if "$(OFFICIAL_BUILD)" == "1"
74 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
77 !if "$(DEBUG_FLAG)" == "1"
80 !if "$(SHARED)" == "1"
83 !if "$(UNICODE)" == "1"
86 !if "$(WXUNIV)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 !if "$(DEBUG_INFO)" == "0"
98 !if "$(DEBUG_INFO)" == "1"
101 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
102 __DEBUGINFO_1 = /DEBUG
104 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
107 !if "$(DEBUG_INFO)" == "0"
110 !if "$(DEBUG_INFO)" == "1"
111 __DEBUGINFO_1 = /DEBUG
113 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
116 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
119 !if "$(DEBUG_INFO)" == "0"
122 !if "$(DEBUG_INFO)" == "1"
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 __DEBUGRUNTIME_12 = d
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
143 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
144 __DEBUG_DEFINE_p = /D__WXDEBUG__
146 !if "$(DEBUG_FLAG)" == "1"
147 __DEBUG_DEFINE_p = /D__WXDEBUG__
149 !if "$(USE_GUI)" == "1"
150 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
152 !if "$(USE_GUI)" == "1"
153 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
155 !if "$(USE_GUI)" == "1"
156 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
158 !if "$(BUILD)" == "debug"
161 !if "$(BUILD)" == "release"
164 !if "$(RUNTIME_LIBS)" == "dynamic"
167 !if "$(RUNTIME_LIBS)" == "static"
170 !if "$(UNICODE)" == "1"
171 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
173 !if "$(MONOLITHIC)" == "0"
174 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
176 !if "$(MONOLITHIC)" == "0"
178 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
180 !if "$(MONOLITHIC)" == "1"
182 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
184 !if "$(WXUNIV)" == "1"
185 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
187 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
188 ____DEBUGINFO = /D_DEBUG
190 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
193 !if "$(DEBUG_INFO)" == "0"
196 !if "$(DEBUG_INFO)" == "1"
197 ____DEBUGINFO = /D_DEBUG
199 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
200 ____DEBUGRUNTIME_11_p =
202 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
203 ____DEBUGRUNTIME_11_p = /D_DEBUG
205 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
206 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
208 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 ____DEBUGRUNTIME_2_p =
211 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
212 ____DEBUGRUNTIME_2_p = /D_DEBUG
214 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
215 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
217 !if "$(SHARED)" == "1"
218 __gizmosdll___depname = \
219 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
221 !if "$(SHARED)" == "0"
222 __gizmoslib___depname = \
223 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
229 -if not exist $(OBJS) mkdir $(OBJS)
233 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
235 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
238 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
241 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
244 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
247 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
250 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
253 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
256 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
259 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
262 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
265 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
268 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
271 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
274 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
281 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
282 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
284 !if "$(SHARED)" == "1"
285 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_dummy.obj
286 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
287 $(GIZMOSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
291 !if "$(SHARED)" == "0"
292 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(GIZMOSLIB_OBJECTS) $(OBJS)\gizmoslib_dummy.obj
294 lib /NOLOGO /OUT:$@ @<<