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)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 PROPGRID_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\propgrid.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__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
28 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
29 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
30 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
31 $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
32 /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) \
33 $(CPPFLAGS) $(CXXFLAGS)
35 $(OBJS)\propgrid_propgrid.obj \
36 $(OBJS)\propgrid_propgrid_minimal.obj \
37 $(OBJS)\propgrid_sampleprops.obj \
38 $(OBJS)\propgrid_tests.obj
39 PROPGRID_RESOURCES = \
40 $(OBJS)\propgrid_sample.res
42 ### Conditionally set variables: ###
44 !if "$(TOOLKIT)" == "GTK"
45 WIN32_TOOLKIT_LOWERCASE = gtk
47 !if "$(TOOLKIT)" == "MSW"
48 WIN32_TOOLKIT_LOWERCASE = msw
50 !if "$(TARGET_CPU)" == "AMD64"
53 !if "$(TARGET_CPU)" == "IA64"
56 !if "$(TARGET_CPU)" == "X64"
59 !if "$(TARGET_CPU)" == "amd64"
62 !if "$(TARGET_CPU)" == "ia64"
65 !if "$(TARGET_CPU)" == "x64"
68 !if "$(USE_GUI)" == "0"
71 !if "$(USE_GUI)" == "1"
72 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
74 !if "$(TOOLKIT)" == "MAC"
77 !if "$(OFFICIAL_BUILD)" == "1"
78 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
80 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
83 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
86 !if "$(UNICODE)" == "1"
89 !if "$(WXUNIV)" == "1"
92 !if "$(SHARED)" == "1"
95 !if "$(SHARED)" == "0"
98 !if "$(SHARED)" == "1"
101 !if "$(TARGET_CPU)" == "AMD64"
102 LINK_TARGET_CPU = /MACHINE:X64
104 !if "$(TARGET_CPU)" == "IA64"
105 LINK_TARGET_CPU = /MACHINE:IA64
107 !if "$(TARGET_CPU)" == "X64"
108 LINK_TARGET_CPU = /MACHINE:X64
110 !if "$(TARGET_CPU)" == "amd64"
111 LINK_TARGET_CPU = /MACHINE:X64
113 !if "$(TARGET_CPU)" == "ia64"
114 LINK_TARGET_CPU = /MACHINE:IA64
116 !if "$(TARGET_CPU)" == "x64"
117 LINK_TARGET_CPU = /MACHINE:X64
119 !if "$(MONOLITHIC)" == "0"
122 !if "$(MONOLITHIC)" == "1"
125 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
126 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
127 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
130 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
133 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
136 !if "$(DEBUG_INFO)" == "0"
139 !if "$(DEBUG_INFO)" == "1"
142 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
143 __DEBUGINFO_1 = /DEBUG
145 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
148 !if "$(DEBUG_INFO)" == "0"
151 !if "$(DEBUG_INFO)" == "1"
152 __DEBUGINFO_1 = /DEBUG
154 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
157 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
160 !if "$(DEBUG_INFO)" == "0"
163 !if "$(DEBUG_INFO)" == "1"
164 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
166 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
167 ____DEBUGRUNTIME_3_p = /D_DEBUG
169 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
170 ____DEBUGRUNTIME_3_p =
172 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
173 ____DEBUGRUNTIME_3_p =
175 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
176 ____DEBUGRUNTIME_3_p = /D_DEBUG
178 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
179 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
181 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
182 ____DEBUGRUNTIME_3_p_1 =
184 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
185 ____DEBUGRUNTIME_3_p_1 =
187 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
188 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
190 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
193 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
196 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
199 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
202 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
206 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
208 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
211 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 !if "$(BUILD)" == "debug"
215 __OPTIMIZEFLAG_6 = /Od
217 !if "$(BUILD)" == "release"
218 __OPTIMIZEFLAG_6 = /O2
220 !if "$(USE_THREADS)" == "0"
223 !if "$(USE_THREADS)" == "1"
226 !if "$(RUNTIME_LIBS)" == "dynamic"
227 __RUNTIME_LIBS_10 = D
229 !if "$(RUNTIME_LIBS)" == "static"
230 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
232 !if "$(USE_RTTI)" == "0"
235 !if "$(USE_RTTI)" == "1"
238 !if "$(USE_EXCEPTIONS)" == "0"
239 __EXCEPTIONSFLAG_12 =
241 !if "$(USE_EXCEPTIONS)" == "1"
242 __EXCEPTIONSFLAG_12 = /EHsc
244 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
245 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
247 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
248 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
250 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
251 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
253 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
254 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
256 !if "$(WXUNIV)" == "1"
257 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
259 !if "$(WXUNIV)" == "1"
260 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
262 !if "$(DEBUG_FLAG)" == "0"
263 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
265 !if "$(DEBUG_FLAG)" == "0"
266 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
268 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
269 __NDEBUG_DEFINE_p = /DNDEBUG
271 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
272 __NDEBUG_DEFINE_p = /DNDEBUG
274 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
275 __NDEBUG_DEFINE_p_1 = /d NDEBUG
277 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
278 __NDEBUG_DEFINE_p_1 = /d NDEBUG
280 !if "$(USE_EXCEPTIONS)" == "0"
281 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
283 !if "$(USE_EXCEPTIONS)" == "0"
284 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
286 !if "$(USE_RTTI)" == "0"
287 __RTTI_DEFINE_p = /DwxNO_RTTI
289 !if "$(USE_RTTI)" == "0"
290 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
292 !if "$(USE_THREADS)" == "0"
293 __THREAD_DEFINE_p = /DwxNO_THREADS
295 !if "$(USE_THREADS)" == "0"
296 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
298 !if "$(UNICODE)" == "0"
299 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
301 !if "$(UNICODE)" == "1"
302 __UNICODE_DEFINE_p = /D_UNICODE
304 !if "$(UNICODE)" == "0"
305 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
307 !if "$(UNICODE)" == "1"
308 __UNICODE_DEFINE_p_1 = /d _UNICODE
311 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
314 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
316 !if "$(USE_CAIRO)" == "1"
317 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
319 !if "$(USE_CAIRO)" == "1"
320 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
322 !if "$(SHARED)" == "1"
323 __DLLFLAG_p = /DWXUSINGDLL
325 !if "$(SHARED)" == "1"
326 __DLLFLAG_p_1 = /d WXUSINGDLL
328 !if "$(MONOLITHIC)" == "0"
329 __WXLIB_PROPGRID_p = \
330 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_propgrid.lib
332 !if "$(MONOLITHIC)" == "0"
334 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
336 !if "$(MONOLITHIC)" == "0"
338 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
340 !if "$(MONOLITHIC)" == "0"
342 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
344 !if "$(MONOLITHIC)" == "1"
346 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
348 !if "$(USE_GUI)" == "1"
349 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
351 !if "$(USE_GUI)" == "1"
352 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
354 !if "$(USE_GUI)" == "1"
355 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
358 __UNICOWS_LIB_p = unicows.lib
360 !if "$(USE_CAIRO)" == "1"
361 __CAIRO_LIB_p = cairo.lib
363 !if "$(USE_CAIRO)" == "1"
364 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
370 -if not exist $(OBJS) mkdir $(OBJS)
374 all: $(OBJS)\propgrid.exe
377 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
378 -if exist $(OBJS)\*.res del $(OBJS)\*.res
379 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
380 -if exist $(OBJS)\propgrid.exe del $(OBJS)\propgrid.exe
381 -if exist $(OBJS)\propgrid.ilk del $(OBJS)\propgrid.ilk
382 -if exist $(OBJS)\propgrid.pdb del $(OBJS)\propgrid.pdb
384 $(OBJS)\propgrid.exe: $(PROPGRID_OBJECTS) $(OBJS)\propgrid_sample.res
385 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\propgrid.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
386 $(PROPGRID_OBJECTS) $(PROPGRID_RESOURCES) $(__WXLIB_PROPGRID_p) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) 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
389 $(OBJS)\propgrid_propgrid.obj: .\propgrid.cpp
390 $(CXX) /c /nologo /TP /Fo$@ $(PROPGRID_CXXFLAGS) .\propgrid.cpp
392 $(OBJS)\propgrid_propgrid_minimal.obj: .\propgrid_minimal.cpp
393 $(CXX) /c /nologo /TP /Fo$@ $(PROPGRID_CXXFLAGS) .\propgrid_minimal.cpp
395 $(OBJS)\propgrid_sampleprops.obj: .\sampleprops.cpp
396 $(CXX) /c /nologo /TP /Fo$@ $(PROPGRID_CXXFLAGS) .\sampleprops.cpp
398 $(OBJS)\propgrid_tests.obj: .\tests.cpp
399 $(CXX) /c /nologo /TP /Fo$@ $(PROPGRID_CXXFLAGS) .\tests.cpp
401 $(OBJS)\propgrid_sample.res: .\..\sample.rc
402 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_1) /d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\sample.rc