| 1 | # =========================================================================\r |
| 2 | # This makefile was generated by\r |
| 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
| 4 | # Do not modify, all changes will be overwritten!\r |
| 5 | # =========================================================================\r |
| 6 | \r |
| 7 | !include <../../../build/msw/config.vc>\r |
| 8 | \r |
| 9 | # -------------------------------------------------------------------------\r |
| 10 | # Do not modify the rest of this file!\r |
| 11 | # -------------------------------------------------------------------------\r |
| 12 | \r |
| 13 | ### Variables: ###\r |
| 14 | \r |
| 15 | WX_RELEASE_NODOT = 29\r |
| 16 | COMPILER_PREFIX = vc\r |
| 17 | OBJS = \\r |
| 18 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX) |
| 19 | LIBDIRNAME = \\r |
| 20 | .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) |
| 21 | SETUPHDIR = \\r |
| 22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r |
| 23 | SCREENSHOTGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r |
| 24 | $(__DEBUGINFO_0) /Fd$(OBJS)\screenshotgen.pdb $(____DEBUGRUNTIME_3_p) \\r |
| 25 | $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \\r |
| 26 | /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r |
| 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) |
| 34 | SCREENSHOTGEN_OBJECTS = \\r |
| 35 | $(OBJS)\screenshotgen_screenshot_app.obj \\r |
| 36 | $(OBJS)\screenshotgen_screenshot_main.obj \\r |
| 37 | $(OBJS)\screenshotgen_guiframe.obj \\r |
| 38 | $(OBJS)\screenshotgen_customcombo.obj \\r |
| 39 | $(OBJS)\screenshotgen_autocapture.obj\r |
| 40 | SCREENSHOTGEN_RESOURCES = \\r |
| 41 | $(OBJS)\screenshotgen_screenshotgen.res\r |
| 42 | \r |
| 43 | ### Conditionally set variables: ###\r |
| 44 | \r |
| 45 | !if "$(TOOLKIT)" == "GTK" |
| 46 | WIN32_TOOLKIT_LOWERCASE = gtk |
| 47 | !endif |
| 48 | !if "$(TOOLKIT)" == "MSW" |
| 49 | WIN32_TOOLKIT_LOWERCASE = msw |
| 50 | !endif |
| 51 | !if "$(TARGET_CPU)" == "AMD64" |
| 52 | ARCH_SUFFIX = _x64 |
| 53 | !endif |
| 54 | !if "$(TARGET_CPU)" == "IA64" |
| 55 | ARCH_SUFFIX = _ia64 |
| 56 | !endif |
| 57 | !if "$(TARGET_CPU)" == "X64" |
| 58 | ARCH_SUFFIX = _x64 |
| 59 | !endif |
| 60 | !if "$(TARGET_CPU)" == "amd64" |
| 61 | ARCH_SUFFIX = _x64 |
| 62 | !endif |
| 63 | !if "$(TARGET_CPU)" == "ia64" |
| 64 | ARCH_SUFFIX = _ia64 |
| 65 | !endif |
| 66 | !if "$(TARGET_CPU)" == "x64" |
| 67 | ARCH_SUFFIX = _x64 |
| 68 | !endif |
| 69 | !if "$(USE_GUI)" == "0"\r |
| 70 | PORTNAME = base\r |
| 71 | !endif\r |
| 72 | !if "$(USE_GUI)" == "1"\r |
| 73 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) |
| 74 | !endif |
| 75 | !if "$(TOOLKIT)" == "MAC" |
| 76 | WXBASEPORT = _carbon |
| 77 | !endif |
| 78 | !if "$(OFFICIAL_BUILD)" == "1" |
| 79 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD |
| 80 | !endif\r |
| 81 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 82 | WXDEBUGFLAG = d\r |
| 83 | !endif\r |
| 84 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r |
| 85 | WXDEBUGFLAG = d\r |
| 86 | !endif\r |
| 87 | !if "$(UNICODE)" == "1"\r |
| 88 | WXUNICODEFLAG = u\r |
| 89 | !endif\r |
| 90 | !if "$(WXUNIV)" == "1"\r |
| 91 | WXUNIVNAME = univ\r |
| 92 | !endif\r |
| 93 | !if "$(SHARED)" == "1"\r |
| 94 | WXDLLFLAG = dll\r |
| 95 | !endif\r |
| 96 | !if "$(SHARED)" == "0"\r |
| 97 | LIBTYPE_SUFFIX = lib\r |
| 98 | !endif\r |
| 99 | !if "$(SHARED)" == "1"\r |
| 100 | LIBTYPE_SUFFIX = dll\r |
| 101 | !endif\r |
| 102 | !if "$(TARGET_CPU)" == "AMD64"\r |
| 103 | LINK_TARGET_CPU = /MACHINE:X64\r |
| 104 | !endif\r |
| 105 | !if "$(TARGET_CPU)" == "IA64"\r |
| 106 | LINK_TARGET_CPU = /MACHINE:IA64\r |
| 107 | !endif\r |
| 108 | !if "$(TARGET_CPU)" == "X64" |
| 109 | LINK_TARGET_CPU = /MACHINE:X64 |
| 110 | !endif |
| 111 | !if "$(TARGET_CPU)" == "amd64"\r |
| 112 | LINK_TARGET_CPU = /MACHINE:X64\r |
| 113 | !endif\r |
| 114 | !if "$(TARGET_CPU)" == "ia64"\r |
| 115 | LINK_TARGET_CPU = /MACHINE:IA64\r |
| 116 | !endif\r |
| 117 | !if "$(TARGET_CPU)" == "x64" |
| 118 | LINK_TARGET_CPU = /MACHINE:X64 |
| 119 | !endif |
| 120 | !if "$(MONOLITHIC)" == "0"\r |
| 121 | EXTRALIBS_FOR_BASE = \r |
| 122 | !endif\r |
| 123 | !if "$(MONOLITHIC)" == "1"\r |
| 124 | EXTRALIBS_FOR_BASE = \r |
| 125 | !endif\r |
| 126 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" |
| 127 | LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \ |
| 128 | gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \ |
| 129 | glib-2.0.lib |
| 130 | !endif |
| 131 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
| 132 | __DEBUGINFO_0 = /Zi\r |
| 133 | !endif\r |
| 134 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r |
| 135 | __DEBUGINFO_0 = \r |
| 136 | !endif\r |
| 137 | !if "$(DEBUG_INFO)" == "0"\r |
| 138 | __DEBUGINFO_0 = \r |
| 139 | !endif\r |
| 140 | !if "$(DEBUG_INFO)" == "1"\r |
| 141 | __DEBUGINFO_0 = /Zi\r |
| 142 | !endif\r |
| 143 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
| 144 | __DEBUGINFO_1 = /DEBUG\r |
| 145 | !endif\r |
| 146 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r |
| 147 | __DEBUGINFO_1 = \r |
| 148 | !endif\r |
| 149 | !if "$(DEBUG_INFO)" == "0"\r |
| 150 | __DEBUGINFO_1 = \r |
| 151 | !endif\r |
| 152 | !if "$(DEBUG_INFO)" == "1"\r |
| 153 | __DEBUGINFO_1 = /DEBUG\r |
| 154 | !endif\r |
| 155 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
| 156 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r |
| 157 | !endif\r |
| 158 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r |
| 159 | __DEBUGINFO_2 = \r |
| 160 | !endif\r |
| 161 | !if "$(DEBUG_INFO)" == "0"\r |
| 162 | __DEBUGINFO_2 = \r |
| 163 | !endif\r |
| 164 | !if "$(DEBUG_INFO)" == "1"\r |
| 165 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r |
| 166 | !endif\r |
| 167 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 168 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r |
| 169 | !endif\r |
| 170 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 171 | ____DEBUGRUNTIME_3_p = \r |
| 172 | !endif\r |
| 173 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 174 | ____DEBUGRUNTIME_3_p = \r |
| 175 | !endif\r |
| 176 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r |
| 177 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r |
| 178 | !endif\r |
| 179 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 180 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r |
| 181 | !endif\r |
| 182 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 183 | ____DEBUGRUNTIME_3_p_1 = \r |
| 184 | !endif\r |
| 185 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 186 | ____DEBUGRUNTIME_3_p_1 = \r |
| 187 | !endif\r |
| 188 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r |
| 189 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r |
| 190 | !endif\r |
| 191 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 192 | __DEBUGRUNTIME_4 = d\r |
| 193 | !endif\r |
| 194 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 195 | __DEBUGRUNTIME_4 = \r |
| 196 | !endif\r |
| 197 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 198 | __DEBUGRUNTIME_4 = \r |
| 199 | !endif\r |
| 200 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r |
| 201 | __DEBUGRUNTIME_4 = d\r |
| 202 | !endif\r |
| 203 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 204 | __DEBUGRUNTIME_5 = \r |
| 205 | !endif\r |
| 206 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 207 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r |
| 208 | !endif\r |
| 209 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 210 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r |
| 211 | !endif\r |
| 212 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r |
| 213 | __DEBUGRUNTIME_5 = \r |
| 214 | !endif\r |
| 215 | !if "$(BUILD)" == "debug"\r |
| 216 | __OPTIMIZEFLAG_6 = /Od\r |
| 217 | !endif\r |
| 218 | !if "$(BUILD)" == "release"\r |
| 219 | __OPTIMIZEFLAG_6 = /O2\r |
| 220 | !endif\r |
| 221 | !if "$(USE_THREADS)" == "0"\r |
| 222 | __THREADSFLAG_9 = L\r |
| 223 | !endif\r |
| 224 | !if "$(USE_THREADS)" == "1"\r |
| 225 | __THREADSFLAG_9 = T\r |
| 226 | !endif\r |
| 227 | !if "$(RUNTIME_LIBS)" == "dynamic"\r |
| 228 | __RUNTIME_LIBS_10 = D\r |
| 229 | !endif\r |
| 230 | !if "$(RUNTIME_LIBS)" == "static"\r |
| 231 | __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r |
| 232 | !endif\r |
| 233 | !if "$(USE_RTTI)" == "0"\r |
| 234 | __RTTIFLAG_11 = \r |
| 235 | !endif\r |
| 236 | !if "$(USE_RTTI)" == "1"\r |
| 237 | __RTTIFLAG_11 = /GR\r |
| 238 | !endif\r |
| 239 | !if "$(USE_EXCEPTIONS)" == "0"\r |
| 240 | __EXCEPTIONSFLAG_12 = \r |
| 241 | !endif\r |
| 242 | !if "$(USE_EXCEPTIONS)" == "1"\r |
| 243 | __EXCEPTIONSFLAG_12 = /EHsc\r |
| 244 | !endif\r |
| 245 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 246 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r |
| 247 | !endif\r |
| 248 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r |
| 249 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r |
| 250 | !endif\r |
| 251 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 252 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r |
| 253 | !endif\r |
| 254 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r |
| 255 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r |
| 256 | !endif\r |
| 257 | !if "$(WXUNIV)" == "1"\r |
| 258 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r |
| 259 | !endif\r |
| 260 | !if "$(WXUNIV)" == "1"\r |
| 261 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r |
| 262 | !endif\r |
| 263 | !if "$(DEBUG_FLAG)" == "0"\r |
| 264 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r |
| 265 | !endif\r |
| 266 | !if "$(DEBUG_FLAG)" == "0"\r |
| 267 | __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r |
| 268 | !endif\r |
| 269 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 270 | __NDEBUG_DEFINE_p = /DNDEBUG\r |
| 271 | !endif\r |
| 272 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 273 | __NDEBUG_DEFINE_p = /DNDEBUG\r |
| 274 | !endif\r |
| 275 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
| 276 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r |
| 277 | !endif\r |
| 278 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r |
| 279 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r |
| 280 | !endif\r |
| 281 | !if "$(USE_EXCEPTIONS)" == "0"\r |
| 282 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r |
| 283 | !endif\r |
| 284 | !if "$(USE_EXCEPTIONS)" == "0"\r |
| 285 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r |
| 286 | !endif\r |
| 287 | !if "$(USE_RTTI)" == "0"\r |
| 288 | __RTTI_DEFINE_p = /DwxNO_RTTI\r |
| 289 | !endif\r |
| 290 | !if "$(USE_RTTI)" == "0"\r |
| 291 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI\r |
| 292 | !endif\r |
| 293 | !if "$(USE_THREADS)" == "0"\r |
| 294 | __THREAD_DEFINE_p = /DwxNO_THREADS\r |
| 295 | !endif\r |
| 296 | !if "$(USE_THREADS)" == "0"\r |
| 297 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS\r |
| 298 | !endif\r |
| 299 | !if "$(UNICODE)" == "0"\r |
| 300 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r |
| 301 | !endif\r |
| 302 | !if "$(UNICODE)" == "1"\r |
| 303 | __UNICODE_DEFINE_p = /D_UNICODE\r |
| 304 | !endif\r |
| 305 | !if "$(UNICODE)" == "0"\r |
| 306 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r |
| 307 | !endif\r |
| 308 | !if "$(UNICODE)" == "1"\r |
| 309 | __UNICODE_DEFINE_p_1 = /d _UNICODE\r |
| 310 | !endif\r |
| 311 | !if "$(MSLU)" == "1"\r |
| 312 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r |
| 313 | !endif\r |
| 314 | !if "$(MSLU)" == "1"\r |
| 315 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r |
| 316 | !endif\r |
| 317 | !if "$(USE_CAIRO)" == "1"\r |
| 318 | ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r |
| 319 | !endif\r |
| 320 | !if "$(USE_CAIRO)" == "1"\r |
| 321 | ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo\r |
| 322 | !endif\r |
| 323 | !if "$(SHARED)" == "1"\r |
| 324 | __DLLFLAG_p = /DWXUSINGDLL\r |
| 325 | !endif\r |
| 326 | !if "$(SHARED)" == "1"\r |
| 327 | __DLLFLAG_p_1 = /d WXUSINGDLL\r |
| 328 | !endif\r |
| 329 | !if "$(MONOLITHIC)" == "0"\r |
| 330 | __WXLIB_AUI_p = \\r |
| 331 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui.lib\r |
| 332 | !endif\r |
| 333 | !if "$(MONOLITHIC)" == "0"\r |
| 334 | __WXLIB_RICHTEXT_p = \\r |
| 335 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext.lib\r |
| 336 | !endif\r |
| 337 | !if "$(MONOLITHIC)" == "0"\r |
| 338 | __WXLIB_HTML_p = \\r |
| 339 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib\r |
| 340 | !endif\r |
| 341 | !if "$(MONOLITHIC)" == "0"\r |
| 342 | __WXLIB_ADV_p = \\r |
| 343 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r |
| 344 | !endif\r |
| 345 | !if "$(MONOLITHIC)" == "0"\r |
| 346 | __WXLIB_XML_p = \\r |
| 347 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib |
| 348 | !endif\r |
| 349 | !if "$(MONOLITHIC)" == "0"\r |
| 350 | __WXLIB_CORE_p = \\r |
| 351 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r |
| 352 | !endif\r |
| 353 | !if "$(MONOLITHIC)" == "0"\r |
| 354 | __WXLIB_BASE_p = \\r |
| 355 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
| 356 | !endif\r |
| 357 | !if "$(MONOLITHIC)" == "1"\r |
| 358 | __WXLIB_MONO_p = \\r |
| 359 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r |
| 360 | !endif\r |
| 361 | !if "$(USE_GUI)" == "1"\r |
| 362 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r |
| 363 | !endif\r |
| 364 | !if "$(USE_GUI)" == "1"\r |
| 365 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r |
| 366 | !endif\r |
| 367 | !if "$(USE_GUI)" == "1"\r |
| 368 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r |
| 369 | !endif\r |
| 370 | !if "$(MSLU)" == "1"\r |
| 371 | __UNICOWS_LIB_p = unicows.lib\r |
| 372 | !endif\r |
| 373 | !if "$(USE_CAIRO)" == "1"\r |
| 374 | __CAIRO_LIB_p = cairo.lib\r |
| 375 | !endif\r |
| 376 | !if "$(USE_CAIRO)" == "1"\r |
| 377 | ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r |
| 378 | !endif\r |
| 379 | \r |
| 380 | \r |
| 381 | all: $(OBJS)\r |
| 382 | $(OBJS):\r |
| 383 | -if not exist $(OBJS) mkdir $(OBJS)\r |
| 384 | \r |
| 385 | ### Targets: ###\r |
| 386 | \r |
| 387 | all: $(OBJS)\screenshotgen.exe bitmaps xml\r |
| 388 | \r |
| 389 | clean: \r |
| 390 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r |
| 391 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r |
| 392 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r |
| 393 | -if exist $(OBJS)\screenshotgen.exe del $(OBJS)\screenshotgen.exe\r |
| 394 | -if exist $(OBJS)\screenshotgen.ilk del $(OBJS)\screenshotgen.ilk\r |
| 395 | -if exist $(OBJS)\screenshotgen.pdb del $(OBJS)\screenshotgen.pdb\r |
| 396 | \r |
| 397 | $(OBJS)\screenshotgen.exe: $(SCREENSHOTGEN_OBJECTS) $(OBJS)\screenshotgen_screenshotgen.res\r |
| 398 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\screenshotgen.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r |
| 399 | $(SCREENSHOTGEN_OBJECTS) $(SCREENSHOTGEN_RESOURCES) $(__WXLIB_AUI_p) $(__WXLIB_RICHTEXT_p) $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_XML_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 |
| 400 | <<\r |
| 401 | \r |
| 402 | bitmaps: \r |
| 403 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps\r |
| 404 | for %f in (wxwin32x32.png bell.png sound.png dropbuth.png dropbutn.png dropbutp.png throbber.gif) do if not exist $(OBJS)\bitmaps\%f copy .\bitmaps\%f $(OBJS)\bitmaps\r |
| 405 | \r |
| 406 | xml: \r |
| 407 | if not exist $(OBJS) mkdir $(OBJS)\r |
| 408 | for %f in (richtext.xml) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r |
| 409 | \r |
| 410 | $(OBJS)\screenshotgen_screenshot_app.obj: .\screenshot_app.cpp\r |
| 411 | $(CXX) /c /nologo /TP /Fo$@ $(SCREENSHOTGEN_CXXFLAGS) .\screenshot_app.cpp\r |
| 412 | \r |
| 413 | $(OBJS)\screenshotgen_screenshot_main.obj: .\screenshot_main.cpp\r |
| 414 | $(CXX) /c /nologo /TP /Fo$@ $(SCREENSHOTGEN_CXXFLAGS) .\screenshot_main.cpp\r |
| 415 | \r |
| 416 | $(OBJS)\screenshotgen_guiframe.obj: .\guiframe.cpp\r |
| 417 | $(CXX) /c /nologo /TP /Fo$@ $(SCREENSHOTGEN_CXXFLAGS) .\guiframe.cpp\r |
| 418 | \r |
| 419 | $(OBJS)\screenshotgen_customcombo.obj: .\customcombo.cpp\r |
| 420 | $(CXX) /c /nologo /TP /Fo$@ $(SCREENSHOTGEN_CXXFLAGS) .\customcombo.cpp\r |
| 421 | \r |
| 422 | $(OBJS)\screenshotgen_autocapture.obj: .\autocapture.cpp\r |
| 423 | $(CXX) /c /nologo /TP /Fo$@ $(SCREENSHOTGEN_CXXFLAGS) .\autocapture.cpp\r |
| 424 | \r |
| 425 | $(OBJS)\screenshotgen_screenshotgen.res: .\screenshotgen.rc\r |
| 426 | 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 .\screenshotgen.rc |
| 427 | \r |