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)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \
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)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
27 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \
29 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
30 /I..\..\src\deprecated $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
31 /Fp"$(OBJS)\wxprec_deprecateddll.pch"
32 DEPRECATEDDLL_OBJECTS = \
33 $(OBJS)\deprecateddll_dummy.obj \
34 $(OBJS)\deprecateddll_prop.obj \
35 $(OBJS)\deprecateddll_propform.obj \
36 $(OBJS)\deprecateddll_proplist.obj \
37 $(OBJS)\deprecateddll_resource.obj \
38 $(OBJS)\deprecateddll_tbarsmpl.obj \
39 $(OBJS)\deprecateddll_treelay.obj \
40 $(OBJS)\deprecateddll_wxexpr.obj \
41 $(OBJS)\deprecateddll_dosyacc.obj
42 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
43 /DWIN32 $(__DEBUGINFO_2) \
44 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
45 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
46 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
47 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \
48 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CFLAGS)
49 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
50 /DWIN32 $(__DEBUGINFO_2) \
51 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
52 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
53 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
54 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \
55 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CXXFLAGS) /GR \
56 /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecatedlib.pch"
57 DEPRECATEDLIB_OBJECTS = \
58 $(OBJS)\deprecatedlib_dummy.obj \
59 $(OBJS)\deprecatedlib_prop.obj \
60 $(OBJS)\deprecatedlib_propform.obj \
61 $(OBJS)\deprecatedlib_proplist.obj \
62 $(OBJS)\deprecatedlib_resource.obj \
63 $(OBJS)\deprecatedlib_tbarsmpl.obj \
64 $(OBJS)\deprecatedlib_treelay.obj \
65 $(OBJS)\deprecatedlib_wxexpr.obj \
66 $(OBJS)\deprecatedlib_dosyacc.obj
68 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
70 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
72 ### Conditionally set variables: ###
74 !if "$(SHARED)" == "0"
75 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
77 !if "$(SHARED)" == "1"
78 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
80 !if "$(USE_GUI)" == "0"
83 !if "$(USE_GUI)" == "1"
86 !if "$(OFFICIAL_BUILD)" == "0"
87 VENDORTAG = _$(VENDOR)
89 !if "$(OFFICIAL_BUILD)" == "1"
92 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
95 !if "$(DEBUG_FLAG)" == "1"
98 !if "$(SHARED)" == "1"
101 !if "$(UNICODE)" == "1"
104 !if "$(WXUNIV)" == "1"
107 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
110 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
113 !if "$(DEBUG_INFO)" == "0"
116 !if "$(DEBUG_INFO)" == "1"
119 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 __DEBUGINFO_1 = /DEBUG
122 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
125 !if "$(DEBUG_INFO)" == "0"
128 !if "$(DEBUG_INFO)" == "1"
129 __DEBUGINFO_1 = /DEBUG
131 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
134 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
137 !if "$(DEBUG_INFO)" == "0"
140 !if "$(DEBUG_INFO)" == "1"
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 __DEBUGRUNTIME_12 = d
149 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
150 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
152 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
155 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
158 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
159 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
161 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
162 __DEBUG_DEFINE_p = /D__WXDEBUG__
164 !if "$(DEBUG_FLAG)" == "1"
165 __DEBUG_DEFINE_p = /D__WXDEBUG__
167 !if "$(USE_GUI)" == "1"
168 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
170 !if "$(USE_GUI)" == "1"
171 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
173 !if "$(USE_GUI)" == "1"
174 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
176 !if "$(BUILD)" == "debug"
179 !if "$(BUILD)" == "release"
182 !if "$(RUNTIME_LIBS)" == "dynamic"
185 !if "$(RUNTIME_LIBS)" == "static"
188 !if "$(UNICODE)" == "1"
189 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
192 __UNICOWS_LIB_p = unicows.lib
194 !if "$(MONOLITHIC)" == "0"
195 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
197 !if "$(MONOLITHIC)" == "0"
199 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
201 !if "$(MONOLITHIC)" == "1"
203 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
205 !if "$(WXUNIV)" == "1"
206 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
208 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
209 ____DEBUGINFO = /D_DEBUG
211 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
214 !if "$(DEBUG_INFO)" == "0"
217 !if "$(DEBUG_INFO)" == "1"
218 ____DEBUGINFO = /D_DEBUG
220 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
221 ____DEBUGRUNTIME_11_p =
223 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
224 ____DEBUGRUNTIME_11_p = /D_DEBUG
226 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
227 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
229 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
230 ____DEBUGRUNTIME_2_p =
232 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
233 ____DEBUGRUNTIME_2_p = /D_DEBUG
235 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
236 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
238 !if "$(SHARED)" == "1"
239 __deprecateddll___depname = \
240 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
242 !if "$(SHARED)" == "0"
243 __deprecatedlib___depname = \
244 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
250 -if not exist $(OBJS) mkdir $(OBJS)
254 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
256 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
257 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
259 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
262 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
265 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
268 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
271 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
274 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
277 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
280 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
283 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
284 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**
286 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
289 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
292 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
295 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
298 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
301 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
304 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
307 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
311 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
312 -if exist $(OBJS)\*.res del $(OBJS)\*.res
313 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
314 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
315 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
317 !if "$(SHARED)" == "1"
318 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
319 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
320 $(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
324 !if "$(SHARED)" == "0"
325 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
327 lib /NOLOGO /OUT:$@ @<<
328 $(DEPRECATEDLIB_OBJECTS)