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 DIALOGS_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\dialogs.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)\dialogs_dialogs.obj \
36 $(____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS)
38 $(OBJS)\dialogs_sample.res
40 ### Conditionally set variables: ###
42 !if "$(TOOLKIT)" == "GTK"
43 WIN32_TOOLKIT_LOWERCASE = gtk
45 !if "$(TOOLKIT)" == "MSW"
46 WIN32_TOOLKIT_LOWERCASE = msw
48 !if "$(TARGET_CPU)" == "AMD64"
51 !if "$(TARGET_CPU)" == "IA64"
54 !if "$(TARGET_CPU)" == "X64"
57 !if "$(TARGET_CPU)" == "amd64"
60 !if "$(TARGET_CPU)" == "ia64"
63 !if "$(TARGET_CPU)" == "x64"
66 !if "$(USE_GUI)" == "0"
69 !if "$(USE_GUI)" == "1"
70 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
72 !if "$(TOOLKIT)" == "MAC"
75 !if "$(OFFICIAL_BUILD)" == "1"
76 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
78 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
81 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
84 !if "$(UNICODE)" == "1"
87 !if "$(WXUNIV)" == "1"
90 !if "$(SHARED)" == "1"
93 !if "$(SHARED)" == "0"
96 !if "$(SHARED)" == "1"
99 !if "$(TARGET_CPU)" == "AMD64"
100 LINK_TARGET_CPU = /MACHINE:X64
102 !if "$(TARGET_CPU)" == "IA64"
103 LINK_TARGET_CPU = /MACHINE:IA64
105 !if "$(TARGET_CPU)" == "X64"
106 LINK_TARGET_CPU = /MACHINE:X64
108 !if "$(TARGET_CPU)" == "amd64"
109 LINK_TARGET_CPU = /MACHINE:X64
111 !if "$(TARGET_CPU)" == "ia64"
112 LINK_TARGET_CPU = /MACHINE:IA64
114 !if "$(TARGET_CPU)" == "x64"
115 LINK_TARGET_CPU = /MACHINE:X64
117 !if "$(MONOLITHIC)" == "0"
120 !if "$(MONOLITHIC)" == "1"
123 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
124 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
125 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
128 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
131 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
134 !if "$(DEBUG_INFO)" == "0"
137 !if "$(DEBUG_INFO)" == "1"
140 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
141 __DEBUGINFO_1 = /DEBUG
143 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
146 !if "$(DEBUG_INFO)" == "0"
149 !if "$(DEBUG_INFO)" == "1"
150 __DEBUGINFO_1 = /DEBUG
152 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
153 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
155 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158 !if "$(DEBUG_INFO)" == "0"
161 !if "$(DEBUG_INFO)" == "1"
162 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
164 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
165 ____DEBUGRUNTIME_3_p = /D_DEBUG
167 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
168 ____DEBUGRUNTIME_3_p =
170 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
171 ____DEBUGRUNTIME_3_p =
173 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
174 ____DEBUGRUNTIME_3_p = /D_DEBUG
176 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
177 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
179 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
180 ____DEBUGRUNTIME_3_p_1 =
182 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
183 ____DEBUGRUNTIME_3_p_1 =
185 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
186 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
188 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
191 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
194 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
197 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
200 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
203 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
204 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
206 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
207 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
209 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
212 !if "$(BUILD)" == "debug"
213 __OPTIMIZEFLAG_6 = /Od
215 !if "$(BUILD)" == "release"
216 __OPTIMIZEFLAG_6 = /O2
218 !if "$(USE_THREADS)" == "0"
221 !if "$(USE_THREADS)" == "1"
224 !if "$(RUNTIME_LIBS)" == "dynamic"
225 __RUNTIME_LIBS_10 = D
227 !if "$(RUNTIME_LIBS)" == "static"
228 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
230 !if "$(USE_RTTI)" == "0"
233 !if "$(USE_RTTI)" == "1"
236 !if "$(USE_EXCEPTIONS)" == "0"
237 __EXCEPTIONSFLAG_12 =
239 !if "$(USE_EXCEPTIONS)" == "1"
240 __EXCEPTIONSFLAG_12 = /EHsc
242 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
243 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
245 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
246 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
248 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
249 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
251 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
252 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
254 !if "$(WXUNIV)" == "1"
255 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
257 !if "$(WXUNIV)" == "1"
258 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
260 !if "$(DEBUG_FLAG)" == "0"
261 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
263 !if "$(DEBUG_FLAG)" == "0"
264 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
266 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
267 __NDEBUG_DEFINE_p = /DNDEBUG
269 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
270 __NDEBUG_DEFINE_p = /DNDEBUG
272 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
273 __NDEBUG_DEFINE_p_1 = /d NDEBUG
275 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
276 __NDEBUG_DEFINE_p_1 = /d NDEBUG
278 !if "$(USE_EXCEPTIONS)" == "0"
279 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
281 !if "$(USE_EXCEPTIONS)" == "0"
282 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
284 !if "$(USE_RTTI)" == "0"
285 __RTTI_DEFINE_p = /DwxNO_RTTI
287 !if "$(USE_RTTI)" == "0"
288 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
290 !if "$(USE_THREADS)" == "0"
291 __THREAD_DEFINE_p = /DwxNO_THREADS
293 !if "$(USE_THREADS)" == "0"
294 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
296 !if "$(UNICODE)" == "0"
297 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
299 !if "$(UNICODE)" == "1"
300 __UNICODE_DEFINE_p = /D_UNICODE
302 !if "$(UNICODE)" == "0"
303 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
305 !if "$(UNICODE)" == "1"
306 __UNICODE_DEFINE_p_1 = /d _UNICODE
309 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
312 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
314 !if "$(USE_CAIRO)" == "1"
315 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
317 !if "$(USE_CAIRO)" == "1"
318 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
320 !if "$(SHARED)" == "1"
321 __DLLFLAG_p = /DWXUSINGDLL
323 !if "$(SHARED)" == "1"
324 __DLLFLAG_p_1 = /d WXUSINGDLL
326 !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "MAC" && "$(WXUNIV)" == "0"
327 ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \
328 $(OBJS)\dialogs_colrdlgg.obj \
329 $(OBJS)\dialogs_dirdlgg.obj \
330 $(OBJS)\dialogs_filedlgg.obj
332 !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "MSW" && "$(WXUNIV)" == "0"
333 ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \
334 $(OBJS)\dialogs_colrdlgg.obj \
335 $(OBJS)\dialogs_dirdlgg.obj \
336 $(OBJS)\dialogs_filedlgg.obj \
337 $(OBJS)\dialogs_fontdlgg.obj
339 !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "PM" && "$(WXUNIV)" == "0"
340 ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \
341 $(OBJS)\dialogs_fontdlgg.obj \
342 $(OBJS)\dialogs_filedlgg.obj
344 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
345 ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \
346 $(OBJS)\dialogs_filedlgg.obj
348 !if "$(MONOLITHIC)" == "0"
350 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
352 !if "$(MONOLITHIC)" == "0"
354 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
356 !if "$(MONOLITHIC)" == "0"
358 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
360 !if "$(MONOLITHIC)" == "1"
362 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
364 !if "$(USE_GUI)" == "1"
365 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
367 !if "$(USE_GUI)" == "1"
368 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
370 !if "$(USE_GUI)" == "1"
371 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
374 __UNICOWS_LIB_p = unicows.lib
376 !if "$(USE_CAIRO)" == "1"
377 __CAIRO_LIB_p = cairo.lib
379 !if "$(USE_CAIRO)" == "1"
380 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
386 -if not exist $(OBJS) mkdir $(OBJS)
390 all: $(OBJS)\dialogs.exe data
393 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
394 -if exist $(OBJS)\*.res del $(OBJS)\*.res
395 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
396 -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe
397 -if exist $(OBJS)\dialogs.ilk del $(OBJS)\dialogs.ilk
398 -if exist $(OBJS)\dialogs.pdb del $(OBJS)\dialogs.pdb
400 $(OBJS)\dialogs.exe: $(DIALOGS_OBJECTS) $(OBJS)\dialogs_sample.res
401 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\dialogs.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
402 $(DIALOGS_OBJECTS) $(DIALOGS_RESOURCES) $(__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
406 if not exist $(OBJS) mkdir $(OBJS)
407 for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
409 $(OBJS)\dialogs_sample.res: .\..\..\samples\sample.rc
410 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 .\..\..\samples\sample.rc
412 $(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp
413 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\dialogs.cpp
415 !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0"
416 $(OBJS)\dialogs_colrdlgg.obj: .\..\..\src\generic\colrdlgg.cpp
417 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\colrdlgg.cpp
420 !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0"
421 $(OBJS)\dialogs_dirdlgg.obj: .\..\..\src\generic\dirdlgg.cpp
422 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\dirdlgg.cpp
425 !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0"
426 $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp
427 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp
430 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
431 $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp
432 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp
435 !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "PM" && "$(WXUNIV)" == "0"
436 $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp
437 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp
440 !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0"
441 $(OBJS)\dialogs_fontdlgg.obj: .\..\..\src\generic\fontdlgg.cpp
442 $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\fontdlgg.cpp