X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27297c823af2abf7351f4c7b3db7f116bdae6b00..bbd55ff9564dcaf1a5d2ee93d789c4d656baabef:/tests/makefile.bcc?ds=sidebyside diff --git a/tests/makefile.bcc b/tests/makefile.bcc index 028783cda0..1396fe55b7 100644 --- a/tests/makefile.bcc +++ b/tests/makefile.bcc @@ -32,7 +32,7 @@ TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ - $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \ + $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \ $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \ $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(CPPFLAGS) $(CXXFLAGS) TEST_OBJECTS = \ @@ -46,11 +46,15 @@ TEST_OBJECTS = \ $(OBJS)\test_base64.obj \ $(OBJS)\test_cmdlinetest.obj \ $(OBJS)\test_fileconf.obj \ + $(OBJS)\test_regconf.obj \ $(OBJS)\test_datetimetest.obj \ $(OBJS)\test_evthandler.obj \ $(OBJS)\test_evtsource.obj \ + $(OBJS)\test_stopwatch.obj \ $(OBJS)\test_timertest.obj \ $(OBJS)\test_exec.obj \ + $(OBJS)\test_dir.obj \ + $(OBJS)\test_filefn.obj \ $(OBJS)\test_filetest.obj \ $(OBJS)\test_filekind.obj \ $(OBJS)\test_filenametest.obj \ @@ -59,13 +63,20 @@ TEST_OBJECTS = \ $(OBJS)\test_formatconvertertest.obj \ $(OBJS)\test_fswatchertest.obj \ $(OBJS)\test_hashes.obj \ + $(OBJS)\test_output.obj \ + $(OBJS)\test_input.obj \ $(OBJS)\test_intltest.obj \ $(OBJS)\test_lists.obj \ $(OBJS)\test_logtest.obj \ $(OBJS)\test_longlongtest.obj \ $(OBJS)\test_convautotest.obj \ $(OBJS)\test_mbconvtest.obj \ + $(OBJS)\test_dynamiclib.obj \ + $(OBJS)\test_environ.obj \ + $(OBJS)\test_metatest.obj \ $(OBJS)\test_misctests.obj \ + $(OBJS)\test_module.obj \ + $(OBJS)\test_pathlist.obj \ $(OBJS)\test_typeinfotest.obj \ $(OBJS)\test_ipc.obj \ $(OBJS)\test_socket.obj \ @@ -97,8 +108,10 @@ TEST_OBJECTS = \ $(OBJS)\test_zlibstream.obj \ $(OBJS)\test_textfiletest.obj \ $(OBJS)\test_atomic.obj \ + $(OBJS)\test_misc.obj \ $(OBJS)\test_queue.obj \ $(OBJS)\test_tls.obj \ + $(OBJS)\test_ftp.obj \ $(OBJS)\test_uris.obj \ $(OBJS)\test_url.obj \ $(OBJS)\test_vectors.obj \ @@ -110,7 +123,7 @@ TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ - $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \ + $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \ $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\samples -DNOPCH \ $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) \ $(CXXFLAGS) @@ -209,9 +222,6 @@ __UNICODE_DEFINE_p_3 = -d_UNICODE !if "$(MSLU)" == "1" __MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1 !endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1 -!endif !if "$(USE_CAIRO)" == "1" ____CAIRO_INCLUDEDIR_FILENAMES_3_p = -i$(CAIRO_ROOT)\include\cairo !endif @@ -304,9 +314,6 @@ __UNICODE_DEFINE_p = -D_UNICODE !if "$(MSLU)" == "1" __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 !endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 -!endif !if "$(USE_CAIRO)" == "1" ____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo !endif @@ -332,9 +339,6 @@ __WXLIB_MONO_p = \ !if "$(MSLU)" == "1" __UNICOWS_LIB_p = unicows.lib !endif -!if "$(USE_GDIPLUS)" == "1" -__GDIPLUS_LIB_p = gdiplus.lib -!endif !if "$(USE_CAIRO)" == "1" __CAIRO_LIB_p = cairo.lib !endif @@ -382,13 +386,13 @@ clean: $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&| - c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_XML_p) $(__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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, + c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, | !if "$(USE_GUI)" == "1" $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&| - c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\test_gui_sample.res + c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\test_gui_sample.res | !endif @@ -430,6 +434,9 @@ $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp +$(OBJS)\test_regconf.obj: .\config\regconf.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\regconf.cpp + $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp @@ -439,12 +446,21 @@ $(OBJS)\test_evthandler.obj: .\events\evthandler.cpp $(OBJS)\test_evtsource.obj: .\events\evtsource.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\evtsource.cpp +$(OBJS)\test_stopwatch.obj: .\events\stopwatch.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\stopwatch.cpp + $(OBJS)\test_timertest.obj: .\events\timertest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\timertest.cpp $(OBJS)\test_exec.obj: .\exec\exec.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\exec\exec.cpp +$(OBJS)\test_dir.obj: .\file\dir.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\dir.cpp + +$(OBJS)\test_filefn.obj: .\file\filefn.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\filefn.cpp + $(OBJS)\test_filetest.obj: .\file\filetest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\filetest.cpp @@ -469,6 +485,12 @@ $(OBJS)\test_fswatchertest.obj: .\fswatcher\fswatchertest.cpp $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp +$(OBJS)\test_output.obj: .\interactive\output.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\output.cpp + +$(OBJS)\test_input.obj: .\interactive\input.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\input.cpp + $(OBJS)\test_intltest.obj: .\intl\intltest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp @@ -487,9 +509,24 @@ $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp +$(OBJS)\test_dynamiclib.obj: .\misc\dynamiclib.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\dynamiclib.cpp + +$(OBJS)\test_environ.obj: .\misc\environ.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\environ.cpp + +$(OBJS)\test_metatest.obj: .\misc\metatest.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\metatest.cpp + $(OBJS)\test_misctests.obj: .\misc\misctests.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp +$(OBJS)\test_module.obj: .\misc\module.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\module.cpp + +$(OBJS)\test_pathlist.obj: .\misc\pathlist.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\pathlist.cpp + $(OBJS)\test_typeinfotest.obj: .\misc\typeinfotest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\typeinfotest.cpp @@ -583,12 +620,18 @@ $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp $(OBJS)\test_atomic.obj: .\thread\atomic.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp +$(OBJS)\test_misc.obj: .\thread\misc.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\misc.cpp + $(OBJS)\test_queue.obj: .\thread\queue.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp $(OBJS)\test_tls.obj: .\thread\tls.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\tls.cpp +$(OBJS)\test_ftp.obj: .\uris\ftp.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\ftp.cpp + $(OBJS)\test_uris.obj: .\uris\uris.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp @@ -611,7 +654,7 @@ $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc - brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__NDEBUG_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 $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH .\..\samples\sample.rc + brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__NDEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH .\..\samples\sample.rc $(OBJS)\test_gui_dummy.obj: .\dummy.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp