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
174 __UNICOWS_LIB_p = unicows.lib
176 !if "$(MONOLITHIC)" == "0"
177 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
179 !if "$(MONOLITHIC)" == "0"
181 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
183 !if "$(MONOLITHIC)" == "1"
185 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
187 !if "$(WXUNIV)" == "1"
188 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
190 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
191 ____DEBUGINFO = /D_DEBUG
193 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
196 !if "$(DEBUG_INFO)" == "0"
199 !if "$(DEBUG_INFO)" == "1"
200 ____DEBUGINFO = /D_DEBUG
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
203 ____DEBUGRUNTIME_11_p =
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
206 ____DEBUGRUNTIME_11_p = /D_DEBUG
208 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
209 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
211 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
212 ____DEBUGRUNTIME_2_p =
214 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
215 ____DEBUGRUNTIME_2_p = /D_DEBUG
217 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
218 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
220 !if "$(SHARED)" == "1"
221 __gizmosdll___depname = \
222 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
224 !if "$(SHARED)" == "0"
225 __gizmoslib___depname = \
226 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
232 -if not exist $(OBJS) mkdir $(OBJS)
236 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
238 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
241 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
244 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
247 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
250 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
253 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
256 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
259 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
262 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
265 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
268 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
271 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
274 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
277 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
281 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
282 -if exist $(OBJS)\*.res del $(OBJS)\*.res
283 -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
284 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
285 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
287 !if "$(SHARED)" == "1"
288 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_dummy.obj
289 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
290 $(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 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
294 !if "$(SHARED)" == "0"
295 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(GIZMOSLIB_OBJECTS) $(OBJS)\gizmoslib_dummy.obj
297 lib /NOLOGO /OUT:$@ @<<