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)3
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 "$(MONOLITHIC)" == "0"
109 !if "$(MONOLITHIC)" == "1"
112 !if "$(SHARED)" == "1"
113 __deprecateddll___depname = \
114 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll
116 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
117 __DEBUGINFO_2 = /DEBUG
119 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
122 !if "$(DEBUG_INFO)" == "0"
125 !if "$(DEBUG_INFO)" == "1"
126 __DEBUGINFO_2 = /DEBUG
128 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
129 ____DEBUGRUNTIME_3_p =
131 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
132 ____DEBUGRUNTIME_3_p = /D_DEBUG
134 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
135 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
137 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
140 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
143 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
144 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
146 !if "$(MONOLITHIC)" == "1"
148 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
153 !if "$(USE_GUI)" == "1"
154 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
156 !if "$(USE_GUI)" == "1"
157 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
160 __UNICOWS_LIB_p = unicows.lib
162 !if "$(MONOLITHIC)" == "0"
164 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
166 !if "$(MONOLITHIC)" == "0"
168 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
170 !if "$(SHARED)" == "0"
171 __deprecatedlib___depname = \
172 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
174 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
175 ____DEBUGRUNTIME_15_p =
177 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
178 ____DEBUGRUNTIME_15_p = /D_DEBUG
180 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
181 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
183 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
186 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
187 __DEBUGRUNTIME_16 = d
189 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
190 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
198 !if "$(DEBUG_INFO)" == "0"
201 !if "$(DEBUG_INFO)" == "1"
204 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
205 ____DEBUGINFO = /D_DEBUG
207 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
210 !if "$(DEBUG_INFO)" == "0"
213 !if "$(DEBUG_INFO)" == "1"
214 ____DEBUGINFO = /D_DEBUG
216 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
219 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
222 !if "$(DEBUG_INFO)" == "0"
225 !if "$(DEBUG_INFO)" == "1"
228 !if "$(BUILD)" == "debug"
231 !if "$(BUILD)" == "release"
234 !if "$(RUNTIME_LIBS)" == "dynamic"
237 !if "$(RUNTIME_LIBS)" == "static"
240 !if "$(USE_EXCEPTIONS)" == "0"
243 !if "$(USE_EXCEPTIONS)" == "1"
244 __EXCEPTIONSFLAG = /GR
246 !if "$(USE_EXCEPTIONS)" == "0"
249 !if "$(USE_EXCEPTIONS)" == "1"
250 __EXCEPTIONSFLAG_0 = /GX
252 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
255 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
256 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
258 !if "$(WXUNIV)" == "1"
259 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
261 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
264 !if "$(DEBUG_FLAG)" == "1"
265 __DEBUG_DEFINE_p = /D__WXDEBUG__
267 !if "$(UNICODE)" == "1"
268 __UNICODE_DEFINE_p = /D_UNICODE
270 !if "$(SHARED)" == "0"
271 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
273 !if "$(SHARED)" == "1"
274 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
280 -if not exist $(OBJS) mkdir $(OBJS)
284 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
287 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
288 -if exist $(OBJS)\*.res del $(OBJS)\*.res
289 -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
290 -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
291 -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
292 -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
293 -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
295 !if "$(SHARED)" == "1"
296 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
297 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
298 $(DEPRECATEDDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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
302 !if "$(SHARED)" == "0"
303 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
305 lib /NOLOGO /OUT:$@ @<<
306 $(DEPRECATEDLIB_OBJECTS)
310 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
313 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
316 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
319 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
322 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
325 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
326 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
328 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
329 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
331 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
332 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
334 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
335 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
337 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
340 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
341 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
343 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
346 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
349 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
352 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
355 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
358 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
361 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
362 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**