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 DEPRECATEDDLL_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_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\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
26 /I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
27 DEPRECATEDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
29 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
30 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
31 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
33 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
34 /I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
35 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecateddll.pch" $(CPPFLAGS) \
37 DEPRECATEDDLL_OBJECTS = \
38 $(OBJS)\deprecateddll_dummy.obj \
39 $(OBJS)\deprecateddll_prop.obj \
40 $(OBJS)\deprecateddll_propform.obj \
41 $(OBJS)\deprecateddll_proplist.obj \
42 $(OBJS)\deprecateddll_resource.obj \
43 $(OBJS)\deprecateddll_tbarsmpl.obj \
44 $(OBJS)\deprecateddll_treelay.obj \
45 $(OBJS)\deprecateddll_wxexpr.obj \
46 $(OBJS)\deprecateddll_dosyacc.obj
47 DEPRECATEDLIB_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
49 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
50 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
51 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
52 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
53 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CPPFLAGS) \
55 DEPRECATEDLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
57 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
58 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
59 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
60 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
61 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated \
62 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
63 /Fp"$(OBJS)\wxprec_deprecatedlib.pch" $(CPPFLAGS) $(CXXFLAGS)
64 DEPRECATEDLIB_OBJECTS = \
65 $(OBJS)\deprecatedlib_dummy.obj \
66 $(OBJS)\deprecatedlib_prop.obj \
67 $(OBJS)\deprecatedlib_propform.obj \
68 $(OBJS)\deprecatedlib_proplist.obj \
69 $(OBJS)\deprecatedlib_resource.obj \
70 $(OBJS)\deprecatedlib_tbarsmpl.obj \
71 $(OBJS)\deprecatedlib_treelay.obj \
72 $(OBJS)\deprecatedlib_wxexpr.obj \
73 $(OBJS)\deprecatedlib_dosyacc.obj
75 ### Conditionally set variables: ###
77 !if "$(USE_GUI)" == "0"
80 !if "$(USE_GUI)" == "1"
83 !if "$(OFFICIAL_BUILD)" == "0"
84 VENDORTAG = _$(VENDOR)
86 !if "$(OFFICIAL_BUILD)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92 !if "$(DEBUG_FLAG)" == "1"
95 !if "$(UNICODE)" == "1"
98 !if "$(WXUNIV)" == "1"
101 !if "$(SHARED)" == "1"
104 !if "$(SHARED)" == "1"
105 __deprecateddll___depname = \
106 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
108 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109 __DEBUGINFO_2 = /DEBUG
111 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
114 !if "$(DEBUG_INFO)" == "0"
117 !if "$(DEBUG_INFO)" == "1"
118 __DEBUGINFO_2 = /DEBUG
120 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
121 ____DEBUGRUNTIME_3_p =
123 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
124 ____DEBUGRUNTIME_3_p = /D_DEBUG
126 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
127 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
129 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
132 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
135 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
136 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
138 !if "$(MONOLITHIC)" == "1"
140 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
142 !if "$(USE_GUI)" == "1"
143 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
145 !if "$(USE_GUI)" == "1"
146 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
148 !if "$(USE_GUI)" == "1"
149 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
152 __UNICOWS_LIB_p = unicows.lib
154 !if "$(MONOLITHIC)" == "0"
156 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
158 !if "$(MONOLITHIC)" == "0"
159 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
161 !if "$(SHARED)" == "0"
162 __deprecatedlib___depname = \
163 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
165 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 ____DEBUGRUNTIME_15_p =
168 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
169 ____DEBUGRUNTIME_15_p = /D_DEBUG
171 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
172 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
174 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
177 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
178 __DEBUGRUNTIME_16 = d
180 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
181 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
183 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
186 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
189 !if "$(DEBUG_INFO)" == "0"
192 !if "$(DEBUG_INFO)" == "1"
195 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
196 ____DEBUGINFO = /D_DEBUG
198 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
201 !if "$(DEBUG_INFO)" == "0"
204 !if "$(DEBUG_INFO)" == "1"
205 ____DEBUGINFO = /D_DEBUG
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
213 !if "$(DEBUG_INFO)" == "0"
216 !if "$(DEBUG_INFO)" == "1"
219 !if "$(BUILD)" == "debug"
222 !if "$(BUILD)" == "release"
225 !if "$(RUNTIME_LIBS)" == "dynamic"
228 !if "$(RUNTIME_LIBS)" == "static"
231 !if "$(USE_EXCEPTIONS)" == "0"
234 !if "$(USE_EXCEPTIONS)" == "1"
235 __EXCEPTIONSFLAG = /GR
237 !if "$(USE_EXCEPTIONS)" == "0"
240 !if "$(USE_EXCEPTIONS)" == "1"
241 __EXCEPTIONSFLAG_0 = /GX
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
244 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
246 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
247 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
249 !if "$(WXUNIV)" == "1"
250 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
252 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
253 __DEBUG_DEFINE_p = /D__WXDEBUG__
255 !if "$(DEBUG_FLAG)" == "1"
256 __DEBUG_DEFINE_p = /D__WXDEBUG__
258 !if "$(UNICODE)" == "1"
259 __UNICODE_DEFINE_p = /D_UNICODE
261 !if "$(SHARED)" == "0"
262 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
264 !if "$(SHARED)" == "1"
265 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
271 -if not exist $(OBJS) mkdir $(OBJS)
275 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
281 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk
282 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb
283 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
284 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
286 !if "$(SHARED)" == "1"
287 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
288 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
289 $(DEPRECATEDDLL_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_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
293 !if "$(SHARED)" == "0"
294 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
296 lib /NOLOGO /OUT:$@ @<<
297 $(DEPRECATEDLIB_OBJECTS)
301 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
304 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
307 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
310 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
313 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
316 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
319 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
322 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
325 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
326 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
328 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
329 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
331 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
332 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
334 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
335 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
337 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
340 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
341 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
343 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
346 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
349 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
352 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
353 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**