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 DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
19 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
21 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
22 /I..\..\src\deprecated $(CFLAGS)
23 DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
24 /DWIN32 $(__DEBUGINFO_2) \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
29 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
30 /I..\..\src\deprecated $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
31 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
32 /Fp"$(OBJS)\wxprec_deprecateddll.pch"
33 DEPRECATEDDLL_OBJECTS = \
34 $(OBJS)\deprecateddll_dummy.obj \
35 $(OBJS)\deprecateddll_prop.obj \
36 $(OBJS)\deprecateddll_propform.obj \
37 $(OBJS)\deprecateddll_proplist.obj \
38 $(OBJS)\deprecateddll_resource.obj \
39 $(OBJS)\deprecateddll_tbarsmpl.obj \
40 $(OBJS)\deprecateddll_treelay.obj \
41 $(OBJS)\deprecateddll_wxexpr.obj \
42 $(OBJS)\deprecateddll_dosyacc.obj
43 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) \
44 /DWIN32 $(__DEBUGINFO_2) \
45 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
46 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
47 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
48 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
49 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CFLAGS)
50 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) \
51 /DWIN32 $(__DEBUGINFO_2) \
52 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
53 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
54 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
55 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
56 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CXXFLAGS) \
57 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
58 /Fp"$(OBJS)\wxprec_deprecatedlib.pch"
59 DEPRECATEDLIB_OBJECTS = \
60 $(OBJS)\deprecatedlib_dummy.obj \
61 $(OBJS)\deprecatedlib_prop.obj \
62 $(OBJS)\deprecatedlib_propform.obj \
63 $(OBJS)\deprecatedlib_proplist.obj \
64 $(OBJS)\deprecatedlib_resource.obj \
65 $(OBJS)\deprecatedlib_tbarsmpl.obj \
66 $(OBJS)\deprecatedlib_treelay.obj \
67 $(OBJS)\deprecatedlib_wxexpr.obj \
68 $(OBJS)\deprecatedlib_dosyacc.obj
70 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
72 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
74 ### Conditionally set variables: ###
76 !if "$(SHARED)" == "0"
77 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
79 !if "$(SHARED)" == "1"
80 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
82 !if "$(USE_GUI)" == "0"
85 !if "$(USE_GUI)" == "1"
88 !if "$(OFFICIAL_BUILD)" == "0"
89 VENDORTAG = _$(VENDOR)
91 !if "$(OFFICIAL_BUILD)" == "1"
94 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
97 !if "$(DEBUG_FLAG)" == "1"
100 !if "$(SHARED)" == "1"
103 !if "$(UNICODE)" == "1"
106 !if "$(WXUNIV)" == "1"
109 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
112 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
115 !if "$(DEBUG_INFO)" == "0"
118 !if "$(DEBUG_INFO)" == "1"
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
122 __DEBUGINFO_1 = /DEBUG
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 !if "$(DEBUG_INFO)" == "0"
130 !if "$(DEBUG_INFO)" == "1"
131 __DEBUGINFO_1 = /DEBUG
133 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
136 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
139 !if "$(DEBUG_INFO)" == "0"
142 !if "$(DEBUG_INFO)" == "1"
145 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
148 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
149 __DEBUGRUNTIME_15 = d
151 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
152 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
154 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
157 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
160 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
161 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
163 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
164 __DEBUG_DEFINE_p = /D__WXDEBUG__
166 !if "$(DEBUG_FLAG)" == "1"
167 __DEBUG_DEFINE_p = /D__WXDEBUG__
169 !if "$(USE_EXCEPTIONS)" == "0"
172 !if "$(USE_EXCEPTIONS)" == "1"
173 __EXCEPTIONSFLAG = /GR
175 !if "$(USE_EXCEPTIONS)" == "0"
178 !if "$(USE_EXCEPTIONS)" == "1"
179 __EXCEPTIONSFLAG_0 = /GX
181 !if "$(USE_GUI)" == "1"
182 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
184 !if "$(USE_GUI)" == "1"
185 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
191 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
193 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
194 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
196 !if "$(BUILD)" == "debug"
199 !if "$(BUILD)" == "release"
202 !if "$(RUNTIME_LIBS)" == "dynamic"
205 !if "$(RUNTIME_LIBS)" == "static"
208 !if "$(UNICODE)" == "1"
209 __UNICODE_DEFINE_p = /D_UNICODE
212 __UNICOWS_LIB_p = unicows.lib
214 !if "$(MONOLITHIC)" == "0"
215 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
217 !if "$(MONOLITHIC)" == "0"
219 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
221 !if "$(MONOLITHIC)" == "1"
223 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
225 !if "$(WXUNIV)" == "1"
226 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
228 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
229 ____DEBUGINFO = /D_DEBUG
231 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
234 !if "$(DEBUG_INFO)" == "0"
237 !if "$(DEBUG_INFO)" == "1"
238 ____DEBUGINFO = /D_DEBUG
240 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
241 ____DEBUGRUNTIME_14_p =
243 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
244 ____DEBUGRUNTIME_14_p = /D_DEBUG
246 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
247 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
249 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
250 ____DEBUGRUNTIME_2_p =
252 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
253 ____DEBUGRUNTIME_2_p = /D_DEBUG
255 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
256 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
258 !if "$(SHARED)" == "1"
259 __deprecateddll___depname = \
260 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
262 !if "$(SHARED)" == "0"
263 __deprecatedlib___depname = \
264 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
270 -if not exist $(OBJS) mkdir $(OBJS)
274 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
276 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
277 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
279 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
282 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
285 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
288 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
291 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
294 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
297 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
300 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
303 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
304 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**
306 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
309 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
312 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
315 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
318 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
321 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
324 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
327 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
331 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
332 -if exist $(OBJS)\*.res del $(OBJS)\*.res
333 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
334 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk
335 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb
336 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
337 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
339 !if "$(SHARED)" == "1"
340 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
341 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
342 $(DEPRECATEDDLL_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 oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
346 !if "$(SHARED)" == "0"
347 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
349 lib /NOLOGO /OUT:$@ @<<
350 $(DEPRECATEDLIB_OBJECTS)