| 1 | # ========================================================================= |
| 2 | # This makefile was generated by |
| 3 | # Bakefile 0.2.4 (http://www.bakefile.org) |
| 4 | # Do not modify, all changes will be overwritten! |
| 5 | # ========================================================================= |
| 6 | |
| 7 | .autodepend |
| 8 | |
| 9 | !ifndef BCCDIR |
| 10 | !ifndef MAKEDIR |
| 11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 |
| 12 | !endif |
| 13 | BCCDIR = $(MAKEDIR)\.. |
| 14 | !endif |
| 15 | |
| 16 | !include ../build/msw/config.bcc |
| 17 | |
| 18 | # ------------------------------------------------------------------------- |
| 19 | # Do not modify the rest of this file! |
| 20 | # ------------------------------------------------------------------------- |
| 21 | |
| 22 | ### Variables: ### |
| 23 | |
| 24 | WX_RELEASE_NODOT = 29 |
| 25 | COMPILER_PREFIX = bcc |
| 26 | OBJS = \ |
| 27 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
| 28 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) |
| 29 | SETUPHDIR = \ |
| 30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) |
| 31 | TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
| 32 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
| 33 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
| 34 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
| 35 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
| 36 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(CPPFLAGS) \ |
| 37 | $(CXXFLAGS) |
| 38 | TEST_OBJECTS = \ |
| 39 | $(OBJS)\test_dummy.obj \ |
| 40 | $(OBJS)\test_test.obj \ |
| 41 | $(OBJS)\test_archivetest.obj \ |
| 42 | $(OBJS)\test_ziptest.obj \ |
| 43 | $(OBJS)\test_tartest.obj \ |
| 44 | $(OBJS)\test_arrays.obj \ |
| 45 | $(OBJS)\test_base64.obj \ |
| 46 | $(OBJS)\test_cmdlinetest.obj \ |
| 47 | $(OBJS)\test_fileconf.obj \ |
| 48 | $(OBJS)\test_datetimetest.obj \ |
| 49 | $(OBJS)\test_filekind.obj \ |
| 50 | $(OBJS)\test_filenametest.obj \ |
| 51 | $(OBJS)\test_filesystest.obj \ |
| 52 | $(OBJS)\test_fontmaptest.obj \ |
| 53 | $(OBJS)\test_formatconvertertest.obj \ |
| 54 | $(OBJS)\test_hashes.obj \ |
| 55 | $(OBJS)\test_intltest.obj \ |
| 56 | $(OBJS)\test_lists.obj \ |
| 57 | $(OBJS)\test_longlongtest.obj \ |
| 58 | $(OBJS)\test_convautotest.obj \ |
| 59 | $(OBJS)\test_mbconvtest.obj \ |
| 60 | $(OBJS)\test_misctests.obj \ |
| 61 | $(OBJS)\test_ipc.obj \ |
| 62 | $(OBJS)\test_regextest.obj \ |
| 63 | $(OBJS)\test_wxregextest.obj \ |
| 64 | $(OBJS)\test_scopeguardtest.obj \ |
| 65 | $(OBJS)\test_iostream.obj \ |
| 66 | $(OBJS)\test_strings.obj \ |
| 67 | $(OBJS)\test_stdstrings.obj \ |
| 68 | $(OBJS)\test_tokenizer.obj \ |
| 69 | $(OBJS)\test_unichar.obj \ |
| 70 | $(OBJS)\test_unicode.obj \ |
| 71 | $(OBJS)\test_vararg.obj \ |
| 72 | $(OBJS)\test_crt.obj \ |
| 73 | $(OBJS)\test_vsnprintf.obj \ |
| 74 | $(OBJS)\test_bstream.obj \ |
| 75 | $(OBJS)\test_datastreamtest.obj \ |
| 76 | $(OBJS)\test_ffilestream.obj \ |
| 77 | $(OBJS)\test_fileback.obj \ |
| 78 | $(OBJS)\test_filestream.obj \ |
| 79 | $(OBJS)\test_iostreams.obj \ |
| 80 | $(OBJS)\test_largefile.obj \ |
| 81 | $(OBJS)\test_memstream.obj \ |
| 82 | $(OBJS)\test_socketstream.obj \ |
| 83 | $(OBJS)\test_sstream.obj \ |
| 84 | $(OBJS)\test_tempfile.obj \ |
| 85 | $(OBJS)\test_textstreamtest.obj \ |
| 86 | $(OBJS)\test_zlibstream.obj \ |
| 87 | $(OBJS)\test_textfiletest.obj \ |
| 88 | $(OBJS)\test_atomic.obj \ |
| 89 | $(OBJS)\test_queue.obj \ |
| 90 | $(OBJS)\test_tls.obj \ |
| 91 | $(OBJS)\test_uris.obj \ |
| 92 | $(OBJS)\test_vectors.obj \ |
| 93 | $(OBJS)\test_evtconnection.obj \ |
| 94 | $(OBJS)\test_weakref.obj \ |
| 95 | $(OBJS)\test_xlocale.obj \ |
| 96 | $(OBJS)\test_xmltest.obj |
| 97 | TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
| 98 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
| 99 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
| 100 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
| 101 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
| 102 | -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) -Hu \ |
| 103 | -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) $(CXXFLAGS) |
| 104 | TEST_GUI_OBJECTS = \ |
| 105 | $(OBJS)\test_gui_dummy.obj \ |
| 106 | $(OBJS)\test_gui_test.obj \ |
| 107 | $(OBJS)\test_gui_rect.obj \ |
| 108 | $(OBJS)\test_gui_size.obj \ |
| 109 | $(OBJS)\test_gui_point.obj \ |
| 110 | $(OBJS)\test_gui_config.obj \ |
| 111 | $(OBJS)\test_gui_comboboxtest.obj \ |
| 112 | $(OBJS)\test_gui_textctrltest.obj \ |
| 113 | $(OBJS)\test_gui_textentrytest.obj \ |
| 114 | $(OBJS)\test_gui_rawbmp.obj \ |
| 115 | $(OBJS)\test_gui_guifuncs.obj \ |
| 116 | $(OBJS)\test_gui_selstoretest.obj \ |
| 117 | $(OBJS)\test_gui_clientsize.obj \ |
| 118 | $(OBJS)\test_gui_setsize.obj |
| 119 | PRINTFBENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
| 120 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
| 121 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
| 122 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
| 123 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
| 124 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_printfbench.csm \ |
| 125 | $(CPPFLAGS) $(CXXFLAGS) |
| 126 | PRINTFBENCH_OBJECTS = \ |
| 127 | $(OBJS)\printfbench_dummy.obj \ |
| 128 | $(OBJS)\printfbench_printfbench.obj |
| 129 | |
| 130 | ### Conditionally set variables: ### |
| 131 | |
| 132 | !if "$(USE_GUI)" == "0" |
| 133 | PORTNAME = base |
| 134 | !endif |
| 135 | !if "$(USE_GUI)" == "1" |
| 136 | PORTNAME = msw |
| 137 | !endif |
| 138 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
| 139 | WXDEBUGFLAG = d |
| 140 | !endif |
| 141 | !if "$(DEBUG_FLAG)" == "1" |
| 142 | WXDEBUGFLAG = d |
| 143 | !endif |
| 144 | !if "$(UNICODE)" == "1" |
| 145 | WXUNICODEFLAG = u |
| 146 | !endif |
| 147 | !if "$(WXUNIV)" == "1" |
| 148 | WXUNIVNAME = univ |
| 149 | !endif |
| 150 | !if "$(SHARED)" == "1" |
| 151 | WXDLLFLAG = dll |
| 152 | !endif |
| 153 | !if "$(SHARED)" == "0" |
| 154 | LIBTYPE_SUFFIX = lib |
| 155 | !endif |
| 156 | !if "$(SHARED)" == "1" |
| 157 | LIBTYPE_SUFFIX = dll |
| 158 | !endif |
| 159 | !if "$(MONOLITHIC)" == "0" |
| 160 | EXTRALIBS_FOR_BASE = |
| 161 | !endif |
| 162 | !if "$(MONOLITHIC)" == "1" |
| 163 | EXTRALIBS_FOR_BASE = |
| 164 | !endif |
| 165 | !if "$(MONOLITHIC)" == "0" |
| 166 | __WXLIB_NET_p = \ |
| 167 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib |
| 168 | !endif |
| 169 | !if "$(MONOLITHIC)" == "0" |
| 170 | __WXLIB_XML_p = \ |
| 171 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib |
| 172 | !endif |
| 173 | !if "$(USE_GUI)" == "1" |
| 174 | __test_gui___depname = $(OBJS)\test_gui.exe |
| 175 | !endif |
| 176 | !if "$(WXUNIV)" == "1" |
| 177 | __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__ |
| 178 | !endif |
| 179 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
| 180 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ |
| 181 | !endif |
| 182 | !if "$(DEBUG_FLAG)" == "1" |
| 183 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ |
| 184 | !endif |
| 185 | !if "$(USE_EXCEPTIONS)" == "0" |
| 186 | __EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS |
| 187 | !endif |
| 188 | !if "$(USE_RTTI)" == "0" |
| 189 | __RTTI_DEFINE_p_3 = -dwxNO_RTTI |
| 190 | !endif |
| 191 | !if "$(USE_THREADS)" == "0" |
| 192 | __THREAD_DEFINE_p_3 = -dwxNO_THREADS |
| 193 | !endif |
| 194 | !if "$(UNICODE)" == "0" |
| 195 | __UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0 |
| 196 | !endif |
| 197 | !if "$(UNICODE)" == "1" |
| 198 | __UNICODE_DEFINE_p_3 = -d_UNICODE |
| 199 | !endif |
| 200 | !if "$(MSLU)" == "1" |
| 201 | __MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1 |
| 202 | !endif |
| 203 | !if "$(USE_GDIPLUS)" == "1" |
| 204 | __GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1 |
| 205 | !endif |
| 206 | !if "$(SHARED)" == "1" |
| 207 | __DLLFLAG_p_3 = -dWXUSINGDLL |
| 208 | !endif |
| 209 | !if "$(MONOLITHIC)" == "0" |
| 210 | __WXLIB_CORE_p = \ |
| 211 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
| 212 | !endif |
| 213 | !if "$(USE_GUI)" == "1" |
| 214 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
| 215 | !endif |
| 216 | !if "$(USE_GUI)" == "1" |
| 217 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
| 218 | !endif |
| 219 | !if "$(USE_GUI)" == "1" |
| 220 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
| 221 | !endif |
| 222 | !if "$(BUILD)" == "debug" |
| 223 | __OPTIMIZEFLAG = -Od |
| 224 | !endif |
| 225 | !if "$(BUILD)" == "release" |
| 226 | __OPTIMIZEFLAG = -O2 |
| 227 | !endif |
| 228 | !if "$(USE_THREADS)" == "0" |
| 229 | __THREADSFLAG = |
| 230 | !endif |
| 231 | !if "$(USE_THREADS)" == "1" |
| 232 | __THREADSFLAG = mt |
| 233 | !endif |
| 234 | !if "$(USE_THREADS)" == "0" |
| 235 | __THREADSFLAG_1 = |
| 236 | !endif |
| 237 | !if "$(USE_THREADS)" == "1" |
| 238 | __THREADSFLAG_1 = -tWM |
| 239 | !endif |
| 240 | !if "$(RUNTIME_LIBS)" == "dynamic" |
| 241 | __RUNTIME_LIBS = -tWR |
| 242 | !endif |
| 243 | !if "$(RUNTIME_LIBS)" == "static" |
| 244 | __RUNTIME_LIBS = |
| 245 | !endif |
| 246 | !if "$(RUNTIME_LIBS)" == "dynamic" |
| 247 | __RUNTIME_LIBS_1 = i |
| 248 | !endif |
| 249 | !if "$(RUNTIME_LIBS)" == "static" |
| 250 | __RUNTIME_LIBS_1 = |
| 251 | !endif |
| 252 | !if "$(WXUNIV)" == "1" |
| 253 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
| 254 | !endif |
| 255 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
| 256 | __DEBUG_DEFINE_p = -D__WXDEBUG__ |
| 257 | !endif |
| 258 | !if "$(DEBUG_FLAG)" == "1" |
| 259 | __DEBUG_DEFINE_p = -D__WXDEBUG__ |
| 260 | !endif |
| 261 | !if "$(USE_EXCEPTIONS)" == "0" |
| 262 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
| 263 | !endif |
| 264 | !if "$(USE_RTTI)" == "0" |
| 265 | __RTTI_DEFINE_p = -DwxNO_RTTI |
| 266 | !endif |
| 267 | !if "$(USE_THREADS)" == "0" |
| 268 | __THREAD_DEFINE_p = -DwxNO_THREADS |
| 269 | !endif |
| 270 | !if "$(UNICODE)" == "0" |
| 271 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 |
| 272 | !endif |
| 273 | !if "$(UNICODE)" == "1" |
| 274 | __UNICODE_DEFINE_p = -D_UNICODE |
| 275 | !endif |
| 276 | !if "$(MSLU)" == "1" |
| 277 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 |
| 278 | !endif |
| 279 | !if "$(USE_GDIPLUS)" == "1" |
| 280 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 |
| 281 | !endif |
| 282 | !if "$(SHARED)" == "1" |
| 283 | __DLLFLAG_p = -DWXUSINGDLL |
| 284 | !endif |
| 285 | !if "$(MONOLITHIC)" == "0" |
| 286 | __WXLIB_BASE_p = \ |
| 287 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
| 288 | !endif |
| 289 | !if "$(MONOLITHIC)" == "1" |
| 290 | __WXLIB_MONO_p = \ |
| 291 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
| 292 | !endif |
| 293 | !if "$(MSLU)" == "1" |
| 294 | __UNICOWS_LIB_p = unicows.lib |
| 295 | !endif |
| 296 | !if "$(USE_GDIPLUS)" == "1" |
| 297 | __GDIPLUS_LIB_p = gdiplus.lib |
| 298 | !endif |
| 299 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
| 300 | __DEBUGINFO = -v |
| 301 | !endif |
| 302 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
| 303 | __DEBUGINFO = -v- |
| 304 | !endif |
| 305 | !if "$(DEBUG_INFO)" == "0" |
| 306 | __DEBUGINFO = -v- |
| 307 | !endif |
| 308 | !if "$(DEBUG_INFO)" == "1" |
| 309 | __DEBUGINFO = -v |
| 310 | !endif |
| 311 | |
| 312 | |
| 313 | all: $(OBJS) |
| 314 | $(OBJS): |
| 315 | -if not exist $(OBJS) mkdir $(OBJS) |
| 316 | |
| 317 | ### Targets: ### |
| 318 | |
| 319 | all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe |
| 320 | |
| 321 | clean: |
| 322 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj |
| 323 | -if exist $(OBJS)\*.res del $(OBJS)\*.res |
| 324 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm |
| 325 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe |
| 326 | -if exist $(OBJS)\test.tds del $(OBJS)\test.tds |
| 327 | -if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc |
| 328 | -if exist $(OBJS)\test.ild del $(OBJS)\test.ild |
| 329 | -if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf |
| 330 | -if exist $(OBJS)\test.ils del $(OBJS)\test.ils |
| 331 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe |
| 332 | -if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds |
| 333 | -if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc |
| 334 | -if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild |
| 335 | -if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf |
| 336 | -if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils |
| 337 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe |
| 338 | -if exist $(OBJS)\printfbench.tds del $(OBJS)\printfbench.tds |
| 339 | -if exist $(OBJS)\printfbench.ilc del $(OBJS)\printfbench.ilc |
| 340 | -if exist $(OBJS)\printfbench.ild del $(OBJS)\printfbench.ild |
| 341 | -if exist $(OBJS)\printfbench.ilf del $(OBJS)\printfbench.ilf |
| 342 | -if exist $(OBJS)\printfbench.ils del $(OBJS)\printfbench.ils |
| 343 | |
| 344 | $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) |
| 345 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) $(LDFLAGS) @&&| |
| 346 | c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, |
| 347 | | |
| 348 | |
| 349 | !if "$(USE_GUI)" == "1" |
| 350 | $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res |
| 351 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap $(LDFLAGS) @&&| |
| 352 | c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, $(OBJS)\test_gui_sample.res |
| 353 | | |
| 354 | !endif |
| 355 | |
| 356 | data: |
| 357 | if not exist $(OBJS) mkdir $(OBJS) |
| 358 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) |
| 359 | |
| 360 | fr: |
| 361 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr |
| 362 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr |
| 363 | |
| 364 | $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS) |
| 365 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) $(LDFLAGS) @&&| |
| 366 | c0x32.obj $(PRINTFBENCH_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, |
| 367 | | |
| 368 | |
| 369 | $(OBJS)\test_dummy.obj: .\dummy.cpp |
| 370 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H .\dummy.cpp |
| 371 | |
| 372 | $(OBJS)\test_test.obj: .\test.cpp |
| 373 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\test.cpp |
| 374 | |
| 375 | $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp |
| 376 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp |
| 377 | |
| 378 | $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp |
| 379 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp |
| 380 | |
| 381 | $(OBJS)\test_tartest.obj: .\archive\tartest.cpp |
| 382 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp |
| 383 | |
| 384 | $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp |
| 385 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp |
| 386 | |
| 387 | $(OBJS)\test_base64.obj: .\base64\base64.cpp |
| 388 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\base64\base64.cpp |
| 389 | |
| 390 | $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp |
| 391 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp |
| 392 | |
| 393 | $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp |
| 394 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp |
| 395 | |
| 396 | $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp |
| 397 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp |
| 398 | |
| 399 | $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp |
| 400 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp |
| 401 | |
| 402 | $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp |
| 403 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp |
| 404 | |
| 405 | $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp |
| 406 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp |
| 407 | |
| 408 | $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp |
| 409 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp |
| 410 | |
| 411 | $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp |
| 412 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp |
| 413 | |
| 414 | $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp |
| 415 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp |
| 416 | |
| 417 | $(OBJS)\test_intltest.obj: .\intl\intltest.cpp |
| 418 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp |
| 419 | |
| 420 | $(OBJS)\test_lists.obj: .\lists\lists.cpp |
| 421 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp |
| 422 | |
| 423 | $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp |
| 424 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp |
| 425 | |
| 426 | $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp |
| 427 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp |
| 428 | |
| 429 | $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp |
| 430 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp |
| 431 | |
| 432 | $(OBJS)\test_misctests.obj: .\misc\misctests.cpp |
| 433 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp |
| 434 | |
| 435 | $(OBJS)\test_ipc.obj: .\net\ipc.cpp |
| 436 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\net\ipc.cpp |
| 437 | |
| 438 | $(OBJS)\test_regextest.obj: .\regex\regextest.cpp |
| 439 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp |
| 440 | |
| 441 | $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp |
| 442 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp |
| 443 | |
| 444 | $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp |
| 445 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp |
| 446 | |
| 447 | $(OBJS)\test_iostream.obj: .\strings\iostream.cpp |
| 448 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp |
| 449 | |
| 450 | $(OBJS)\test_strings.obj: .\strings\strings.cpp |
| 451 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\strings.cpp |
| 452 | |
| 453 | $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp |
| 454 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp |
| 455 | |
| 456 | $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp |
| 457 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp |
| 458 | |
| 459 | $(OBJS)\test_unichar.obj: .\strings\unichar.cpp |
| 460 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp |
| 461 | |
| 462 | $(OBJS)\test_unicode.obj: .\strings\unicode.cpp |
| 463 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp |
| 464 | |
| 465 | $(OBJS)\test_vararg.obj: .\strings\vararg.cpp |
| 466 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp |
| 467 | |
| 468 | $(OBJS)\test_crt.obj: .\strings\crt.cpp |
| 469 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\crt.cpp |
| 470 | |
| 471 | $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp |
| 472 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp |
| 473 | |
| 474 | $(OBJS)\test_bstream.obj: .\streams\bstream.cpp |
| 475 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp |
| 476 | |
| 477 | $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp |
| 478 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp |
| 479 | |
| 480 | $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp |
| 481 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp |
| 482 | |
| 483 | $(OBJS)\test_fileback.obj: .\streams\fileback.cpp |
| 484 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp |
| 485 | |
| 486 | $(OBJS)\test_filestream.obj: .\streams\filestream.cpp |
| 487 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp |
| 488 | |
| 489 | $(OBJS)\test_iostreams.obj: .\streams\iostreams.cpp |
| 490 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\iostreams.cpp |
| 491 | |
| 492 | $(OBJS)\test_largefile.obj: .\streams\largefile.cpp |
| 493 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp |
| 494 | |
| 495 | $(OBJS)\test_memstream.obj: .\streams\memstream.cpp |
| 496 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp |
| 497 | |
| 498 | $(OBJS)\test_socketstream.obj: .\streams\socketstream.cpp |
| 499 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\socketstream.cpp |
| 500 | |
| 501 | $(OBJS)\test_sstream.obj: .\streams\sstream.cpp |
| 502 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp |
| 503 | |
| 504 | $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp |
| 505 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp |
| 506 | |
| 507 | $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp |
| 508 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp |
| 509 | |
| 510 | $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp |
| 511 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp |
| 512 | |
| 513 | $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp |
| 514 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp |
| 515 | |
| 516 | $(OBJS)\test_atomic.obj: .\thread\atomic.cpp |
| 517 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp |
| 518 | |
| 519 | $(OBJS)\test_queue.obj: .\thread\queue.cpp |
| 520 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp |
| 521 | |
| 522 | $(OBJS)\test_tls.obj: .\thread\tls.cpp |
| 523 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\tls.cpp |
| 524 | |
| 525 | $(OBJS)\test_uris.obj: .\uris\uris.cpp |
| 526 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp |
| 527 | |
| 528 | $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp |
| 529 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp |
| 530 | |
| 531 | $(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp |
| 532 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp |
| 533 | |
| 534 | $(OBJS)\test_weakref.obj: .\weakref\weakref.cpp |
| 535 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp |
| 536 | |
| 537 | $(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp |
| 538 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp |
| 539 | |
| 540 | $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp |
| 541 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp |
| 542 | |
| 543 | $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc |
| 544 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\include -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH .\..\samples\sample.rc |
| 545 | |
| 546 | $(OBJS)\test_gui_dummy.obj: .\dummy.cpp |
| 547 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp |
| 548 | |
| 549 | $(OBJS)\test_gui_test.obj: .\test.cpp |
| 550 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp |
| 551 | |
| 552 | $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp |
| 553 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp |
| 554 | |
| 555 | $(OBJS)\test_gui_size.obj: .\geometry\size.cpp |
| 556 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp |
| 557 | |
| 558 | $(OBJS)\test_gui_point.obj: .\geometry\point.cpp |
| 559 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp |
| 560 | |
| 561 | $(OBJS)\test_gui_config.obj: .\config\config.cpp |
| 562 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp |
| 563 | |
| 564 | $(OBJS)\test_gui_comboboxtest.obj: .\controls\comboboxtest.cpp |
| 565 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\comboboxtest.cpp |
| 566 | |
| 567 | $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp |
| 568 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp |
| 569 | |
| 570 | $(OBJS)\test_gui_textentrytest.obj: .\controls\textentrytest.cpp |
| 571 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textentrytest.cpp |
| 572 | |
| 573 | $(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp |
| 574 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp |
| 575 | |
| 576 | $(OBJS)\test_gui_guifuncs.obj: .\misc\guifuncs.cpp |
| 577 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\guifuncs.cpp |
| 578 | |
| 579 | $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp |
| 580 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp |
| 581 | |
| 582 | $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp |
| 583 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp |
| 584 | |
| 585 | $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp |
| 586 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp |
| 587 | |
| 588 | $(OBJS)\printfbench_dummy.obj: .\dummy.cpp |
| 589 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) -H .\dummy.cpp |
| 590 | |
| 591 | $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp |
| 592 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp |
| 593 | |