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# ========================================================================= 6 7include ../build/msw/config.dmc 8 9# ------------------------------------------------------------------------- 10# Do not modify the rest of this file! 11# ------------------------------------------------------------------------- 12 13### Variables: ### 14 15WX_RELEASE_NODOT = 28 16OBJS = dmc_mswd$(CFG) 17LIBTYPE_SUFFIX = lib 18LIBDIRNAME = .\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG) 19SETUPHDIR = $(LIBDIRNAME)\mswd 20TEST_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ 21 -I$(SETUPHDIR) -I.\..\include -w- -I. -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Ar -Ae -H \ 22 -HO- -HH$(OBJS)\pch_testprec_test.sym $(CPPFLAGS) $(CXXFLAGS) 23TEST_OBJECTS = \ 24 $(OBJS)\test_dummy.obj \ 25 $(OBJS)\test_test.obj \ 26 $(OBJS)\test_archivetest.obj \ 27 $(OBJS)\test_ziptest.obj \ 28 $(OBJS)\test_tartest.obj \ 29 $(OBJS)\test_arrays.obj \ 30 $(OBJS)\test_datetimetest.obj \ 31 $(OBJS)\test_fileconftest.obj \ 32 $(OBJS)\test_filekind.obj \ 33 $(OBJS)\test_filenametest.obj \ 34 $(OBJS)\test_filesystest.obj \ 35 $(OBJS)\test_fontmaptest.obj \ 36 $(OBJS)\test_formatconvertertest.obj \ 37 $(OBJS)\test_hashes.obj \ 38 $(OBJS)\test_lists.obj \ 39 $(OBJS)\test_longlongtest.obj \ 40 $(OBJS)\test_convautotest.obj \ 41 $(OBJS)\test_mbconvtest.obj \ 42 $(OBJS)\test_regextest.obj \ 43 $(OBJS)\test_wxregextest.obj \ 44 $(OBJS)\test_scopeguardtest.obj \ 45 $(OBJS)\test_strings.obj \ 46 $(OBJS)\test_stdstrings.obj \ 47 $(OBJS)\test_tokenizer.obj \ 48 $(OBJS)\test_unicode.obj \ 49 $(OBJS)\test_crt.obj \ 50 $(OBJS)\test_vsnprintf.obj \ 51 $(OBJS)\test_bstream.obj \ 52 $(OBJS)\test_datastreamtest.obj \ 53 $(OBJS)\test_ffilestream.obj \ 54 $(OBJS)\test_fileback.obj \ 55 $(OBJS)\test_filestream.obj \ 56 $(OBJS)\test_largefile.obj \ 57 $(OBJS)\test_memstream.obj \ 58 $(OBJS)\test_sstream.obj \ 59 $(OBJS)\test_tempfile.obj \ 60 $(OBJS)\test_textstreamtest.obj \ 61 $(OBJS)\test_zlibstream.obj \ 62 $(OBJS)\test_textfiletest.obj \ 63 $(OBJS)\test_uris.obj 64TEST_ODEP = $(OBJS)\pch_testprec_test.sym 65TEST_GUI_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ 66 -I$(SETUPHDIR) -I.\..\include -w- -I. -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) \ 67 -Ar -Ae -H -HO- -HH$(OBJS)\pch_testprec_test_gui.sym $(CPPFLAGS) $(CXXFLAGS) 68TEST_GUI_OBJECTS = \ 69 $(OBJS)\test_gui_dummy.obj \ 70 $(OBJS)\test_gui_test.obj \ 71 $(OBJS)\test_gui_rect.obj \ 72 $(OBJS)\test_gui_size.obj \ 73 $(OBJS)\test_gui_point.obj 74TEST_GUI_ODEP = $(OBJS)\pch_testprec_test_gui.sym 75PRINTFBENCH_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ \ 76 -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\include -w- -I. -DwxUSE_GUI=0 \ 77 $(CPPUNIT_CFLAGS) -Ar -Ae -H -HO- -HH$(OBJS)\pch_testprec_printfbench.sym \ 78 $(CPPFLAGS) $(CXXFLAGS) 79PRINTFBENCH_OBJECTS = \ 80 $(OBJS)\printfbench_dummy.obj \ 81 $(OBJS)\printfbench_printfbench.obj 82PRINTFBENCH_ODEP = $(OBJS)\pch_testprec_printfbench.sym 83 84### Targets: ### 85 86all : $(OBJS)\test.exe $(OBJS)\test_gui.exe data $(OBJS)\printfbench.exe 87 88clean : 89 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj 90 -if exist $(OBJS)\*.res del $(OBJS)\*.res 91 -if exist $(OBJS)\*.sym del $(OBJS)\*.sym 92 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe 93 -if exist $(OBJS)\test.map del $(OBJS)\test.map 94 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe 95 -if exist $(OBJS)\test_gui.map del $(OBJS)\test_gui.map 96 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe 97 -if exist $(OBJS)\printfbench.map del $(OBJS)\printfbench.map 98 99$(OBJS)\test.exe : $(TEST_OBJECTS) 100 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW $(CPPUNIT_LIBS) $(LDFLAGS) $(TEST_OBJECTS),$@,$(OBJS)\test.map, $(LIBDIRNAME)\ wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_net.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ 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 odbc32.lib,, 101 102$(OBJS)\pch_testprec_test.sym : .\testprec.h 103 if not exist $(OBJS) mkdir $(OBJS) 104 $(CXX) $(TEST_CXXFLAGS) -mn -cpp -HF$(OBJS)\pch_testprec_test.sym .\testprec.h 105 106$(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res 107 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW $(CPPUNIT_LIBS) $(LDFLAGS) $(TEST_GUI_OBJECTS),$@,$(OBJS)\test_gui.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ 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 odbc32.lib,, $(OBJS)\test_gui_sample.res 108 109$(OBJS)\pch_testprec_test_gui.sym : .\testprec.h 110 if not exist $(OBJS) mkdir $(OBJS) 111 $(CXX) $(TEST_GUI_CXXFLAGS) -mn -cpp -HF$(OBJS)\pch_testprec_test_gui.sym .\testprec.h 112 113data : 114 if not exist $(OBJS) mkdir $(OBJS) 115 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) 116 117$(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS) 118 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW $(CPPUNIT_LIBS) $(LDFLAGS) $(PRINTFBENCH_OBJECTS),$@,$(OBJS)\printfbench.map, $(LIBDIRNAME)\ wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ 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 odbc32.lib,, 119 120$(OBJS)\pch_testprec_printfbench.sym : .\testprec.h 121 if not exist $(OBJS) mkdir $(OBJS) 122 $(CXX) $(PRINTFBENCH_CXXFLAGS) -mn -cpp -HF$(OBJS)\pch_testprec_printfbench.sym .\testprec.h 123 124$(OBJS)\test_dummy.obj : .\dummy.cpp $(TEST_ODEP) 125 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\dummy.cpp 126 127$(OBJS)\test_test.obj : .\test.cpp $(TEST_ODEP) 128 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\test.cpp 129 130$(OBJS)\test_archivetest.obj : .\archive\archivetest.cpp $(TEST_ODEP) 131 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp 132 133$(OBJS)\test_ziptest.obj : .\archive\ziptest.cpp $(TEST_ODEP) 134 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp 135 136$(OBJS)\test_tartest.obj : .\archive\tartest.cpp $(TEST_ODEP) 137 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp 138 139$(OBJS)\test_arrays.obj : .\arrays\arrays.cpp $(TEST_ODEP) 140 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp 141 142$(OBJS)\test_datetimetest.obj : .\datetime\datetimetest.cpp $(TEST_ODEP) 143 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp 144 145$(OBJS)\test_fileconftest.obj : .\fileconf\fileconftest.cpp $(TEST_ODEP) 146 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\fileconf\fileconftest.cpp 147 148$(OBJS)\test_filekind.obj : .\filekind\filekind.cpp $(TEST_ODEP) 149 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp 150 151$(OBJS)\test_filenametest.obj : .\filename\filenametest.cpp $(TEST_ODEP) 152 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp 153 154$(OBJS)\test_filesystest.obj : .\filesys\filesystest.cpp $(TEST_ODEP) 155 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp 156 157$(OBJS)\test_fontmaptest.obj : .\fontmap\fontmaptest.cpp $(TEST_ODEP) 158 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp 159 160$(OBJS)\test_formatconvertertest.obj : .\formatconverter\formatconvertertest.cpp $(TEST_ODEP) 161 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp 162 163$(OBJS)\test_hashes.obj : .\hashes\hashes.cpp $(TEST_ODEP) 164 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp 165 166$(OBJS)\test_lists.obj : .\lists\lists.cpp $(TEST_ODEP) 167 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp 168 169$(OBJS)\test_longlongtest.obj : .\longlong\longlongtest.cpp $(TEST_ODEP) 170 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp 171 172$(OBJS)\test_convautotest.obj : .\mbconv\convautotest.cpp $(TEST_ODEP) 173 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp 174 175$(OBJS)\test_mbconvtest.obj : .\mbconv\mbconvtest.cpp $(TEST_ODEP) 176 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp 177 178$(OBJS)\test_regextest.obj : .\regex\regextest.cpp $(TEST_ODEP) 179 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp 180 181$(OBJS)\test_wxregextest.obj : .\regex\wxregextest.cpp $(TEST_ODEP) 182 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp 183 184$(OBJS)\test_scopeguardtest.obj : .\scopeguard\scopeguardtest.cpp $(TEST_ODEP) 185 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp 186 187$(OBJS)\test_strings.obj : .\strings\strings.cpp $(TEST_ODEP) 188 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\strings.cpp 189 190$(OBJS)\test_stdstrings.obj : .\strings\stdstrings.cpp $(TEST_ODEP) 191 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp 192 193$(OBJS)\test_tokenizer.obj : .\strings\tokenizer.cpp $(TEST_ODEP) 194 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp 195 196$(OBJS)\test_unicode.obj : .\strings\unicode.cpp $(TEST_ODEP) 197 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp 198 199$(OBJS)\test_crt.obj : .\strings\crt.cpp $(TEST_ODEP) 200 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\crt.cpp 201 202$(OBJS)\test_vsnprintf.obj : .\strings\vsnprintf.cpp $(TEST_ODEP) 203 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp 204 205$(OBJS)\test_bstream.obj : .\streams\bstream.cpp $(TEST_ODEP) 206 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp 207 208$(OBJS)\test_datastreamtest.obj : .\streams\datastreamtest.cpp $(TEST_ODEP) 209 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp 210 211$(OBJS)\test_ffilestream.obj : .\streams\ffilestream.cpp $(TEST_ODEP) 212 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp 213 214$(OBJS)\test_fileback.obj : .\streams\fileback.cpp $(TEST_ODEP) 215 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp 216 217$(OBJS)\test_filestream.obj : .\streams\filestream.cpp $(TEST_ODEP) 218 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp 219 220$(OBJS)\test_largefile.obj : .\streams\largefile.cpp $(TEST_ODEP) 221 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp 222 223$(OBJS)\test_memstream.obj : .\streams\memstream.cpp $(TEST_ODEP) 224 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp 225 226$(OBJS)\test_sstream.obj : .\streams\sstream.cpp $(TEST_ODEP) 227 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp 228 229$(OBJS)\test_tempfile.obj : .\streams\tempfile.cpp $(TEST_ODEP) 230 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp 231 232$(OBJS)\test_textstreamtest.obj : .\streams\textstreamtest.cpp $(TEST_ODEP) 233 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp 234 235$(OBJS)\test_zlibstream.obj : .\streams\zlibstream.cpp $(TEST_ODEP) 236 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp 237 238$(OBJS)\test_textfiletest.obj : .\textfile\textfiletest.cpp $(TEST_ODEP) 239 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp 240 241$(OBJS)\test_uris.obj : .\uris\uris.cpp $(TEST_ODEP) 242 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp 243 244$(OBJS)\test_gui_sample.res : .\..\samples\sample.rc $(TEST_GUI_ODEP) 245 rcc .\..\samples\sample.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\include -I. -I.\..\samples -DNOPCH -32 -v- 246 247$(OBJS)\test_gui_dummy.obj : .\dummy.cpp $(TEST_GUI_ODEP) 248 $(CXX) -mn -c -cpp -o$@ $(TEST_GUI_CXXFLAGS) .\dummy.cpp 249 250$(OBJS)\test_gui_test.obj : .\test.cpp $(TEST_GUI_ODEP) 251 $(CXX) -mn -c -cpp -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp 252 253$(OBJS)\test_gui_rect.obj : .\geometry\rect.cpp $(TEST_GUI_ODEP) 254 $(CXX) -mn -c -cpp -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp 255 256$(OBJS)\test_gui_size.obj : .\geometry\size.cpp $(TEST_GUI_ODEP) 257 $(CXX) -mn -c -cpp -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp 258 259$(OBJS)\test_gui_point.obj : .\geometry\point.cpp $(TEST_GUI_ODEP) 260 $(CXX) -mn -c -cpp -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp 261 262$(OBJS)\printfbench_dummy.obj : .\dummy.cpp $(PRINTFBENCH_ODEP) 263 $(CXX) -mn -c -cpp -o$@ $(PRINTFBENCH_CXXFLAGS) .\dummy.cpp 264 265$(OBJS)\printfbench_printfbench.obj : .\benchmarks\printfbench.cpp $(PRINTFBENCH_ODEP) 266 $(CXX) -mn -c -cpp -o$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp 267 268