1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (http://www.bakefile.org)
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 # -------------------------------------------------------------------------
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 WXRC_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\wxrc.pdb $(____DEBUGRUNTIME_3_p) \
25 $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \
26 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \
31 $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_11) \
32 $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)
36 ### Conditionally set variables: ###
38 !if "$(USE_GUI)" == "0"
41 !if "$(USE_GUI)" == "1"
44 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
47 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
50 !if "$(UNICODE)" == "1"
53 !if "$(WXUNIV)" == "1"
56 !if "$(TARGET_CPU)" == "AMD64"
57 DIR_SUFFIX_CPU = _amd64
59 !if "$(TARGET_CPU)" == "IA64"
60 DIR_SUFFIX_CPU = _ia64
62 !if "$(TARGET_CPU)" == "amd64"
63 DIR_SUFFIX_CPU = _amd64
65 !if "$(TARGET_CPU)" == "ia64"
66 DIR_SUFFIX_CPU = _ia64
68 !if "$(SHARED)" == "1"
71 !if "$(SHARED)" == "0"
74 !if "$(SHARED)" == "1"
77 !if "$(TARGET_CPU)" == "AMD64"
78 LINK_TARGET_CPU = /MACHINE:X64
80 !if "$(TARGET_CPU)" == "IA64"
81 LINK_TARGET_CPU = /MACHINE:IA64
83 !if "$(TARGET_CPU)" == "amd64"
84 LINK_TARGET_CPU = /MACHINE:X64
86 !if "$(TARGET_CPU)" == "ia64"
87 LINK_TARGET_CPU = /MACHINE:IA64
89 !if "$(MONOLITHIC)" == "0"
92 !if "$(MONOLITHIC)" == "1"
95 !if "$(USE_XRC)" == "1"
96 __wxrc___depname = $(OBJS)\wxrc.exe
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_1 = /DEBUG
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116 !if "$(DEBUG_INFO)" == "0"
119 !if "$(DEBUG_INFO)" == "1"
120 __DEBUGINFO_1 = /DEBUG
122 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
123 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
125 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128 !if "$(DEBUG_INFO)" == "0"
131 !if "$(DEBUG_INFO)" == "1"
132 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
134 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
135 ____DEBUGRUNTIME_3_p = /D_DEBUG
137 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
138 ____DEBUGRUNTIME_3_p =
140 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
141 ____DEBUGRUNTIME_3_p =
143 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
144 ____DEBUGRUNTIME_3_p = /D_DEBUG
146 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
149 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
152 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
155 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
158 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
161 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
162 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
164 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
165 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
167 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
170 !if "$(BUILD)" == "debug"
171 __OPTIMIZEFLAG_6 = /Od
173 !if "$(BUILD)" == "release"
174 __OPTIMIZEFLAG_6 = /O2
176 !if "$(USE_THREADS)" == "0"
179 !if "$(USE_THREADS)" == "1"
182 !if "$(RUNTIME_LIBS)" == "dynamic"
183 __RUNTIME_LIBS_10 = D
185 !if "$(RUNTIME_LIBS)" == "static"
186 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
188 !if "$(USE_RTTI)" == "0"
191 !if "$(USE_RTTI)" == "1"
194 !if "$(USE_EXCEPTIONS)" == "0"
195 __EXCEPTIONSFLAG_12 =
197 !if "$(USE_EXCEPTIONS)" == "1"
198 __EXCEPTIONSFLAG_12 = /EHsc
200 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
201 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
203 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
204 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
206 !if "$(WXUNIV)" == "1"
207 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
209 !if "$(DEBUG_FLAG)" == "0"
210 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
212 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
213 __NDEBUG_DEFINE_p = /DNDEBUG
215 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
216 __NDEBUG_DEFINE_p = /DNDEBUG
218 !if "$(USE_EXCEPTIONS)" == "0"
219 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
221 !if "$(USE_RTTI)" == "0"
222 __RTTI_DEFINE_p = /DwxNO_RTTI
224 !if "$(USE_THREADS)" == "0"
225 __THREAD_DEFINE_p = /DwxNO_THREADS
227 !if "$(UNICODE)" == "0"
228 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
230 !if "$(UNICODE)" == "1"
231 __UNICODE_DEFINE_p = /D_UNICODE
234 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
236 !if "$(USE_CAIRO)" == "1"
237 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
239 !if "$(SHARED)" == "1"
240 __DLLFLAG_p = /DWXUSINGDLL
242 !if "$(MONOLITHIC)" == "0"
244 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
246 !if "$(MONOLITHIC)" == "0"
248 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250 !if "$(MONOLITHIC)" == "1"
252 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
254 !if "$(MONOLITHIC)" == "1"
255 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
257 !if "$(USE_GUI)" == "1"
258 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
261 __UNICOWS_LIB_p = unicows.lib
263 !if "$(USE_CAIRO)" == "1"
264 __CAIRO_LIB_p = cairo.lib
266 !if "$(USE_CAIRO)" == "1"
267 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
273 -if not exist $(OBJS) mkdir $(OBJS)
277 all: $(__wxrc___depname)
280 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
281 -if exist $(OBJS)\*.res del $(OBJS)\*.res
282 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
283 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
284 -if exist $(OBJS)\wxrc.ilk del $(OBJS)\wxrc.ilk
285 -if exist $(OBJS)\wxrc.pdb del $(OBJS)\wxrc.pdb
287 !if "$(USE_XRC)" == "1"
288 $(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
289 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\wxrc.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
290 $(WXRC_OBJECTS) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_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 wininet.lib
294 $(OBJS)\wxrc_wxrc.obj: .\wxrc.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(WXRC_CXXFLAGS) .\wxrc.cpp