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 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 DEPRECATEDDLL_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
28 /I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
29 DEPRECATEDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
31 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb \
32 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
33 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
34 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
35 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
36 /I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
37 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecateddll.pch" $(CPPFLAGS) \
39 DEPRECATEDDLL_OBJECTS = \
40 $(OBJS)\deprecateddll_dummy.obj \
41 $(OBJS)\deprecateddll_prop.obj \
42 $(OBJS)\deprecateddll_propform.obj \
43 $(OBJS)\deprecateddll_proplist.obj \
44 $(OBJS)\deprecateddll_resource.obj \
45 $(OBJS)\deprecateddll_tbarsmpl.obj \
46 $(OBJS)\deprecateddll_treelay.obj \
47 $(OBJS)\deprecateddll_wxexpr.obj \
48 $(OBJS)\deprecateddll_dosyacc.obj
49 DEPRECATEDLIB_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
51 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.pdb \
52 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
53 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
54 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
55 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CPPFLAGS) \
57 DEPRECATEDLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
59 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.pdb \
60 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
61 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
62 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
63 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated \
64 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
65 /Fp"$(OBJS)\wxprec_deprecatedlib.pch" $(CPPFLAGS) $(CXXFLAGS)
66 DEPRECATEDLIB_OBJECTS = \
67 $(OBJS)\deprecatedlib_dummy.obj \
68 $(OBJS)\deprecatedlib_prop.obj \
69 $(OBJS)\deprecatedlib_propform.obj \
70 $(OBJS)\deprecatedlib_proplist.obj \
71 $(OBJS)\deprecatedlib_resource.obj \
72 $(OBJS)\deprecatedlib_tbarsmpl.obj \
73 $(OBJS)\deprecatedlib_treelay.obj \
74 $(OBJS)\deprecatedlib_wxexpr.obj \
75 $(OBJS)\deprecatedlib_dosyacc.obj
77 ### Conditionally set variables: ###
79 !if "$(USE_GUI)" == "0"
82 !if "$(USE_GUI)" == "1"
85 !if "$(OFFICIAL_BUILD)" == "0"
86 VENDORTAG = _$(VENDOR)
88 !if "$(OFFICIAL_BUILD)" == "1"
91 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 !if "$(DEBUG_FLAG)" == "1"
97 !if "$(UNICODE)" == "1"
100 !if "$(WXUNIV)" == "1"
103 !if "$(SHARED)" == "1"
106 !if "$(SHARED)" == "1"
107 __deprecateddll___depname = \
108 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_2 = /DEBUG
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116 !if "$(DEBUG_INFO)" == "0"
119 !if "$(DEBUG_INFO)" == "1"
120 __DEBUGINFO_2 = /DEBUG
122 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
123 ____DEBUGRUNTIME_3_p =
125 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
126 ____DEBUGRUNTIME_3_p = /D_DEBUG
128 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
129 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
131 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
134 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
137 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
138 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
140 !if "$(MONOLITHIC)" == "1"
142 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
154 __UNICOWS_LIB_p = unicows.lib
156 !if "$(MONOLITHIC)" == "0"
158 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
160 !if "$(MONOLITHIC)" == "0"
162 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
164 !if "$(SHARED)" == "0"
165 __deprecatedlib___depname = \
166 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
168 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
169 ____DEBUGRUNTIME_15_p =
171 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
172 ____DEBUGRUNTIME_15_p = /D_DEBUG
174 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
175 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
177 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
180 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
181 __DEBUGRUNTIME_16 = d
183 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
184 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
186 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
189 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
192 !if "$(DEBUG_INFO)" == "0"
195 !if "$(DEBUG_INFO)" == "1"
198 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
199 ____DEBUGINFO = /D_DEBUG
201 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
204 !if "$(DEBUG_INFO)" == "0"
207 !if "$(DEBUG_INFO)" == "1"
208 ____DEBUGINFO = /D_DEBUG
210 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
213 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
216 !if "$(DEBUG_INFO)" == "0"
219 !if "$(DEBUG_INFO)" == "1"
222 !if "$(BUILD)" == "debug"
225 !if "$(BUILD)" == "release"
228 !if "$(RUNTIME_LIBS)" == "dynamic"
231 !if "$(RUNTIME_LIBS)" == "static"
234 !if "$(USE_EXCEPTIONS)" == "0"
237 !if "$(USE_EXCEPTIONS)" == "1"
238 __EXCEPTIONSFLAG = /GR
240 !if "$(USE_EXCEPTIONS)" == "0"
243 !if "$(USE_EXCEPTIONS)" == "1"
244 __EXCEPTIONSFLAG_0 = /GX
246 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
247 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
249 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
250 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
252 !if "$(WXUNIV)" == "1"
253 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
255 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
256 __DEBUG_DEFINE_p = /D__WXDEBUG__
258 !if "$(DEBUG_FLAG)" == "1"
259 __DEBUG_DEFINE_p = /D__WXDEBUG__
261 !if "$(UNICODE)" == "1"
262 __UNICODE_DEFINE_p = /D_UNICODE
264 !if "$(SHARED)" == "0"
265 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
267 !if "$(SHARED)" == "1"
268 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
274 -if not exist $(OBJS) mkdir $(OBJS)
278 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
281 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
282 -if exist $(OBJS)\*.res del $(OBJS)\*.res
283 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll
284 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).ilk
285 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb
286 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
287 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
289 !if "$(SHARED)" == "1"
290 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
291 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
292 $(DEPRECATEDDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
296 !if "$(SHARED)" == "0"
297 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
299 lib /NOLOGO /OUT:$@ @<<
300 $(DEPRECATEDLIB_OBJECTS)
304 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
307 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
310 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
313 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
316 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
319 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
322 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
325 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
326 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
328 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
329 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
331 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
332 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
334 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
335 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
337 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
340 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
341 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
343 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
346 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
349 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
352 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
355 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
356 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**