Changeset 98409 in vbox
- Timestamp:
- Feb 1, 2023 4:17:58 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155653
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r98322 r98409 188 188 IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD) 189 189 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 190 common/misc/buildconfig.cpp_DEFS += \191 IPRT_BLDCFG_VERSION_STRING="$(VBOX_VERSION_STRING)" \192 IPRT_BLDCFG_TARGET="$(KBUILD_TARGET)" \193 IPRT_BLDCFG_TARGET_ARCH="$(KBUILD_TARGET_ARCH)" \194 IPRT_BLDCFG_TYPE="$(KBUILD_TYPE)"190 common/misc/buildconfig.cpp_DEFS += \ 191 IPRT_BLDCFG_VERSION_STRING="$(VBOX_VERSION_STRING)" \ 192 IPRT_BLDCFG_TARGET="$(KBUILD_TARGET)" \ 193 IPRT_BLDCFG_TARGET_ARCH="$(KBUILD_TARGET_ARCH)" \ 194 IPRT_BLDCFG_TYPE="$(KBUILD_TYPE)" 195 195 else 196 common/misc/buildconfig.cpp_DEFS += \197 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \198 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \199 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \200 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\"196 common/misc/buildconfig.cpp_DEFS += \ 197 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \ 198 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \ 199 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \ 200 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\" 201 201 endif 202 202 … … 214 214 $(IPRT_OUT_DIR)/oiddb.h.ts +| $(IPRT_OUT_DIR)/oiddb.h: \ 215 215 $(VBOX_PATH_RUNTIME_SRC)/common/asn1/oiddb.cfg \ 216 217 216 $(VBOX_EXTRA_OID_CFG_FILES) \ 217 $$(oiddb2c_1_TARGET) \ 218 218 | $$(dir $$@) 219 219 $(call MSG_GENERATE,,$@,$(filter %.xidl,$^)) … … 276 276 common/asm/ASMGetGSBase.asm \ 277 277 common/asm/ASMSetGSBase.asm \ 278 common/asm/ASMGetTR.asm \278 common/asm/ASMGetTR.asm 279 279 280 280 # … … 295 295 # 296 296 if1of ($(KBUILD_TARGET_ARCH), amd64 x86) 297 RuntimeNoCrt_SOURCES = \298 common/misc/setjmp.asm \299 common/string/bzero.asm \300 common/string/memchr.asm \301 common/string/memcmp.asm \302 common/string/memcpy.asm \303 common/string/mempcpy.asm \304 common/string/memmove.asm \305 common/string/memset.asm \306 common/string/strchr.asm \307 common/string/strcpy.asm \308 common/string/strncpy.asm \309 common/string/strcmp.asm \310 common/string/strlen.asm297 RuntimeNoCrt_SOURCES = \ 298 common/misc/setjmp.asm \ 299 common/string/bzero.asm \ 300 common/string/memchr.asm \ 301 common/string/memcmp.asm \ 302 common/string/memcpy.asm \ 303 common/string/mempcpy.asm \ 304 common/string/memmove.asm \ 305 common/string/memset.asm \ 306 common/string/strchr.asm \ 307 common/string/strcpy.asm \ 308 common/string/strncpy.asm \ 309 common/string/strcmp.asm \ 310 common/string/strlen.asm 311 311 endif 312 312 … … 532 532 common/ldr/ldrPE.cpp \ 533 533 common/log/log.cpp \ 534 535 536 534 common/log/log-weak.cpp \ 535 common/log/log-weak-assert.cpp \ 536 common/log/log-weak-rel.cpp \ 537 537 common/log/logellipsis.cpp \ 538 538 common/log/logrel.cpp \ … … 688 688 common/string/strspace.cpp \ 689 689 common/string/strstrip.cpp \ 690 690 common/string/strtofloat.cpp \ 691 691 common/string/strtonum.cpp \ 692 692 common/string/strversion.cpp \ … … 760 760 generic/critsectrw-generic.cpp \ 761 761 generic/env-generic.cpp \ 762 762 generic/http.cpp \ 763 763 generic/RTDirCreateUniqueNumbered-generic.cpp \ 764 764 generic/RTEnvDupEx-generic.cpp \ … … 818 818 # RuntimeBaseR3_SOURCES += common/time/timesupA.asm 819 819 #else 820 RuntimeBaseR3_SOURCES+= common/time/timesupref.cpp820 RuntimeBaseR3_SOURCES += common/time/timesupref.cpp 821 821 #endif 822 822 … … 915 915 common/dbg/dbgstackdumpself-amd64-x86.asm \ 916 916 common/math/bignum-amd64-x86.asm \ 917 917 common/string/RTStrEnd.asm 918 918 RuntimeBaseR3_SOURCES.amd64 += \ 919 919 common/asm/ASMCpuIdExSlow.asm \ … … 942 942 common/math/RTUInt128MulByU64.asm \ 943 943 common/math/RTUInt128MulByU64Ex.asm \ 944 944 common/string/RTStrEnd.asm 945 945 946 946 # Some versions of GCC might require this. … … 949 949 common/asm/ASMAtomicCmpXchgU64.asm \ 950 950 common/asm/ASMAtomicCmpXchgExU64.asm \ 951 common/asm/ASMAtomicReadU64.asm 951 common/asm/ASMAtomicReadU64.asm \ 952 952 common/asm/ASMAtomicUoReadU64.asm 953 953 … … 971 971 VBox/log-vbox.cpp 972 972 ifneq ($(KBUILD_TARGET),win) 973 RuntimeBaseR3_SOURCES += \974 common/err/errmsgxpcom.cpp975 endif 976 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)977 RuntimeBaseR3_SOURCES += \978 $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,)973 RuntimeBaseR3_SOURCES += \ 974 common/err/errmsgxpcom.cpp 975 endif 976 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 977 RuntimeBaseR3_SOURCES += \ 978 $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,) 979 979 endif 980 980 … … 1096 1096 generic/RTPathGetCurrentOnDrive-generic.cpp \ 1097 1097 generic/RTProcDaemonize-generic.cpp \ 1098 1099 1098 generic/RTSemEventMultiWait-2-ex-generic.cpp \ 1099 generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \ 1100 1100 generic/RTTimeLocalNow-generic.cpp \ 1101 1101 generic/RTTimerCreate-generic.cpp \ … … 1185 1185 ifdef RT_NEW_LINUX_MUTEX_CODE 1186 1186 RuntimeBaseR3_SOURCES.linux.amd64 += \ 1187 r3/linux/semmutex-linux.cpp1187 r3/linux/semmutex-linux.cpp 1188 1188 else 1189 1189 RuntimeBaseR3_SOURCES.linux.amd64 += \ 1190 r3/posix/semmutex-posix.cpp1190 r3/posix/semmutex-posix.cpp 1191 1191 endif 1192 1192 endif … … 1307 1307 generic/timer-generic.cpp \ 1308 1308 generic/utf16locale-generic.cpp \ 1309 generic/uuid-generic.cpp \1309 generic/uuid-generic.cpp \ 1310 1310 generic/RTProcIsRunningByName-generic.cpp \ 1311 1311 generic/RTThreadGetNativeState-generic.cpp \ … … 1683 1683 generic/timer-generic.cpp \ 1684 1684 generic/utf16locale-generic.cpp \ 1685 generic/uuid-generic.cpp \1685 generic/uuid-generic.cpp \ 1686 1686 generic/RTProcIsRunningByName-generic.cpp \ 1687 1687 generic/RTThreadGetNativeState-generic.cpp \ … … 1753 1753 1754 1754 define def_unit_VBoxNoCrtAliases_double_expansion 1755 $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts +| $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE): \1756 $$(abspathex \1757 $$($(target)_SOURCES)\1758 $$($(target)_SOURCES.$(bld_trg))\1759 $$($(target)_SOURCES.$(bld_trg).$(bld_type))\1760 $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch))\1761 $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch).$(bld_type))\1762 $$($(target)_SOURCES.$(bld_trg_arch))\1763 $$($(target)_SOURCES.$(bld_trg_cpu))\1764 1765 1766 1755 $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts +| $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE): \ 1756 $$(abspathex \ 1757 $$($(target)_SOURCES) \ 1758 $$($(target)_SOURCES.$(bld_trg)) \ 1759 $$($(target)_SOURCES.$(bld_trg).$(bld_type)) \ 1760 $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch)) \ 1761 $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \ 1762 $$($(target)_SOURCES.$(bld_trg_arch)) \ 1763 $$($(target)_SOURCES.$(bld_trg_cpu)) \ 1764 $$($(target)_SOURCES.$(bld_type)) \ 1765 , $(firstfile $(defpath) $(PATH_SUB_CURRENT))) \ 1766 $$(VBOX_PATH_RUNTIME_SRC)//nocrt-aliases.sed 1767 1767 $$(call MSG_GENERATE,$(target),$$@,) 1768 1768 $$(QUIET)$$(MKDIR) -p -- "$$(dir $$@)" … … 1772 1772 $$(QUIET)$$(CP) --changed -f -- "$$@" "$$(patsubst %.ts,%,$$@)" 1773 1773 1774 $$($(target)_0_OUTDIR)/genalias/genalias.ts + $$($(target)_2_VBOX_NOCRT_ALIAS_FILES): | $$(VBOX_GENALIAS)1774 $$($(target)_0_OUTDIR)/genalias/genalias.ts + $$($(target)_2_VBOX_NOCRT_ALIAS_FILES): | $$(VBOX_GENALIAS) 1775 1775 $$(call MSG_GENERATE,$(target),$$@,) 1776 1776 $$(QUIET)$$(MKDIR) -p -- "$$($(target)_0_OUTDIR)/genalias/" … … 1787 1787 $$(QUIET)$$(APPEND) -tn "$$($(target)_0_OUTDIR)/genalias/genalias.ts" "$$($(target)_2_VBOX_NOCRT_ALIASES))" 1788 1788 1789 $(target)_2_OBJS += $$($(target)_2_VBOX_NOCRT_ALIAS_FILES)1790 OTHER_CLEAN += $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE) $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts1789 $(target)_2_OBJS += $$($(target)_2_VBOX_NOCRT_ALIAS_FILES) 1790 OTHER_CLEAN += $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE) $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts 1791 1791 endef 1792 1792 … … 1796 1796 include $($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE) 1797 1797 $(target)_2_VBOX_NOCRT_ALIAS_FILES := $(foreach alias,$($(target)_2_VBOX_NOCRT_ALIASES) \ 1798 $($(target)_VBOX_NOCRT_ALIASES) \1799 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg)) \1800 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_type)) \1801 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch)) \1802 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \1803 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_arch)) \1804 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_cpu)) \1805 $($(target)_VBOX_NOCRT_ALIASES.$(bld_type)) \1806 , $($(target)_0_OUTDIR)/genalias/$(firstword $(subst =, $(SPACE),$(alias))).o)1798 $($(target)_VBOX_NOCRT_ALIASES) \ 1799 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg)) \ 1800 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_type)) \ 1801 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch)) \ 1802 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \ 1803 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_arch)) \ 1804 $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_cpu)) \ 1805 $($(target)_VBOX_NOCRT_ALIASES.$(bld_type)) \ 1806 , $($(target)_0_OUTDIR)/genalias/$(firstword $(subst =, $(SPACE),$(alias))).o) 1807 1807 $(eval $(def_unit_VBoxNoCrtAliases_double_expansion)) 1808 1808 endif … … 1826 1826 RuntimeR3_DEFS = $(filter-out RT_WITHOUT_NOCRT_WRAPPERS,$(RuntimeBaseR3_DEFS)) \ 1827 1827 RT_FORCE_NOCRT_WRAPPERS \ 1828 RT_WITH_NOCRT_ALIASES RT_WITH_NOCRT_UNDERSCORE_ALIASES RT_WITH_GENALIAS_NOCRT_ALIASES1828 RT_WITH_NOCRT_ALIASES RT_WITH_NOCRT_UNDERSCORE_ALIASES RT_WITH_GENALIAS_NOCRT_ALIASES 1829 1829 1830 1830 RuntimeR3_SOURCES = $(filter-out \ … … 1837 1837 generic/RTLogWriteStdOut-generic.cpp \ 1838 1838 ,$(RuntimeBaseR3_SOURCES)) \ 1839 1839 \ 1840 1840 common/err/nocrt-strerror.cpp \ 1841 1841 common/file/nocrt-open.cpp \ … … 1935 1935 r3/nocrt-ferror.cpp \ 1936 1936 r3/nocrt-cerr.cpp \ 1937 r3/nocrt-cout.cpp \1937 r3/nocrt-cout.cpp 1938 1938 1939 1939 RuntimeR3_SOURCES.x86 = $(RuntimeBaseR3_SOURCES.x86) \ 1940 common/math/atan.asm 1941 common/math/atanf.asm 1942 common/math/atan2.asm 1943 common/math/atan2f.asm 1944 common/math/cos.asm 1945 common/math/cosf.asm 1946 common/math/ceil.asm 1947 common/math/ceilf.asm 1948 common/math/exp.asm 1949 common/math/expf.asm 1950 common/math/exp2.asm 1951 common/math/exp2f.asm 1952 common/math/fabs.asm 1940 common/math/atan.asm \ 1941 common/math/atanf.asm \ 1942 common/math/atan2.asm \ 1943 common/math/atan2f.asm \ 1944 common/math/cos.asm \ 1945 common/math/cosf.asm \ 1946 common/math/ceil.asm \ 1947 common/math/ceilf.asm \ 1948 common/math/exp.asm \ 1949 common/math/expf.asm \ 1950 common/math/exp2.asm \ 1951 common/math/exp2f.asm \ 1952 common/math/fabs.asm \ 1953 1953 common/math/fabsf.asm \ 1954 1954 common/math/rtNoCrtHasSse.asm \ … … 2010 2010 common/string/strcpy.asm \ 2011 2011 common/string/strncpy.asm \ 2012 2013 2014 2015 2016 2017 2018 2012 common/string/strcat.cpp \ 2013 common/string/strncat.cpp \ 2014 common/string/strrchr.cpp \ 2015 common/string/strstr.cpp \ 2016 common/string/strcspn.cpp \ 2017 common/string/strpbrk.cpp \ 2018 common/string/wcslen.asm 2019 2019 2020 2020 RuntimeR3_SOURCES.amd64 = $(RuntimeBaseR3_SOURCES.amd64) \ 2021 common/math/atan.asm 2022 common/math/atanf.asm 2023 common/math/atan2.asm 2024 common/math/atan2f.asm 2025 common/math/cos.asm 2026 common/math/cosf.asm 2027 common/math/ceil.asm 2028 common/math/ceilf.asm 2029 common/math/exp.asm 2030 common/math/expf.asm 2031 common/math/exp2.asm 2032 common/math/exp2f.asm 2033 common/math/fabs.asm 2021 common/math/atan.asm \ 2022 common/math/atanf.asm \ 2023 common/math/atan2.asm \ 2024 common/math/atan2f.asm \ 2025 common/math/cos.asm \ 2026 common/math/cosf.asm \ 2027 common/math/ceil.asm \ 2028 common/math/ceilf.asm \ 2029 common/math/exp.asm \ 2030 common/math/expf.asm \ 2031 common/math/exp2.asm \ 2032 common/math/exp2f.asm \ 2033 common/math/fabs.asm \ 2034 2034 common/math/fabsf.asm \ 2035 2035 common/math/fegetenv.asm \ … … 2090 2090 common/string/strcpy.asm \ 2091 2091 common/string/strncpy.asm \ 2092 2093 2094 2095 2096 2097 2098 2092 common/string/strcat.cpp \ 2093 common/string/strncat.cpp \ 2094 common/string/strrchr.cpp \ 2095 common/string/strstr.cpp \ 2096 common/string/strcspn.cpp \ 2097 common/string/strpbrk.cpp \ 2098 common/string/wcslen.asm 2099 2099 2100 2100 RuntimeR3_SOURCES.win = $(filter-out \ 2101 2101 r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \ 2102 2102 ,$(RuntimeBaseR3_SOURCES.win)) \ 2103 2103 \ 2104 2104 common/compiler/vcc/atexit-vcc.cpp \ 2105 2105 common/compiler/vcc/loadcfg-vcc.c \ … … 2140 2140 RuntimeR3_VBOX_NOCRT_ALIASES.win := \ 2141 2141 strtok_s=nocrt_strtok_r _strtok_s=nocrt_strtok_r nocrt_strtok_s=nocrt_strtok_r \ 2142 2143 2142 $(foreach fn, atan atan2 cos ceil exp fabs floor ldexp log lrint llrint remainder sin tan \ 2143 ,$(fn)l=nocrt_$(fn) _$(fn)l=nocrt_$(fn)) 2144 2144 endif 2145 2145 endif … … 2323 2323 common/ldr/ldrVfsFile.cpp \ 2324 2324 common/log/log.cpp \ 2325 2326 2327 2325 common/log/log-weak.cpp \ 2326 common/log/log-weak-assert.cpp \ 2327 common/log/log-weak-rel.cpp \ 2328 2328 common/log/logellipsis.cpp \ 2329 2329 common/log/logformat.cpp \ … … 2404 2404 common/string/RTStrCopyEx.cpp \ 2405 2405 common/string/RTStrCopyP.cpp \ 2406 2406 common/string/RTStrICmpAscii.cpp \ 2407 2407 common/string/RTStrIStartsWith.cpp \ 2408 2408 common/string/RTStrNCmp.cpp \ … … 2537 2537 r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \ 2538 2538 r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \ 2539 2539 , $(RuntimeBaseR3_SOURCES.darwin)) 2540 2540 2541 2541 RuntimeBldProg_SOURCES.win = \ … … 2609 2609 RuntimeBldProg_SOURCES.amd64 = $(filter-out \ 2610 2610 VBox/RTLogWriteVmm-amd64-x86.asm \ 2611 2611 , $(RuntimeBaseR3_SOURCES.amd64)) 2612 2612 2613 2613 RuntimeBldProg_SOURCES.x86 = $(filter-out \ 2614 2614 VBox/RTLogWriteVmm-amd64-x86.asm \ 2615 2615 , $(RuntimeBaseR3_SOURCES.x86)) 2616 2616 2617 2617 RuntimeBldProg_SOURCES.win.amd64 := \ … … 2702 2702 common/time/timesupA.asm \ 2703 2703 common/time/timesup.cpp \ 2704 2705 2704 common/zip/xarvfs.cpp \ 2705 r3/xml.cpp \ 2706 2706 generic/RTLogWriteUser-generic.cpp \ 2707 2707 , $(RuntimeR3_SOURCES)) \ … … 2744 2744 common/math/fma-asm.asm \ 2745 2745 common/math/fmaf.cpp \ 2746 common/math/fmaf-asm.asm \2746 common/math/fmaf-asm.asm 2747 2747 2748 2748 endif … … 2766 2766 VBoxRT_SDKS += VBoxOpenSslStatic 2767 2767 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS)) 2768 VBoxRT_SDKS+= VBoxSoftFloatR3Shared2768 VBoxRT_SDKS += VBoxSoftFloatR3Shared 2769 2769 endif 2770 2770 VBoxRT_SDKS.win = $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll 2771 2771 if1of ($(KBUILD_TARGET), win) 2772 VBoxRT_INST= $(INST_DLL) $(INST_TESTCASE) $(VBOX_INST_TOOLS)2772 VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE) $(VBOX_INST_TOOLS) 2773 2773 else if1of ($(KBUILD_TARGET)$(VBOX_WITH_HARDENING), darwin win$(VBOX_WITH_HARDENING)) 2774 VBoxRT_INST= $(INST_DLL) $(INST_TESTCASE)2774 VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE) 2775 2775 endif 2776 2776 VBoxRT_DEFS := $(filter-out RT_NO_GIP, $(RuntimeBaseR3_DEFS)) \ … … 2800 2800 VBox/VBoxRTDeps.cpp \ 2801 2801 $(filter-out common/checksum/crc32.cpp, \ 2802 2803 2802 $(if-expr defined(VBOX_WITH_ALT_HASH_CODE), $(RuntimeBaseR3_SOURCES), \ 2803 $(patsubst common/checksum/alt-%,common/checksum/openssl-%,$(RuntimeBaseR3_SOURCES)) ) ) \ 2804 2804 common/checksum/crc32-zlib.cpp \ 2805 2805 common/dbg/dbgmodghidra.cpp \ … … 2811 2811 common/fuzz/fuzzclientcmd.cpp 2812 2812 ifneq ($(KBUILD_TARGET),win) 2813 VBox/VBoxRTDeps.cpp_CXXFLAGS = -Wno-deprecated-declarations2813 VBox/VBoxRTDeps.cpp_CXXFLAGS = -Wno-deprecated-declarations 2814 2814 endif 2815 2815 ifdef VBOX_WITH_LIBCURL … … 2844 2844 VBoxRT_SOURCES.win += \ 2845 2845 r3/win/dllmain-win.cpp \ 2846 2846 $(VBoxRT_0_OUTDIR)/VBoxRT.def 2847 2847 VBoxRT_CLEAN.win += \ 2848 2848 $(VBoxRT_0_OUTDIR)/VBoxRT.def … … 2855 2855 ifndef SDK_VBoxLibXml2_LIBS 2856 2856 VBoxRT_LIBS += \ 2857 $(PATH_STAGE_LIB)/VBox-libxml2$(VBOX_SUFF_LIB)2857 $(PATH_STAGE_LIB)/VBox-libxml2$(VBOX_SUFF_LIB) 2858 2858 endif 2859 2859 VBoxRT_LIBS += \ … … 2861 2861 ifndef SDK_VBoxOpenSslStatic_LIBS 2862 2862 VBoxRT_LIBS += \ 2863 $(PATH_STAGE_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB) \2864 $(PATH_STAGE_LIB)/VBox-libssl$(VBOX_SUFF_LIB)2863 $(PATH_STAGE_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB) \ 2864 $(PATH_STAGE_LIB)/VBox-libssl$(VBOX_SUFF_LIB) 2865 2865 endif 2866 2866 ifdef IPRT_WITH_LZO … … 2868 2868 endif 2869 2869 ifdef RTALLOC_REPLACE_MALLOC 2870 VBoxRT_LIBS+= \2871 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)2870 VBoxRT_LIBS += \ 2871 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 2872 2872 endif 2873 2873 VBoxRT_LIBS.darwin = \ … … 2903 2903 /delayload:advapi32.dll 2904 2904 2905 if1of (VBoxRT, $(DLLS))2905 if1of (VBoxRT, $(DLLS)) 2906 2906 $(call VBOX_SET_VER_INFO_DLL,VBoxRT,VirtualBox Runtime) 2907 2907 endif … … 2949 2949 if1of (VBoxRT, $(DLLS)) 2950 2950 ifneq ($(wildcard /usr/bin/chcon),) 2951 VBoxRT_INSTTYPE = none2952 VBoxRT_DEBUG_INSTTYPE = both2953 2954 VBoxRT-x86_INSTTYPE = $(NO_SUCH_VARIABLE)2955 2956 DLLS += VBoxRTDummy2957 VBoxRTDummy_TEMPLATE = VBoxR3Dll2958 VBoxRTDummy_INSTTYPE = none2959 VBoxRTDummy_LIBS= $(PATH_STAGE_BIN)/VBoxRT.so2960 VBoxRTDummy_CLEAN = $(PATH_STAGE_BIN)/VBoxRT.so2961 BLDDIRS += $(PATH_STAGE_BIN)2962 2963 $(PATH_STAGE_BIN)/VBoxRT.so: $$(VBoxRT_1_TARGET) | $$(dir $$@)2951 VBoxRT_INSTTYPE = none 2952 VBoxRT_DEBUG_INSTTYPE = both 2953 2954 VBoxRT-x86_INSTTYPE = $(NO_SUCH_VARIABLE) 2955 2956 DLLS += VBoxRTDummy 2957 VBoxRTDummy_TEMPLATE = VBoxR3Dll 2958 VBoxRTDummy_INSTTYPE = none 2959 VBoxRTDummy_LIBS = $(PATH_STAGE_BIN)/VBoxRT.so 2960 VBoxRTDummy_CLEAN = $(PATH_STAGE_BIN)/VBoxRT.so 2961 BLDDIRS += $(PATH_STAGE_BIN) 2962 2963 $(PATH_STAGE_BIN)/VBoxRT.so: $$(VBoxRT_1_TARGET) | $$(dir $$@) 2964 2964 $(INSTALL) $< $@ 2965 2965 chcon -t texrel_shlib_t $@ || true 2966 2966 2967 VBoxRT:: VBoxRTDummy2967 VBoxRT:: VBoxRTDummy 2968 2968 endif # chcon present. 2969 2969 endif # building VBoxRT … … 2974 2974 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRT) 2975 2975 $(VBoxRT_0_OUTDIR)/VBoxRT.def: \ 2976 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$$(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,win32).def \2977 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-openssl-3.0.def \2978 $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" && defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES)\2979 ,$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcr100-win32.def ,) \2980 | $$(dir $$@) #$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcp100-win32.def2976 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$$(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,win32).def \ 2977 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-openssl-3.0.def \ 2978 $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" && defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) \ 2979 ,$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcr100-win32.def ,) \ 2980 | $$(dir $$@) #$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcp100-win32.def 2981 2981 $(RM) -f -- $@ 2982 2982 $(SED) --output "$@" \ … … 3007 3007 $(SDK_VBoxLzf_LIBS-x86) 3008 3008 if1of ($(KBUILD_TARGET_ARCH), amd64 x86) 3009 VBoxRT-x86_LIBS += \3010 $(PATH_STAGE_LIB)/SUPR3-x86$(VBOX_SUFF_LIB)3009 VBoxRT-x86_LIBS += \ 3010 $(PATH_STAGE_LIB)/SUPR3-x86$(VBOX_SUFF_LIB) 3011 3011 endif 3012 3012 ifndef SDK_VBoxLibXml2_LIBS 3013 3013 VBoxRT-x86_LIBS += \ 3014 $(PATH_STAGE_LIB)/VBox-libxml2-x86$(VBOX_SUFF_LIB)3014 $(PATH_STAGE_LIB)/VBox-libxml2-x86$(VBOX_SUFF_LIB) 3015 3015 endif 3016 3016 VBoxRT-x86_LIBS += \ … … 3018 3018 ifndef SDK_VBoxOpenSslStatic_LIBS 3019 3019 VBoxRT-x86_LIBS += \ 3020 $(PATH_STAGE_LIB)/VBox-libcrypto-x86$(VBOX_SUFF_LIB) \3021 $(PATH_STAGE_LIB)/VBox-libssl-x86$(VBOX_SUFF_LIB)3020 $(PATH_STAGE_LIB)/VBox-libcrypto-x86$(VBOX_SUFF_LIB) \ 3021 $(PATH_STAGE_LIB)/VBox-libssl-x86$(VBOX_SUFF_LIB) 3022 3022 endif 3023 3023 ifdef IPRT_WITH_LZO … … 3047 3047 VBoxRT-x86_CLEAN += $(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def 3048 3048 3049 if1of (VBoxRT-x86, $(DLLS))3049 if1of (VBoxRT-x86, $(DLLS)) 3050 3050 $(call VBOX_SET_VER_INFO_DLL,VBoxRT-x86,VirtualBox 32-bit Runtime) 3051 3051 endif … … 3055 3055 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRT-x86) 3056 3056 $(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def: \ 3057 $(VBOX_PATH_RUNTIME_SRC)/r3/win/VBoxRT-win32.def \3058 | $$(dir $$@) # Hopefully no need to export openssl here.3057 $(VBOX_PATH_RUNTIME_SRC)/r3/win/VBoxRT-win32.def \ 3058 | $$(dir $$@) # Hopefully no need to export openssl here. 3059 3059 $(RM) -f -- $@ 3060 3060 $(SED) --output "$@" \ … … 3073 3073 # 3074 3074 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64) 3075 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc64.def r3/win/VBoxRT-win64.def)3075 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc64.def r3/win/VBoxRT-win64.def) 3076 3076 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 3077 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc32.def r3/win/VBoxRT-win32.def)3077 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc32.def r3/win/VBoxRT-win32.def) 3078 3078 else 3079 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-gcc.def)3080 endif 3081 3082 3083 if1of ($(KBUILD_TARGET), win linux darwin) # remove later3084 if1of ($(KBUILD_TARGET_ARCH),x86 amd64) ## @todo bugref:98983085 if1of (VBoxRT,$(DLLS))3086 #3087 # VBoxRTImpCheck - Import library check.3088 #3089 PROGRAMS += VBoxRTStableCheck3090 VBoxRTStableCheck_TEMPLATE = VBoxR3TstExe3091 VBoxRTStableCheck_SOURCES= \3092 VBox/VBoxRTStableCheck.cpp \3093 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm3094 VBoxRTStableCheck_LIBS = \3095 $(LIB_RUNTIME)3096 VBoxRTStableCheck_CLEAN = \3097 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm3098 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRTStableCheck)3099 3100 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64)3101 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \3102 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \3103 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \3104 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def \3105 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win64.def \3106 | $$(dir $$@)3107 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86)3108 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \3109 $(PATH_SUB_CURRENT)/VBox/DefToAsmExternsVcc32.sed \3110 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \3111 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def \3112 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@)3113 else3114 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \3115 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \3116 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \3117 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@)3118 endif3079 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-gcc.def) 3080 endif 3081 3082 3083 if1of ($(KBUILD_TARGET), win linux darwin) # remove later 3084 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) ## @todo bugref:9898 3085 if1of (VBoxRT, $(DLLS)) 3086 # 3087 # VBoxRTImpCheck - Import library check. 3088 # 3089 PROGRAMS += VBoxRTStableCheck 3090 VBoxRTStableCheck_TEMPLATE = VBoxR3TstExe 3091 VBoxRTStableCheck_SOURCES = \ 3092 VBox/VBoxRTStableCheck.cpp \ 3093 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm 3094 VBoxRTStableCheck_LIBS = \ 3095 $(LIB_RUNTIME) 3096 VBoxRTStableCheck_CLEAN = \ 3097 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm 3098 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRTStableCheck) 3099 3100 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64) 3101 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 3102 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \ 3103 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3104 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def \ 3105 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win64.def \ 3106 | $$(dir $$@) 3107 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 3108 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 3109 $(PATH_SUB_CURRENT)/VBox/DefToAsmExternsVcc32.sed \ 3110 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3111 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def \ 3112 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@) 3113 else 3114 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 3115 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \ 3116 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3117 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@) 3118 endif 3119 3119 $(APPEND) -tn "$@" '%include "iprt/asmdefs.mac"' '' 3120 3120 $(SED) --append "$@" \ … … 3131 3131 -f "$<" $(filter %.def, $^) 3132 3132 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 3133 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm)3134 3135 endif3136 endif ## @todo bugref:98983133 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm) 3134 3135 endif 3136 endif ## @todo bugref:9898 3137 3137 endif # remove later 3138 3138 … … 3148 3148 IPRT_NO_ALLOCA_TROUBLE \ 3149 3149 IPRT_GETOPT_WITHOUT_NETWORK_ADDRESSES \ 3150 3151 3150 IPRT_MINIMAL_STREAM \ 3151 IPRT_NO_FLOAT_FORMATTING 3152 3152 RuntimeR3NoCrt_SOURCES := \ 3153 3153 common/string/straprintf.cpp \ … … 3178 3178 common/misc/message.cpp \ 3179 3179 common/err/errmsg.cpp \ 3180 3180 r3/init-data.cpp \ 3181 3181 r3/process-data.cpp \ 3182 3182 generic/uuid-generic.cpp \ … … 3202 3202 common/string/strchr.asm \ 3203 3203 common/string/strcmp.asm \ 3204 common/string/strncmp.asm \3204 common/string/strncmp.asm 3205 3205 3206 3206 RuntimeR3NoCrt_SOURCES.win := \ 3207 3207 r3/win/nocrt-startup-exe-win.cpp \ 3208 3208 r3/win/nocrt-startup-common-win.cpp \ 3209 3209 r3/win/nocrt-fatal-write-win.cpp \ 3210 3210 r3/win/nocrt-alloc-win.cpp \ 3211 3211 r3/win/nocrt-streams-win.cpp \ … … 3252 3252 common/misc/sanity-cpp.cpp \ 3253 3253 common/misc/term.cpp \ 3254 3255 3256 3257 3254 common/path/RTPathFilename.cpp \ 3255 common/rand/rand.cpp \ 3256 common/rand/randadv.cpp \ 3257 common/rand/randparkmiller.cpp \ 3258 3258 common/string/strprintf-ellipsis.cpp \ 3259 3259 common/string/strprintf2-ellipsis.cpp \ … … 3298 3298 3299 3299 if1of ($(KBUILD_TARGET), darwin solaris freebsd os2) 3300 RuntimeR0_SOURCES += \3301 common/math/gcc/adddi3.c \3302 common/math/gcc/anddi3.c \3303 common/math/gcc/ashldi3.c \3304 common/math/gcc/ashrdi3.c \3305 common/math/gcc/cmpdi2.c \3306 common/math/gcc/divdi3.c \3307 common/math/gcc/divmoddi4.c \3308 common/math/gcc/iordi3.c \3309 common/math/gcc/lshldi3.c \3310 common/math/gcc/lshrdi3.c \3311 common/math/gcc/moddi3.c \3312 common/math/gcc/muldi3.c \3313 common/math/gcc/negdi2.c \3314 common/math/gcc/notdi2.c \3315 common/math/gcc/qdivrem.c \3316 common/math/gcc/subdi3.c \3317 common/math/gcc/ucmpdi2.c \3318 common/math/gcc/udivdi3.c \3319 common/math/gcc/udivmoddi4.c \3320 common/math/gcc/umoddi3.c \3321 common/math/gcc/xordi3.c3300 RuntimeR0_SOURCES += \ 3301 common/math/gcc/adddi3.c \ 3302 common/math/gcc/anddi3.c \ 3303 common/math/gcc/ashldi3.c \ 3304 common/math/gcc/ashrdi3.c \ 3305 common/math/gcc/cmpdi2.c \ 3306 common/math/gcc/divdi3.c \ 3307 common/math/gcc/divmoddi4.c \ 3308 common/math/gcc/iordi3.c \ 3309 common/math/gcc/lshldi3.c \ 3310 common/math/gcc/lshrdi3.c \ 3311 common/math/gcc/moddi3.c \ 3312 common/math/gcc/muldi3.c \ 3313 common/math/gcc/negdi2.c \ 3314 common/math/gcc/notdi2.c \ 3315 common/math/gcc/qdivrem.c \ 3316 common/math/gcc/subdi3.c \ 3317 common/math/gcc/ucmpdi2.c \ 3318 common/math/gcc/udivdi3.c \ 3319 common/math/gcc/udivmoddi4.c \ 3320 common/math/gcc/umoddi3.c \ 3321 common/math/gcc/xordi3.c 3322 3322 endif 3323 3323 … … 3375 3375 # RuntimeR0_SOURCES += common/time/timesupA.asm 3376 3376 #else 3377 RuntimeR0_SOURCES+= common/time/timesupref.cpp3377 RuntimeR0_SOURCES += common/time/timesupref.cpp 3378 3378 #endif 3379 3379 … … 3404 3404 RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL NOFILEID 3405 3405 RuntimeR0Drv_DEFS.win = IN_SUP_R0 LDR_ONLY_PE IPRT_WITHOUT_DIGEST_MD4 3406 RuntimeR0Drv_DEFS.darwin = IN_SUP_R0 LDR_ONLY_MACHO IPRT_WITHOUT_DIGEST_MD4 IN_RING0_DRV_ON_DARWIN3407 if ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 2 \3408 || ($(VBOX_SOLARIS_11_UPDATE_VERSION) == 2 && $(VBOX_SOLARIS_11_BUILD_VERSION) >= 22))3409 RuntimeR0Drv_DEFS.solaris += VBOX_NEW_CRASH_DUMP_FORMAT3406 RuntimeR0Drv_DEFS.darwin = IN_SUP_R0 LDR_ONLY_MACHO IPRT_WITHOUT_DIGEST_MD4 IN_RING0_DRV_ON_DARWIN 3407 if ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 2 \ 3408 || ($(VBOX_SOLARIS_11_UPDATE_VERSION) == 2 && $(VBOX_SOLARIS_11_BUILD_VERSION) >= 22)) 3409 RuntimeR0Drv_DEFS.solaris += VBOX_NEW_CRASH_DUMP_FORMAT 3410 3410 endif 3411 3411 … … 3430 3430 common/err/errinfo.cpp \ 3431 3431 common/log/log.cpp \ 3432 3433 3434 3432 common/log/log-weak.cpp \ 3433 common/log/log-weak-assert.cpp \ 3434 common/log/log-weak-rel.cpp \ 3435 3435 common/log/logellipsis.cpp \ 3436 3436 common/log/logrel.cpp \ … … 3535 3535 r0drv/generic/semspinmutex-r0drv-generic.c \ 3536 3536 r0drv/RTR0DbgKrnlInfoGetSymbol.cpp \ 3537 VBox/log-vbox.cpp \3537 VBox/log-vbox.cpp 3538 3538 3539 3539 RuntimeR0Drv_SOURCES.amd64 = \ … … 3959 3959 common/math/gcc/cmpdi2.c \ 3960 3960 common/math/gcc/divdi3.c \ 3961 common/math/gcc/divmoddi4.c \3961 common/math/gcc/divmoddi4.c \ 3962 3962 common/math/gcc/iordi3.c \ 3963 3963 common/math/gcc/lshldi3.c \ … … 3982 3982 common/math/watcom/U8RS-x86-32.asm \ 3983 3983 common/math/watcom/U8M-I8M-x86-32.asm \ 3984 common/string/watcom/bzero.asm \3985 common/string/watcom/memchr.asm \3986 common/string/watcom/memcmp.asm \3987 common/string/watcom/memcpy.asm \3988 common/string/watcom/memmove.asm \3989 common/string/watcom/mempcpy.asm \3990 common/string/watcom/memrchr.asm \3991 common/string/watcom/memset.asm \3992 common/string/watcom/strchr.asm \3993 common/string/watcom/strcmp.asm \3994 common/string/watcom/strcpy.asm \3995 common/string/watcom/strlen.asm \3996 common/string/watcom/strncmp.asm \3997 common/string/watcom/strncpy.asm3984 common/string/watcom/bzero.asm \ 3985 common/string/watcom/memchr.asm \ 3986 common/string/watcom/memcmp.asm \ 3987 common/string/watcom/memcpy.asm \ 3988 common/string/watcom/memmove.asm \ 3989 common/string/watcom/mempcpy.asm \ 3990 common/string/watcom/memrchr.asm \ 3991 common/string/watcom/memset.asm \ 3992 common/string/watcom/strchr.asm \ 3993 common/string/watcom/strcmp.asm \ 3994 common/string/watcom/strcpy.asm \ 3995 common/string/watcom/strlen.asm \ 3996 common/string/watcom/strncmp.asm \ 3997 common/string/watcom/strncpy.asm 3998 3998 endif 3999 3999 … … 4189 4189 common/log/tracebuf.cpp \ 4190 4190 common/log/tracedefault.cpp \ 4191 common/log/RTLogCreateEx.cpp \4191 common/log/RTLogCreateEx.cpp \ 4192 4192 common/misc/RTAssertMsg1Weak.cpp \ 4193 4193 common/misc/RTAssertMsg2.cpp \ … … 4241 4241 # RuntimeRC_SOURCES += common/time/timesupA.asm 4242 4242 #else 4243 RuntimeRC_SOURCES+= common/time/timesupref.cpp4243 RuntimeRC_SOURCES += common/time/timesupref.cpp 4244 4244 #endif 4245 4245 … … 4258 4258 common/math/gcc/cmpdi2.c \ 4259 4259 common/math/gcc/divdi3.c \ 4260 common/math/gcc/divmoddi4.c \4260 common/math/gcc/divmoddi4.c \ 4261 4261 common/math/gcc/iordi3.c \ 4262 4262 common/math/gcc/lshldi3.c \ … … 4312 4312 # images that does not load on older windows versions. 4313 4313 # 4314 if1of (win, $(KBUILD_TARGET) $(KBUILD_HOST))4315 RuntimeR3NtDll-amd64_TEMPLATE= VBoxR3Dll4316 RuntimeR3NtDll-amd64_BLD_TRG_ARCH = amd644317 RuntimeR3NtDll-amd64_ARFLAGS= /NODEFAULTLIB /MACHINE:amd644318 RuntimeR3NtDll-amd64_SOURCES= \4319 r3/win/ntdll-mini-implib.def4320 4321 RuntimeR3NtDll-x86_TEMPLATE= VBoxR3Dll4322 RuntimeR3NtDll-x86_BLD_TRG_ARCH= x864323 RuntimeR3NtDll-x86_ARFLAGS= /NODEFAULTLIB /MACHINE:x864324 RuntimeR3NtDll-x86_SOURCES= \4325 r3/win/ntdll-mini-implib.def \4326 $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm4327 RuntimeR3NtDll-x86_CLEAN= \4328 $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm4329 4330 $$(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm: $(PATH_SUB_CURRENT)/r3/win/ntdll-mini-implib.def | $$(dir $$@)4314 if1of (win, $(KBUILD_TARGET) $(KBUILD_HOST)) 4315 RuntimeR3NtDll-amd64_TEMPLATE = VBoxR3Dll 4316 RuntimeR3NtDll-amd64_BLD_TRG_ARCH = amd64 4317 RuntimeR3NtDll-amd64_ARFLAGS = /NODEFAULTLIB /MACHINE:amd64 4318 RuntimeR3NtDll-amd64_SOURCES = \ 4319 r3/win/ntdll-mini-implib.def 4320 4321 RuntimeR3NtDll-x86_TEMPLATE = VBoxR3Dll 4322 RuntimeR3NtDll-x86_BLD_TRG_ARCH = x86 4323 RuntimeR3NtDll-x86_ARFLAGS = /NODEFAULTLIB /MACHINE:x86 4324 RuntimeR3NtDll-x86_SOURCES = \ 4325 r3/win/ntdll-mini-implib.def \ 4326 $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm 4327 RuntimeR3NtDll-x86_CLEAN = \ 4328 $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm 4329 4330 $$(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm: $(PATH_SUB_CURRENT)/r3/win/ntdll-mini-implib.def | $$(dir $$@) 4331 4331 $(call MSG_GENERATE,,$@,$<) 4332 4332 $(QUIET)$(APPEND) -nt "$@" \ … … 4361 4361 4362 4362 if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" # Ugly hacks... :-) 4363 LIBRARIES += RuntimeR3VccTricks24364 RuntimeR3VccTricks2_TEMPLATE = VBoxR3Dll4365 RuntimeR3VccTricks2_DEFS+= $(RuntimeR3VccTricks_DEFS)4366 RuntimeR3VccTricks2_SOURCES= $(RuntimeR3VccTricks_SOURCES)4367 RuntimeR3VccTricks2_SOURCES += $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib4368 RuntimeR3VccTricks2_CLEAN= $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib4369 RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED =4370 4371 $$(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib: \4372 $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/msvcrt$(VBOX_VCC_CRT_TYPE).lib \4373 $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \4374 $$(LIB_RUNTIME) \4375 $(MAKEFILE) | $$(dir $$@)4363 LIBRARIES += RuntimeR3VccTricks2 4364 RuntimeR3VccTricks2_TEMPLATE = VBoxR3Dll 4365 RuntimeR3VccTricks2_DEFS += $(RuntimeR3VccTricks_DEFS) 4366 RuntimeR3VccTricks2_SOURCES = $(RuntimeR3VccTricks_SOURCES) 4367 RuntimeR3VccTricks2_SOURCES += $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib 4368 RuntimeR3VccTricks2_CLEAN = $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib 4369 RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED = 4370 4371 $$(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib: \ 4372 $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/msvcrt$(VBOX_VCC_CRT_TYPE).lib \ 4373 $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \ 4374 $$(LIB_RUNTIME) \ 4375 $(MAKEFILE) | $$(dir $$@) 4376 4376 $(RM) -f -- "$@" 4377 # $(REDIRECT) -C $(dir $@) -- $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib \4378 # $(PATH_TOOL_$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \4379 # $(foreach file, $(RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED), *$(file))4377 # $(REDIRECT) -C $(dir $@) -- $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib \ 4378 # $(PATH_TOOL_$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \ 4379 # $(foreach file, $(RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED), *$(file)) 4380 4380 $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib [email protected] $< \ 4381 4381 -MSVCR100.dll \ … … 4484 4484 4485 4485 if "$(KBUILD_TARGET)" == "freebsd" 4486 #4487 # FreeBSDGeneratedKernelHeaders - Generate some kernel interface headers.4488 #4489 # These are used by:4490 # - The RTMp* API in IPRT.4491 # - VBoxGuest4492 #4493 # Note! We cannot give a output path to the awk program, it will always4494 # generate the header next to the source. So, we'll have to temporarily copy4495 # the source file to the destination directory to work.4496 #4497 VBOX_AWK := /usr/bin/awk4498 INSTALLS += FreeBSDGeneratedKernelHeaders4499 FreeBSDGeneratedKernelHeaders_INST = gen-sys-hdrs/4500 FreeBSDGeneratedKernelHeaders_SOURCES = \4501 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h \4502 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h \4503 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h4504 FreeBSDGeneratedKernelHeaders_CLEAN = $(FreeBSDGeneratedKernelHeaders_SOURCES)4505 4506 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m | $$(dir $$@)4486 # 4487 # FreeBSDGeneratedKernelHeaders - Generate some kernel interface headers. 4488 # 4489 # These are used by: 4490 # - The RTMp* API in IPRT. 4491 # - VBoxGuest 4492 # 4493 # Note! We cannot give a output path to the awk program, it will always 4494 # generate the header next to the source. So, we'll have to temporarily copy 4495 # the source file to the destination directory to work. 4496 # 4497 VBOX_AWK := /usr/bin/awk 4498 INSTALLS += FreeBSDGeneratedKernelHeaders 4499 FreeBSDGeneratedKernelHeaders_INST = gen-sys-hdrs/ 4500 FreeBSDGeneratedKernelHeaders_SOURCES = \ 4501 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h \ 4502 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h \ 4503 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h 4504 FreeBSDGeneratedKernelHeaders_CLEAN = $(FreeBSDGeneratedKernelHeaders_SOURCES) 4505 4506 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m | $$(dir $$@) 4507 4507 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@) 4508 4508 $(QUIET)$(CP) -f $< $(@D)/bus_if.m … … 4510 4510 $(QUIET)$(RM) $(@D)/bus_if.m 4511 4511 4512 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m | $$(dir $$@)4512 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m | $$(dir $$@) 4513 4513 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@) 4514 4514 $(QUIET)$(CP) -f $< $(@D)/device_if.m … … 4516 4516 $(QUIET)$(RM) $(@D)/device_if.m 4517 4517 4518 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m | $$(dir $$@)4518 $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m | $$(dir $$@) 4519 4519 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@) 4520 4520 $(QUIET)$(CP) -f $< $(@D)/pci_if.m … … 4561 4561 $(VBOX_PATH_RUNTIME_SRC)/common/time \ 4562 4562 $(VBOX_PATH_RUNTIME_SRC)/VBox \ 4563 $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv, \4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4563 $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv, \ 4564 $(dir) \ 4565 $(dir)/darwin \ 4566 $(dir)/haiku \ 4567 $(dir)/linux \ 4568 $(dir)/nt \ 4569 $(dir)/os2 \ 4570 $(dir)/solaris \ 4571 $(dir)/win \ 4572 $(dir)/win32 \ 4573 $(dir)/win64 \ 4574 $(dir)/generic \ 4575 ) 4576 4576 4577 4577 # These must come first in order to make things look nice. 4578 IPRT_DOXYFILE_INPUT_FIRST = \4578 IPRT_DOXYFILE_INPUT_FIRST = \ 4579 4579 $(PATH_ROOT)/include/iprt/cdefs.h \ 4580 4580 $(PATH_ROOT)/include/iprt/types.h \ … … 4582 4582 $(PATH_ROOT)/include/iprt/param.h \ 4583 4583 $(PATH_ROOT)/include/iprt/assert.h \ 4584 $(PATH_ROOT)/include/iprt/asm.h \4584 $(PATH_ROOT)/include/iprt/asm.h 4585 4585 4586 4586 IPRT_DOXYFILE_INPUT := \ … … 4644 4644 docs.iprt: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt 4645 4645 if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS) 4646 docs: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt4646 docs: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt 4647 4647 endif 4648 4648 … … 4657 4657 # Test mangling. 4658 4658 # 4659 if1of ($(LIBRARIES), RuntimeR3 RuntimeR0 RuntimeR0Drv RuntimeRC)4659 if1of ($(LIBRARIES), RuntimeR3 RuntimeR0 RuntimeR0Drv RuntimeRC) 4660 4660 test-mangling:: $(IPRT_OUT_DIR)/mangling.run 4661 4661 OTHERS += $(IPRT_OUT_DIR)/mangling.run 4662 4662 OTHER_CLEAN += $(IPRT_OUT_DIR)/mangling.run 4663 4663 $(IPRT_OUT_DIR)/mangling.run: \ 4664 $$(RuntimeR3_1_TARGET) \4665 $$(RuntimeR0_1_TARGET) \4666 $$(RuntimeR0Drv_1_TARGET) \4667 $$(RuntimeRC_1_TARGET)4664 $$(RuntimeR3_1_TARGET) \ 4665 $$(RuntimeR0_1_TARGET) \ 4666 $$(RuntimeR0Drv_1_TARGET) \ 4667 $$(RuntimeRC_1_TARGET) 4668 4668 if1of ($(KBUILD_TARGET), win os2) 4669 4669 $(call MSG_L1,IPRT: skipped mangling test.) 4670 4670 else 4671 # Generate a SED script from mangling.h that checks for known symbols.4671 # Generate a SED script from mangling.h that checks for known symbols. 4672 4672 $(QUIET)$(SED) \ 4673 4673 -e '/^# *define.*RT_MANGLER/!d' \ … … 4686 4686 ':ok' \ 4687 4687 'd' 4688 # Find the best way to generate a symbol list and subject it to mangling.h.4688 # Find the best way to generate a symbol list and subject it to mangling.h. 4689 4689 if $(intersects $(KBUILD_TARGET), linux) && "$(VBOX_GCC_fvisibility-hidden)" 4690 4690 $(call MSG_L1,IPRT: Testing mangling and visiblity for newer gcc...) … … 4798 4798 4799 4799 if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_VALIDATIONKIT) && !defined(VBOX_ONLY_DOCS) 4800 #4801 # Windows build tool.4802 #4803 BLDPROGS.win += ntBldSymDb4804 ntBldSymDb_TEMPLATE = VBoxAdvBldProg4805 ntBldSymDb_INCS = .4806 ntBldSymDb_SOURCES = r0drv/nt/ntBldSymDb.cpp4800 # 4801 # Windows build tool. 4802 # 4803 BLDPROGS.win += ntBldSymDb 4804 ntBldSymDb_TEMPLATE = VBoxAdvBldProg 4805 ntBldSymDb_INCS = . 4806 ntBldSymDb_SOURCES = r0drv/nt/ntBldSymDb.cpp 4807 4807 endif 4808 4808 -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r98307 r98409 40 40 ifdef VBOX_WITH_TESTCASES # The whole file 41 41 42 # 43 # Include the Validation Kit configuration to make use of build templates needed 44 # for testcases to be included on the Validation Kit .ISO. 45 # 46 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 47 ifndef VBOX_VALIDATIONKIT_CONFIG_KMK_INCLUDED 48 include $(PATH_ROOT)/src/VBox/ValidationKit/Config.kmk 49 endif 50 endif 51 52 53 # 54 # Globals 55 # 56 # WARNING: Careful with this wrt to the other sub-makefiles this joins. 57 # 58 TEMPLATE = VBoxR3TstExe 59 60 # Defined by the parent makefile as well (for errmsgdata.h). 61 IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime 62 63 64 # 65 # Target lists 66 # 67 ifndef VBOX_ONLY_VALIDATIONKIT 68 PROGRAMS += \ 69 tstRTAssertCompile \ 70 tstRTAvl \ 71 tstRTBase64 \ 72 tstRTBitOperations \ 73 tstRTBigNum \ 74 tstRTCidr \ 75 tstRTCritSect \ 76 tstRTCritSectRw \ 77 tstRTCrPkix-1 \ 78 tstRTCrX509-1 \ 79 tstRTCType \ 80 tstRTDigest \ 81 tstRTDigest-2 \ 82 tstDir \ 83 tstDir-2 \ 84 tstDir-3 \ 85 tstRTDvm \ 86 tstRTEnv \ 87 tstRTErr-1 \ 88 tstFile \ 89 tstRTFileAio \ 90 tstRTFileAppend-1 \ 91 tstRTFileQuerySize-1 \ 92 tstRTFileModeStringToFlags \ 93 tstFileLock \ 94 tstRTFileOpenEx-1 \ 95 tstFork \ 96 tstRTFsQueries \ 97 tstRTFilesystem \ 98 tstRTExprEval\ 99 tstRTGetOpt \ 100 tstRTGetOptArgv \ 101 tstHandleTable \ 102 tstRTHeapOffset \ 103 tstRTHeapSimple \ 104 tstRTInlineAsm \ 105 tstIprtList \ 106 tstIprtMiniList \ 107 tstIprtMiniString \ 108 tstLdr \ 109 tstLdrLoad \ 110 tstRTLocalIpc \ 111 tstRTLdrVerifyPeImage \ 112 tstRTList \ 113 tstRTLockValidator \ 114 tstLog \ 115 tstRTMath \ 116 tstRTMemEf \ 117 tstRTMemCache \ 118 tstRTMemPool \ 119 tstRTMemWipe \ 120 tstRTMemSafer \ 121 tstMove \ 122 tstRTMp-1 \ 123 tstRTNetIPv4 \ 124 tstRTNetIPv6 \ 125 tstOnce \ 126 tstRTPath \ 127 tstRTPathGlob \ 128 tstRTPathQueryInfo \ 129 tstRTPipe \ 130 tstRTPoll \ 131 tstRTPrfIO \ 132 tstRTProcCreateEx \ 133 tstRTProcCreatePrf \ 134 tstRTProcQueryUsername \ 135 tstPrfRT \ 136 tstRand \ 137 tstRTReqPool \ 138 tstRTSemEvent \ 139 tstRTSemEventMulti \ 140 tstSemMutex \ 141 tstSemPingPong \ 142 tstRTSemRW \ 143 tstRTSemXRoads \ 144 tstRTSort \ 145 tstRTStrAlloc \ 146 tstRTStrCache \ 147 tstRTStrCatCopy \ 148 tstRTStrFormat \ 149 tstRTStrSplit \ 150 tstRTStrSimplePattern \ 151 tstStrToNum \ 152 tstRTStrVersion \ 153 tstRTSymlink \ 154 tstRTSystemQueryDmi \ 155 tstRTSystemQueryFirmware \ 156 tstRTSystemQueryOsInfo \ 157 tstRTTcp-1 \ 158 tstRTTemp \ 159 tstRTDirCreateUniqueNumbered \ 160 tstTermCallbacks \ 161 tstThread-1 \ 162 tstRTThreadPoke \ 163 tstRTThreadExecutionTime \ 164 tstRTTime \ 165 tstTime-2 \ 166 tstTime-3 \ 167 tstTime-4 \ 168 tstTimer \ 169 tstRTTimerLR \ 170 tstRTTimeSpec \ 171 tstRTTls-1 \ 172 tstRTTraceLog \ 173 tstRTUdp-1 \ 174 tstUtf8 \ 175 tstRTUuid \ 176 tstRTCircBuf \ 177 tstRTManifest \ 178 tstRTUri \ 179 tstVector \ 180 tstRTVfs \ 181 tstRTZip \ 182 tstRTJson \ 183 tstRTShMem 184 185 PROGRAMS.win += \ 186 tstRTCritSectW32 \ 187 tstRTProcWait \ 188 tstFileAppendWin-1 \ 189 tstRTNtPath-1 \ 190 ntGetTimerResolution \ 191 tstRTDarwinMachKernel 192 193 PROGRAMS.linux += \ 194 tstRTProcWait \ 195 tstRTProcIsRunningByName \ 196 tstRTBitOperationsPIC3 \ 197 tstRTInlineAsmPIC \ 198 tstRTInlineAsmPIC3 199 PROGRAMS.solaris += \ 200 tstRTCoreDump 201 PROGRAMS.darwin += \ 202 tstDarwinSched \ 203 tstRTDarwinMachKernel 204 ifdef VBOX_WITH_LIBCURL 42 # 43 # Include the Validation Kit configuration to make use of build templates needed 44 # for testcases to be included on the Validation Kit .ISO. 45 # 46 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 47 ifndef VBOX_VALIDATIONKIT_CONFIG_KMK_INCLUDED 48 include $(PATH_ROOT)/src/VBox/ValidationKit/Config.kmk 49 endif 50 endif 51 52 53 # 54 # Globals 55 # 56 # WARNING: Careful with this wrt to the other sub-makefiles this joins. 57 # 58 TEMPLATE = VBoxR3TstExe 59 60 # Defined by the parent makefile as well (for errmsgdata.h). 61 IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime 62 63 64 # 65 # Target lists 66 # 67 ifndef VBOX_ONLY_VALIDATIONKIT 205 68 PROGRAMS += \ 206 tstRTHttp-1 \ 207 tstRTCRest-1 208 endif 209 210 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 211 PROGRAMS += \ 212 tstNoCrt-1 213 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too! 214 PROGRAMS += tstRTNoCrt-2 215 endif 216 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64) 217 PROGRAMS += tstRTNoCrt-3 tstRTNoCrt-3r tstRTNoCrt-4 218 endif 219 endif 220 221 if defined(VBOX_WITH_R0_MODULES) 222 PROGRAMS += \ 223 tstLdr-2 \ 224 tstLdr-3 \ 225 tstLdr-4 \ 226 tstTSC 227 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 69 tstRTAssertCompile \ 70 tstRTAvl \ 71 tstRTBase64 \ 72 tstRTBitOperations \ 73 tstRTBigNum \ 74 tstRTCidr \ 75 tstRTCritSect \ 76 tstRTCritSectRw \ 77 tstRTCrPkix-1 \ 78 tstRTCrX509-1 \ 79 tstRTCType \ 80 tstRTDigest \ 81 tstRTDigest-2 \ 82 tstDir \ 83 tstDir-2 \ 84 tstDir-3 \ 85 tstRTDvm \ 86 tstRTEnv \ 87 tstRTErr-1 \ 88 tstFile \ 89 tstRTFileAio \ 90 tstRTFileAppend-1 \ 91 tstRTFileQuerySize-1 \ 92 tstRTFileModeStringToFlags \ 93 tstFileLock \ 94 tstRTFileOpenEx-1 \ 95 tstFork \ 96 tstRTFsQueries \ 97 tstRTFilesystem \ 98 tstRTExprEval \ 99 tstRTGetOpt \ 100 tstRTGetOptArgv \ 101 tstHandleTable \ 102 tstRTHeapOffset \ 103 tstRTHeapSimple \ 104 tstRTInlineAsm \ 105 tstIprtList \ 106 tstIprtMiniList \ 107 tstIprtMiniString \ 108 tstLdr \ 109 tstLdrLoad \ 110 tstRTLocalIpc \ 111 tstRTLdrVerifyPeImage \ 112 tstRTList \ 113 tstRTLockValidator \ 114 tstLog \ 115 tstRTMath \ 116 tstRTMemEf \ 117 tstRTMemCache \ 118 tstRTMemPool \ 119 tstRTMemWipe \ 120 tstRTMemSafer \ 121 tstMove \ 122 tstRTMp-1 \ 123 tstRTNetIPv4 \ 124 tstRTNetIPv6 \ 125 tstOnce \ 126 tstRTPath \ 127 tstRTPathGlob \ 128 tstRTPathQueryInfo \ 129 tstRTPipe \ 130 tstRTPoll \ 131 tstRTPrfIO \ 132 tstRTProcCreateEx \ 133 tstRTProcCreatePrf \ 134 tstRTProcQueryUsername \ 135 tstPrfRT \ 136 tstRand \ 137 tstRTReqPool \ 138 tstRTSemEvent \ 139 tstRTSemEventMulti \ 140 tstSemMutex \ 141 tstSemPingPong \ 142 tstRTSemRW \ 143 tstRTSemXRoads \ 144 tstRTSort \ 145 tstRTStrAlloc \ 146 tstRTStrCache \ 147 tstRTStrCatCopy \ 148 tstRTStrFormat \ 149 tstRTStrSplit \ 150 tstRTStrSimplePattern \ 151 tstStrToNum \ 152 tstRTStrVersion \ 153 tstRTSymlink \ 154 tstRTSystemQueryDmi \ 155 tstRTSystemQueryFirmware \ 156 tstRTSystemQueryOsInfo \ 157 tstRTTcp-1 \ 158 tstRTTemp \ 159 tstRTDirCreateUniqueNumbered \ 160 tstTermCallbacks \ 161 tstThread-1 \ 162 tstRTThreadPoke \ 163 tstRTThreadExecutionTime \ 164 tstRTTime \ 165 tstTime-2 \ 166 tstTime-3 \ 167 tstTime-4 \ 168 tstTimer \ 169 tstRTTimerLR \ 170 tstRTTimeSpec \ 171 tstRTTls-1 \ 172 tstRTTraceLog \ 173 tstRTUdp-1 \ 174 tstUtf8 \ 175 tstRTUuid \ 176 tstRTCircBuf \ 177 tstRTManifest \ 178 tstRTUri \ 179 tstVector \ 180 tstRTVfs \ 181 tstRTZip \ 182 tstRTJson \ 183 tstRTShMem 184 185 PROGRAMS.win += \ 186 tstRTCritSectW32 \ 187 tstRTProcWait \ 188 tstFileAppendWin-1 \ 189 tstRTNtPath-1 \ 190 ntGetTimerResolution \ 191 tstRTDarwinMachKernel 192 193 PROGRAMS.linux += \ 194 tstRTProcWait \ 195 tstRTProcIsRunningByName \ 196 tstRTBitOperationsPIC3 \ 197 tstRTInlineAsmPIC \ 198 tstRTInlineAsmPIC3 199 PROGRAMS.solaris += \ 200 tstRTCoreDump 201 PROGRAMS.darwin += \ 202 tstDarwinSched \ 203 tstRTDarwinMachKernel 204 ifdef VBOX_WITH_LIBCURL 228 205 PROGRAMS += \ 229 tstRTR0MemUserKernelDriverHardened \ 230 tstRTR0SemMutexDriverHardened \ 231 tstRTR0TimerDriverHardened \ 232 tstRTR0ThreadPreemptionDriverHardened \ 233 tstRTR0ThreadDriverHardened 234 DLLS += \ 235 tstRTR0MemUserKernelDriver \ 236 tstRTR0SemMutexDriver \ 237 tstRTR0TimerDriver \ 238 tstRTR0ThreadPreemptionDriver \ 239 tstRTR0ThreadDriver 240 else 206 tstRTHttp-1 \ 207 tstRTCRest-1 208 endif 209 210 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 241 211 PROGRAMS += \ 242 tstRTR0MemUserKernelDriver \ 243 tstRTR0SemMutexDriver \ 244 tstRTR0TimerDriver \ 245 tstRTR0ThreadPreemptionDriver \ 246 tstRTR0ThreadDriver 247 endif 248 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS)) 212 tstNoCrt-1 213 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too! 214 PROGRAMS += tstRTNoCrt-2 215 endif 216 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64) 217 PROGRAMS += tstRTNoCrt-3 tstRTNoCrt-3r tstRTNoCrt-4 218 endif 219 endif 220 221 if defined(VBOX_WITH_R0_MODULES) 222 PROGRAMS += \ 223 tstLdr-2 \ 224 tstLdr-3 \ 225 tstLdr-4 \ 226 tstTSC 227 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 228 PROGRAMS += \ 229 tstRTR0MemUserKernelDriverHardened \ 230 tstRTR0SemMutexDriverHardened \ 231 tstRTR0TimerDriverHardened \ 232 tstRTR0ThreadPreemptionDriverHardened \ 233 tstRTR0ThreadDriverHardened 234 DLLS += \ 235 tstRTR0MemUserKernelDriver \ 236 tstRTR0SemMutexDriver \ 237 tstRTR0TimerDriver \ 238 tstRTR0ThreadPreemptionDriver \ 239 tstRTR0ThreadDriver 240 else 241 PROGRAMS += \ 242 tstRTR0MemUserKernelDriver \ 243 tstRTR0SemMutexDriver \ 244 tstRTR0TimerDriver \ 245 tstRTR0ThreadPreemptionDriver \ 246 tstRTR0ThreadDriver 247 endif 248 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS)) 249 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 250 tstLdrObjR0 251 ifdef VBOX_WITH_RAW_MODE 252 SYSMODS += tstLdrObj 253 endif 254 endif 249 255 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 250 tstLdrObjR0 251 ifdef VBOX_WITH_RAW_MODE 252 SYSMODS += tstLdrObj 253 endif 254 endif 255 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 256 tstRTR0MemUserKernel \ 257 tstRTR0SemMutex \ 258 tstRTR0Timer \ 259 tstRTR0ThreadPreemption \ 260 tstRTR0Thread 261 if1of ($(KBUILD_TARGET), solaris darwin) 262 PROGRAMS += tstRTR0DbgKrnlInfoDriver 263 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo 264 endif # VBOX_SUPPORTED_HOST_ARCHS only 265 266 endif 267 if1of ($(VBOX_LDR_FMT)), lx pe) 268 LIBRARIES += \ 269 tstLdr-4Imp 270 endif 271 272 endif # !VBOX_ONLY_VALIDATIONKIT 273 274 275 # 276 # Target configs in almost alphabetical order. 277 # 278 279 tstRTAssertCompile_TEMPLATE = VBoxR3TstExe 280 tstRTAssertCompile_INSTTYPE = none 281 tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp 282 283 tstRTAvl_TEMPLATE = VBoxR3TstExe 284 tstRTAvl_SOURCES = tstRTAvl.cpp 285 286 tstRTBase64_TEMPLATE = VBoxR3TstExe 287 tstRTBase64_SOURCES = tstRTBase64.cpp 288 289 tstRTBigNum_TEMPLATE = VBoxR3TstExe 290 tstRTBigNum_SOURCES = tstRTBigNum.cpp 291 tstRTBigNum_SDKS = VBoxOpenSsl 292 tstRTBigNum_CXXFLAGS.win = -bigobj 293 294 tstRTBitOperations_TEMPLATE = VBoxR3TstExe 295 tstRTBitOperations_SOURCES = tstRTBitOperations.cpp 296 297 tstRTBitOperationsPIC3_TEMPLATE = VBoxR3TstExe 298 tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp 299 tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 300 tstRTBitOperationsPIC3_DEFS = PIC 301 302 tstRTCidr_TEMPLATE = VBoxR3TstExe 303 tstRTCidr_SOURCES = tstRTCidr.cpp 304 305 tstRTCritSect_TEMPLATE = VBoxR3TstExe 306 tstRTCritSect_SOURCES = tstRTCritSect.cpp 307 308 tstRTCritSectRw_TEMPLATE = VBoxR3TstExe 309 tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp 310 311 tstRTCritSectW32_TEMPLATE = VBoxR3TstExe 312 tstRTCritSectW32_SOURCES = tstRTCritSect.cpp 313 tstRTCritSectW32_DEFS = TRY_WIN32_CRIT 314 315 tstRTCrPkix-1_TEMPLATE = VBoxR3TstExe 316 tstRTCrPkix-1_SOURCES = tstRTCrPkix-1.cpp 317 318 ifndef VBOX_ONLY_VALIDATIONKIT 319 tstRTCrX509-1_TEMPLATE = VBoxR3TstExe 320 tstRTCrX509-1_SOURCES = tstRTCrX509-1.cpp 321 tstRTCrX509-1_INCS = $(tstRTCrX509-1_0_OUTDIR) 322 tstRTCrX509-1_CLEAN = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 323 tstRTCrX509-1_INTERMEDIATES = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 324 tstRTCrX509-1_VBOX_FILES := \ 325 Pem_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4.pem \ 326 Pem_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5.pem \ 327 Pem_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1.pem \ 328 Pem_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224.pem \ 329 Pem_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256.pem \ 330 Pem_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384.pem \ 331 Pem_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512.pem \ 332 Pem_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.pem \ 333 \ 334 Der_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4-cert.der \ 335 Der_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5-cert.der \ 336 Der_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1-cert.der \ 337 Der_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224-cert.der \ 338 Der_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256-cert.der \ 339 Der_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384-cert.der \ 340 Der_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512-cert.der \ 341 Der_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.der \ 342 $(NO_SUCH_VARIABLE) 343 $$(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h: \ 344 $(foreach file,$(tstRTCrX509-1_VBOX_FILES),$(lastword $(subst =,$(SP) ,$(file)))) \ 345 $(VBOX_BIN2C) \ 346 | $$(dir $$@) 256 tstRTR0MemUserKernel \ 257 tstRTR0SemMutex \ 258 tstRTR0Timer \ 259 tstRTR0ThreadPreemption \ 260 tstRTR0Thread 261 if1of ($(KBUILD_TARGET), solaris darwin) 262 PROGRAMS += tstRTR0DbgKrnlInfoDriver 263 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo 264 endif # VBOX_SUPPORTED_HOST_ARCHS only 265 266 endif 267 if1of ($(VBOX_LDR_FMT)), lx pe) 268 LIBRARIES += \ 269 tstLdr-4Imp 270 endif 271 272 endif # !VBOX_ONLY_VALIDATIONKIT 273 274 275 # 276 # Target configs in almost alphabetical order. 277 # 278 279 tstRTAssertCompile_TEMPLATE = VBoxR3TstExe 280 tstRTAssertCompile_INSTTYPE = none 281 tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp 282 283 tstRTAvl_TEMPLATE = VBoxR3TstExe 284 tstRTAvl_SOURCES = tstRTAvl.cpp 285 286 tstRTBase64_TEMPLATE = VBoxR3TstExe 287 tstRTBase64_SOURCES = tstRTBase64.cpp 288 289 tstRTBigNum_TEMPLATE = VBoxR3TstExe 290 tstRTBigNum_SOURCES = tstRTBigNum.cpp 291 tstRTBigNum_SDKS = VBoxOpenSsl 292 tstRTBigNum_CXXFLAGS.win = -bigobj 293 294 tstRTBitOperations_TEMPLATE = VBoxR3TstExe 295 tstRTBitOperations_SOURCES = tstRTBitOperations.cpp 296 297 tstRTBitOperationsPIC3_TEMPLATE = VBoxR3TstExe 298 tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp 299 tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 300 tstRTBitOperationsPIC3_DEFS = PIC 301 302 tstRTCidr_TEMPLATE = VBoxR3TstExe 303 tstRTCidr_SOURCES = tstRTCidr.cpp 304 305 tstRTCritSect_TEMPLATE = VBoxR3TstExe 306 tstRTCritSect_SOURCES = tstRTCritSect.cpp 307 308 tstRTCritSectRw_TEMPLATE = VBoxR3TstExe 309 tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp 310 311 tstRTCritSectW32_TEMPLATE = VBoxR3TstExe 312 tstRTCritSectW32_SOURCES = tstRTCritSect.cpp 313 tstRTCritSectW32_DEFS = TRY_WIN32_CRIT 314 315 tstRTCrPkix-1_TEMPLATE = VBoxR3TstExe 316 tstRTCrPkix-1_SOURCES = tstRTCrPkix-1.cpp 317 318 ifndef VBOX_ONLY_VALIDATIONKIT 319 tstRTCrX509-1_TEMPLATE = VBoxR3TstExe 320 tstRTCrX509-1_SOURCES = tstRTCrX509-1.cpp 321 tstRTCrX509-1_INCS = $(tstRTCrX509-1_0_OUTDIR) 322 tstRTCrX509-1_CLEAN = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 323 tstRTCrX509-1_INTERMEDIATES = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 324 tstRTCrX509-1_VBOX_FILES := \ 325 Pem_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4.pem \ 326 Pem_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5.pem \ 327 Pem_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1.pem \ 328 Pem_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224.pem \ 329 Pem_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256.pem \ 330 Pem_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384.pem \ 331 Pem_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512.pem \ 332 Pem_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.pem \ 333 \ 334 Der_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4-cert.der \ 335 Der_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5-cert.der \ 336 Der_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1-cert.der \ 337 Der_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224-cert.der \ 338 Der_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256-cert.der \ 339 Der_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384-cert.der \ 340 Der_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512-cert.der \ 341 Der_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.der \ 342 $(NO_SUCH_VARIABLE) 343 $$(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h: \ 344 $(foreach file,$(tstRTCrX509-1_VBOX_FILES),$(lastword $(subst =,$(SP) ,$(file)))) \ 345 $(VBOX_BIN2C) \ 346 | $$(dir $$@) 347 347 $(RM) -f -- "$@" 348 348 $(foreach file,$(tstRTCrX509-1_VBOX_FILES) \ … … 351 351 "$(lastword $(subst =,$(SP) ,$(file)))" \ 352 352 "$@") 353 endif # !VBOX_ONLY_VALIDATIONKIT 354 355 356 tstRTCType_TEMPLATE = VBoxR3TstExe 357 tstRTCType_SOURCES = tstRTCType.cpp 358 359 ifdef VBOX_WITH_LIBCURL 360 tstRTCRest-1_TEMPLATE = VBoxR3TstExe 361 tstRTCRest-1_SOURCES = tstRTCRest-1.cpp 362 endif 363 364 tstRTDigest_TEMPLATE = VBoxR3TstExe 365 tstRTDigest_SOURCES = tstRTDigest.cpp 366 367 tstRTDigest-2_TEMPLATE = VBoxR3TstExe 368 ifndef VBOX_WITH_ALT_HASH_CODE 369 tstRTDigest-2_DEFS = IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256 370 endif 371 tstRTDigest-2_SOURCES = tstRTDigest-2.cpp 372 373 ifdef VBOX_WITH_LIBCURL 374 tstRTHttp-1_TEMPLATE = VBoxR3TstExe 375 tstRTHttp-1_SOURCES = tstRTHttp-1.cpp 376 tstRTHttp-1_SDKS = VBoxLibCurl 377 endif 378 379 tstDir_TEMPLATE = VBoxR3TstExe 380 tstDir_SOURCES = tstDir.cpp 381 382 tstDir-2_TEMPLATE = VBoxR3TstExe 383 tstDir-2_SOURCES = tstDir-2.cpp 384 385 tstDir-3_TEMPLATE = VBoxR3TstExe 386 tstDir-3_SOURCES = tstDir-3.cpp 387 388 tstRTDvm_TEMPLATE = VBoxR3TstExe 389 tstRTDvm_SOURCES = tstRTDvm.cpp 390 391 tstRTEnv_TEMPLATE = VBoxR3TstExe 392 tstRTEnv_SOURCES = tstRTEnv.cpp 393 394 tstRTErr-1_TEMPLATE = VBoxR3TstExe 395 tstRTErr-1_SOURCES = tstRTErr-1.cpp 396 397 tstFile_TEMPLATE = VBoxR3TstExe 398 tstFile_SOURCES = tstFile.cpp 399 400 tstRTFileAio_SOURCES = VBoxR3TstExe 401 tstRTFileAio_SOURCES = tstRTFileAio.cpp 402 403 tstRTFileAppend-1_TEMPLATE = VBoxR3TstExe 404 tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp 405 406 tstRTFileQuerySize-1_TEMPLATE = VBoxR3TstExe 407 tstRTFileQuerySize-1_SOURCES = tstRTFileQuerySize-1.cpp 408 409 tstRTFileModeStringToFlags_TEMPLATE = VBoxR3TstExe 410 tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp 411 412 tstRTFileOpenEx-1_TEMPLATE = VBoxR3TstExe 413 tstRTFileOpenEx-1_SOURCES = tstRTFileOpenEx-1.cpp 414 415 tstFileAppendWin-1_TEMPLATE = VBoxR3TstExe 416 tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp 417 418 tstFileLock_TEMPLATE = VBoxR3TstExe 419 tstFileLock_SOURCES = tstFileLock.cpp 420 421 tstFork_TEMPLATE = VBoxR3TstExe 422 tstFork_SOURCES = tstFork.cpp 423 424 tstRTFsQueries_TEMPLATE = VBoxR3TstExe 425 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 426 427 tstRTFilesystem_TEMPLATE = VBoxR3TstExe 428 tstRTFilesystem_SOURCES = tstRTFilesystem.cpp 429 430 tstRTExprEval_TEMPLATE = VBoxR3TstExe 431 tstRTExprEval_SOURCES = tstRTExprEval.cpp 432 433 tstRTGetOpt_TEMPLATE = VBoxR3TstExe 434 tstRTGetOpt_SOURCES = tstRTGetOpt.cpp 435 436 tstRTGetOptArgv_TEMPLATE = VBoxR3TstExe 437 tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp 438 439 tstHandleTable_SOURCES = tstHandleTable.cpp 440 441 tstRTHeapOffset_TEMPLATE = VBoxR3TstExe 442 tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp 443 444 tstRTHeapSimple_TEMPLATE = VBoxR3TstExe 445 tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp 446 447 tstRTInlineAsm_TEMPLATE = VBoxR3TstExe 448 tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp 449 450 tstRTInlineAsmPIC_TEMPLATE = VBoxR3TstExe 451 tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp 452 tstRTInlineAsmPIC_CXXFLAGS = -fPIC 453 tstRTInlineAsmPIC_DEFS = PIC 454 455 tstRTInlineAsmPIC3_TEMPLATE = VBoxR3TstExe 456 tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp 457 tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 458 tstRTInlineAsmPIC3_DEFS = PIC 459 460 tstIprtList_TEMPLATE = VBoxR3TstExe 461 tstIprtList_SOURCES = tstIprtList.cpp 462 463 tstIprtMiniList_TEMPLATE = VBoxR3TstExe 464 tstIprtMiniList_SOURCES = tstIprtMiniList.cpp 465 466 tstIprtMiniString_TEMPLATE = VBoxR3TstExe 467 tstIprtMiniString_SOURCES = tstIprtMiniString.cpp 468 469 tstLdr_TEMPLATE = VBoxR3TstExe 470 tstLdr_SOURCES = tstLdr.cpp 471 472 tstLdr-2_TEMPLATE = VBoxR3TstExe 473 tstLdr-2_SOURCES = tstLdr-2.cpp 474 tstLdr-2_DEFS = IN_DIS 475 tstLdr-2_LIBS = \ 476 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 477 478 ifdef VBOX_WITH_RAW_MODE 479 tstLdrObj_TEMPLATE = VBoxRc 480 tstLdrObj_INST = $(INST_TESTCASE) 481 tstLdrObj_SYSSUFF = .gc 482 tstLdrObj_SOURCES = tstLdrObj.cpp 483 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY 353 endif # !VBOX_ONLY_VALIDATIONKIT 354 355 356 tstRTCType_TEMPLATE = VBoxR3TstExe 357 tstRTCType_SOURCES = tstRTCType.cpp 358 359 ifdef VBOX_WITH_LIBCURL 360 tstRTCRest-1_TEMPLATE = VBoxR3TstExe 361 tstRTCRest-1_SOURCES = tstRTCRest-1.cpp 362 endif 363 364 tstRTDigest_TEMPLATE = VBoxR3TstExe 365 tstRTDigest_SOURCES = tstRTDigest.cpp 366 367 tstRTDigest-2_TEMPLATE = VBoxR3TstExe 368 ifndef VBOX_WITH_ALT_HASH_CODE 369 tstRTDigest-2_DEFS = IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256 370 endif 371 tstRTDigest-2_SOURCES = tstRTDigest-2.cpp 372 373 ifdef VBOX_WITH_LIBCURL 374 tstRTHttp-1_TEMPLATE = VBoxR3TstExe 375 tstRTHttp-1_SOURCES = tstRTHttp-1.cpp 376 tstRTHttp-1_SDKS = VBoxLibCurl 377 endif 378 379 tstDir_TEMPLATE = VBoxR3TstExe 380 tstDir_SOURCES = tstDir.cpp 381 382 tstDir-2_TEMPLATE = VBoxR3TstExe 383 tstDir-2_SOURCES = tstDir-2.cpp 384 385 tstDir-3_TEMPLATE = VBoxR3TstExe 386 tstDir-3_SOURCES = tstDir-3.cpp 387 388 tstRTDvm_TEMPLATE = VBoxR3TstExe 389 tstRTDvm_SOURCES = tstRTDvm.cpp 390 391 tstRTEnv_TEMPLATE = VBoxR3TstExe 392 tstRTEnv_SOURCES = tstRTEnv.cpp 393 394 tstRTErr-1_TEMPLATE = VBoxR3TstExe 395 tstRTErr-1_SOURCES = tstRTErr-1.cpp 396 397 tstFile_TEMPLATE = VBoxR3TstExe 398 tstFile_SOURCES = tstFile.cpp 399 400 tstRTFileAio_SOURCES = VBoxR3TstExe 401 tstRTFileAio_SOURCES = tstRTFileAio.cpp 402 403 tstRTFileAppend-1_TEMPLATE = VBoxR3TstExe 404 tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp 405 406 tstRTFileQuerySize-1_TEMPLATE = VBoxR3TstExe 407 tstRTFileQuerySize-1_SOURCES = tstRTFileQuerySize-1.cpp 408 409 tstRTFileModeStringToFlags_TEMPLATE = VBoxR3TstExe 410 tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp 411 412 tstRTFileOpenEx-1_TEMPLATE = VBoxR3TstExe 413 tstRTFileOpenEx-1_SOURCES = tstRTFileOpenEx-1.cpp 414 415 tstFileAppendWin-1_TEMPLATE = VBoxR3TstExe 416 tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp 417 418 tstFileLock_TEMPLATE = VBoxR3TstExe 419 tstFileLock_SOURCES = tstFileLock.cpp 420 421 tstFork_TEMPLATE = VBoxR3TstExe 422 tstFork_SOURCES = tstFork.cpp 423 424 tstRTFsQueries_TEMPLATE = VBoxR3TstExe 425 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 426 427 tstRTFilesystem_TEMPLATE = VBoxR3TstExe 428 tstRTFilesystem_SOURCES = tstRTFilesystem.cpp 429 430 tstRTExprEval_TEMPLATE = VBoxR3TstExe 431 tstRTExprEval_SOURCES = tstRTExprEval.cpp 432 433 tstRTGetOpt_TEMPLATE = VBoxR3TstExe 434 tstRTGetOpt_SOURCES = tstRTGetOpt.cpp 435 436 tstRTGetOptArgv_TEMPLATE = VBoxR3TstExe 437 tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp 438 439 tstHandleTable_SOURCES = tstHandleTable.cpp 440 441 tstRTHeapOffset_TEMPLATE = VBoxR3TstExe 442 tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp 443 444 tstRTHeapSimple_TEMPLATE = VBoxR3TstExe 445 tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp 446 447 tstRTInlineAsm_TEMPLATE = VBoxR3TstExe 448 tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp 449 450 tstRTInlineAsmPIC_TEMPLATE = VBoxR3TstExe 451 tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp 452 tstRTInlineAsmPIC_CXXFLAGS = -fPIC 453 tstRTInlineAsmPIC_DEFS = PIC 454 455 tstRTInlineAsmPIC3_TEMPLATE = VBoxR3TstExe 456 tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp 457 tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 458 tstRTInlineAsmPIC3_DEFS = PIC 459 460 tstIprtList_TEMPLATE = VBoxR3TstExe 461 tstIprtList_SOURCES = tstIprtList.cpp 462 463 tstIprtMiniList_TEMPLATE = VBoxR3TstExe 464 tstIprtMiniList_SOURCES = tstIprtMiniList.cpp 465 466 tstIprtMiniString_TEMPLATE = VBoxR3TstExe 467 tstIprtMiniString_SOURCES = tstIprtMiniString.cpp 468 469 tstLdr_TEMPLATE = VBoxR3TstExe 470 tstLdr_SOURCES = tstLdr.cpp 471 472 tstLdr-2_TEMPLATE = VBoxR3TstExe 473 tstLdr-2_SOURCES = tstLdr-2.cpp 474 tstLdr-2_DEFS = IN_DIS 475 tstLdr-2_LIBS = \ 476 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 477 478 ifdef VBOX_WITH_RAW_MODE 479 tstLdrObj_TEMPLATE = VBoxRc 480 tstLdrObj_INST = $(INST_TESTCASE) 481 tstLdrObj_SYSSUFF = .gc 482 tstLdrObj_SOURCES = tstLdrObj.cpp 483 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY 484 ifeq ($(VBOX_LDR_FMT32),elf) 485 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION 486 endif 487 tstLdrObj_LIBS = \ 488 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \ 489 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB) 490 if1of ($(VBOX_LDR_FMT32), lx pe) 491 tstLdrObj_LIBS += \ 492 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \ 493 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB) 494 endif 495 endif # VBOX_WITH_RAW_MODE 496 497 tstLdr-3_TEMPLATE = VBoxR3TstExe 498 tstLdr-3_SOURCES = tstLdr-3.cpp 499 tstLdr-3_DEFS = IN_DIS 500 tstLdr-3_LIBS = \ 501 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 502 503 tstLdr-4Imp_TEMPLATE = VBoxR0 504 ifeq ($(VBOX_LDR_FMT),lx) 505 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def 506 else ifeq ($(VBOX_LDR_FMT),pe) 507 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def 508 endif 509 510 tstLdrObjR0_TEMPLATE = VBoxR0 511 tstLdrObjR0_INST = $(INST_TESTCASE) 512 tstLdrObjR0_SYSSUFF = .r0 513 tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp 514 tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY 484 515 ifeq ($(VBOX_LDR_FMT32),elf) 485 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION 486 endif 487 tstLdrObj_LIBS = \ 488 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \ 489 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB) 490 if1of ($(VBOX_LDR_FMT32),lx pe) 491 tstLdrObj_LIBS += \ 492 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \ 493 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB) 494 endif 495 endif # VBOX_WITH_RAW_MODE 496 497 tstLdr-3_TEMPLATE = VBoxR3TstExe 498 tstLdr-3_SOURCES = tstLdr-3.cpp 499 tstLdr-3_DEFS = IN_DIS 500 tstLdr-3_LIBS = \ 501 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 502 503 tstLdr-4Imp_TEMPLATE = VBoxR0 504 ifeq ($(VBOX_LDR_FMT),lx) 505 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def 506 else ifeq ($(VBOX_LDR_FMT),pe) 507 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def 508 endif 509 510 tstLdrObjR0_TEMPLATE = VBoxR0 511 tstLdrObjR0_INST = $(INST_TESTCASE) 512 tstLdrObjR0_SYSSUFF = .r0 513 tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp 514 tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY 515 ifeq ($(VBOX_LDR_FMT32),elf) 516 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION 517 endif 518 ifn1of ($(KBUILD_TARGET), win) 519 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds) 520 endif 521 tstLdrObjR0_LIBS = \ 522 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \ 523 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 524 $(VBOX_LIB_SUPR0) 525 if1of ($(VBOX_LDR_FMT),pe lx) 526 tstLdrObjR0_LIBS += \ 527 $(TARGET_tstLdr-4Imp) 528 endif 529 530 tstLdr-4_TEMPLATE = VBoxR3TstExe 531 tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp 532 tstLdr-4_DEFS = IN_DIS 533 tstLdr-4_LIBS = \ 534 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 535 536 tstLdrLoad_TEMPLATE = VBoxR3TstExe 537 tstLdrLoad_SOURCES = tstLdrLoad.cpp 538 539 tstRTLdrVerifyPeImage_TEMPLATE = VBoxR3TstExe 540 tstRTLdrVerifyPeImage_SOURCES = tstRTLdrVerifyPeImage.cpp 541 542 tstRTList_TEMPLATE = VBoxR3TstExe 543 tstRTList_SOURCES = tstRTList.cpp 544 545 tstRTLocalIpc_TEMPLATE = VBoxR3TstExe 546 tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp 547 548 tstRTLockValidator_TEMPLATE = VBoxR3TstExe 549 tstRTLockValidator_SOURCES = tstRTLockValidator.cpp 550 551 ifndef VBOX_ONLY_VALIDATIONKIT 552 tstLog_TEMPLATE = VBoxR3TstExe 553 tstLog_SOURCES = tstLog.cpp 554 tstLog_INCS = $(tstLog_0_OUTDIR) 555 tstLog_INTERMEDIATES = $(tstLog_0_OUTDIR)/tstLogGroups.h 556 tstLog_CLEAN = $(tstLog_0_OUTDIR)/tstLogGroups.h 557 $$(tstLog_0_OUTDIR)/tstLogGroups.h: $(PATH_ROOT)/include/VBox/log.h 516 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION 517 endif 518 ifn1of ($(KBUILD_TARGET), win) 519 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds) 520 endif 521 tstLdrObjR0_LIBS = \ 522 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \ 523 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 524 $(VBOX_LIB_SUPR0) 525 if1of ($(VBOX_LDR_FMT), pe lx) 526 tstLdrObjR0_LIBS += \ 527 $(TARGET_tstLdr-4Imp) 528 endif 529 530 tstLdr-4_TEMPLATE = VBoxR3TstExe 531 tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp 532 tstLdr-4_DEFS = IN_DIS 533 tstLdr-4_LIBS = \ 534 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 535 536 tstLdrLoad_TEMPLATE = VBoxR3TstExe 537 tstLdrLoad_SOURCES = tstLdrLoad.cpp 538 539 tstRTLdrVerifyPeImage_TEMPLATE = VBoxR3TstExe 540 tstRTLdrVerifyPeImage_SOURCES = tstRTLdrVerifyPeImage.cpp 541 542 tstRTList_TEMPLATE = VBoxR3TstExe 543 tstRTList_SOURCES = tstRTList.cpp 544 545 tstRTLocalIpc_TEMPLATE = VBoxR3TstExe 546 tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp 547 548 tstRTLockValidator_TEMPLATE = VBoxR3TstExe 549 tstRTLockValidator_SOURCES = tstRTLockValidator.cpp 550 551 ifndef VBOX_ONLY_VALIDATIONKIT 552 tstLog_TEMPLATE = VBoxR3TstExe 553 tstLog_SOURCES = tstLog.cpp 554 tstLog_INCS = $(tstLog_0_OUTDIR) 555 tstLog_INTERMEDIATES = $(tstLog_0_OUTDIR)/tstLogGroups.h 556 tstLog_CLEAN = $(tstLog_0_OUTDIR)/tstLogGroups.h 557 $$(tstLog_0_OUTDIR)/tstLogGroups.h: $(PATH_ROOT)/include/VBox/log.h 558 558 $(call MSG_GENERATE,,$@,$<) 559 559 $(QUIET)$(RM) -f -- "$@" 560 560 $(QUIET)$(SED) -n -e 's/^ *LOG_GROUP_\([A-Z0-9_]*\),.*$(DOLLAR)/{ LOG_GROUP_\1, "\1" },/p' --output "$@" "$<" 561 endif # !VBOX_ONLY_VALIDATIONKIT562 563 tstRTMemEf_TEMPLATE = VBoxR3TstExe564 tstRTMemEf_SOURCES = tstRTMemEf.cpp565 566 tstRTMemCache_TEMPLATE = VBoxR3TstExe567 tstRTMemCache_SOURCES = tstRTMemCache.cpp568 569 tstRTMemPool_TEMPLATE = VBoxR3TstExe570 tstRTMemPool_SOURCES = tstRTMemPool.cpp571 572 tstRTMemWipe_TEMPLATE = VBoxR3TstExe573 tstRTMemWipe_SOURCES = tstRTMemWipe.cpp574 575 tstRTMemSafer_TEMPLATE = VBoxR3TstExe576 tstRTMemSafer_SOURCES = tstRTMemSafer.cpp577 578 tstMove_TEMPLATE = VBoxR3TstExe579 tstMove_SOURCES = tstMove.cpp580 581 tstRTMp-1_TEMPLATE = VBoxR3TstExe582 tstRTMp-1_SOURCES = tstRTMp-1.cpp583 584 tstRTNetIPv4_TEMPLATE = VBoxR3TstExe585 tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp586 587 tstRTNetIPv6_TEMPLATE = VBoxR3TstExe588 tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp589 590 tstNoCrt-1_TEMPLATE = VBoxR3TstExe591 tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES592 tstNoCrt-1_SOURCES = \593 tstNoCrt-1.cpp \594 ../common/string/memcpy.asm \595 ../common/string/mempcpy.asm \596 ../common/string/memmove.asm \597 ../common/string/memset.asm \598 ../common/string/memchr.asm \599 ../common/string/memcmp.asm \600 ../common/string/strchr.asm \601 ../common/string/strcmp.asm \602 ../common/string/strcpy.asm \603 ../common/string/strlen.asm \604 ../common/string/wcslen.asm605 606 tstRTNoCrt-2_TEMPLATE = VBoxR3TstExe607 tstRTNoCrt-2_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES608 tstRTNoCrt-2_INCS = ../include609 tstRTNoCrt-2_SDKS = VBoxSoftFloatR3Shared610 tstRTNoCrt-2_SOURCES = \611 tstRTNoCrt-2.cpp \612 613 ../common/math/copysign.cpp \614 ../common/math/copysignf.cpp \615 ../common/math/copysignl.cpp \616 ../common/math/fma.cpp \617 ../common/math/fmaf.cpp \618 ../common/math/fmax.cpp \619 ../common/math/fmaxf.cpp \620 ../common/math/fmaxl.cpp \621 ../common/math/fmin.cpp \622 ../common/math/fminf.cpp \623 ../common/math/fminl.cpp \624 ../common/math/isinf.cpp \625 ../common/math/isnan.cpp \626 ../common/math/isnanf.cpp \627 ../common/math/llround.cpp \628 ../common/math/llroundf.cpp \629 ../common/math/lround.cpp \630 ../common/math/lroundf.cpp \631 ../common/math/nocrt-abs.cpp \632 ../common/math/nocrt-labs.cpp \633 ../common/math/nocrt-llabs.cpp \634 ../common/math/round.cpp \635 ../common/math/roundf.cpp \636 ../common/math/frexp.cpp \637 ../common/math/frexpf.cpp \638 ../common/math/frexpl.cpp \639 ../common/math/__fpclassifyd.cpp \640 ../common/math/__fpclassifyf.cpp \641 ../common/math/__fpclassifyl.cpp \642 ../common/math/__isfinite.cpp \643 ../common/math/__isfinitef.cpp \644 ../common/math/__isfinitel.cpp \645 ../common/math/__isinff.cpp \646 ../common/math/__isinfl.cpp \647 ../common/math/__isnanl.cpp \648 ../common/math/__isnormal.cpp \649 ../common/math/__isnormalf.cpp \650 ../common/math/__isnormall.cpp \651 ../common/math/__signbit.cpp \652 ../common/math/__signbitf.cpp \653 ../common/math/__signbitl.cpp654 655 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)656 tstRTNoCrt-2_SOURCES.x86 += \561 endif # !VBOX_ONLY_VALIDATIONKIT 562 563 tstRTMemEf_TEMPLATE = VBoxR3TstExe 564 tstRTMemEf_SOURCES = tstRTMemEf.cpp 565 566 tstRTMemCache_TEMPLATE = VBoxR3TstExe 567 tstRTMemCache_SOURCES = tstRTMemCache.cpp 568 569 tstRTMemPool_TEMPLATE = VBoxR3TstExe 570 tstRTMemPool_SOURCES = tstRTMemPool.cpp 571 572 tstRTMemWipe_TEMPLATE = VBoxR3TstExe 573 tstRTMemWipe_SOURCES = tstRTMemWipe.cpp 574 575 tstRTMemSafer_TEMPLATE = VBoxR3TstExe 576 tstRTMemSafer_SOURCES = tstRTMemSafer.cpp 577 578 tstMove_TEMPLATE = VBoxR3TstExe 579 tstMove_SOURCES = tstMove.cpp 580 581 tstRTMp-1_TEMPLATE = VBoxR3TstExe 582 tstRTMp-1_SOURCES = tstRTMp-1.cpp 583 584 tstRTNetIPv4_TEMPLATE = VBoxR3TstExe 585 tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp 586 587 tstRTNetIPv6_TEMPLATE = VBoxR3TstExe 588 tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp 589 590 tstNoCrt-1_TEMPLATE = VBoxR3TstExe 591 tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES 592 tstNoCrt-1_SOURCES = \ 593 tstNoCrt-1.cpp \ 594 ../common/string/memcpy.asm \ 595 ../common/string/mempcpy.asm \ 596 ../common/string/memmove.asm \ 597 ../common/string/memset.asm \ 598 ../common/string/memchr.asm \ 599 ../common/string/memcmp.asm \ 600 ../common/string/strchr.asm \ 601 ../common/string/strcmp.asm \ 602 ../common/string/strcpy.asm \ 603 ../common/string/strlen.asm \ 604 ../common/string/wcslen.asm 605 606 tstRTNoCrt-2_TEMPLATE = VBoxR3TstExe 607 tstRTNoCrt-2_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES 608 tstRTNoCrt-2_INCS = ../include 609 tstRTNoCrt-2_SDKS = VBoxSoftFloatR3Shared 610 tstRTNoCrt-2_SOURCES = \ 611 tstRTNoCrt-2.cpp \ 612 \ 613 ../common/math/copysign.cpp \ 614 ../common/math/copysignf.cpp \ 615 ../common/math/copysignl.cpp \ 616 ../common/math/fma.cpp \ 617 ../common/math/fmaf.cpp \ 618 ../common/math/fmax.cpp \ 619 ../common/math/fmaxf.cpp \ 620 ../common/math/fmaxl.cpp \ 621 ../common/math/fmin.cpp \ 622 ../common/math/fminf.cpp \ 623 ../common/math/fminl.cpp \ 624 ../common/math/isinf.cpp \ 625 ../common/math/isnan.cpp \ 626 ../common/math/isnanf.cpp \ 627 ../common/math/llround.cpp \ 628 ../common/math/llroundf.cpp \ 629 ../common/math/lround.cpp \ 630 ../common/math/lroundf.cpp \ 631 ../common/math/nocrt-abs.cpp \ 632 ../common/math/nocrt-labs.cpp \ 633 ../common/math/nocrt-llabs.cpp \ 634 ../common/math/round.cpp \ 635 ../common/math/roundf.cpp \ 636 ../common/math/frexp.cpp \ 637 ../common/math/frexpf.cpp \ 638 ../common/math/frexpl.cpp \ 639 ../common/math/__fpclassifyd.cpp \ 640 ../common/math/__fpclassifyf.cpp \ 641 ../common/math/__fpclassifyl.cpp \ 642 ../common/math/__isfinite.cpp \ 643 ../common/math/__isfinitef.cpp \ 644 ../common/math/__isfinitel.cpp \ 645 ../common/math/__isinff.cpp \ 646 ../common/math/__isinfl.cpp \ 647 ../common/math/__isnanl.cpp \ 648 ../common/math/__isnormal.cpp \ 649 ../common/math/__isnormalf.cpp \ 650 ../common/math/__isnormall.cpp \ 651 ../common/math/__signbit.cpp \ 652 ../common/math/__signbitf.cpp \ 653 ../common/math/__signbitl.cpp 654 655 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 656 tstRTNoCrt-2_SOURCES.x86 += \ 657 657 ../common/math/rtNoCrtHasSse.asm 658 tstRTNoCrt-2_SOURCES += \659 ../common/math/atan.asm \660 ../common/math/atan2.asm \661 ../common/math/atan2f.asm \662 ../common/math/atanf.asm \663 ../common/math/ceil.asm \664 ../common/math/ceilf.asm \665 ../common/math/cos.asm \666 ../common/math/cosf.asm \667 ../common/math/cosl.asm \668 ../common/math/exp.asm \669 ../common/math/expf.asm \670 ../common/math/exp2.asm \671 ../common/math/exp2f.asm \672 ../common/math/fabs.asm \673 ../common/math/fabsf.asm \658 tstRTNoCrt-2_SOURCES += \ 659 ../common/math/atan.asm \ 660 ../common/math/atan2.asm \ 661 ../common/math/atan2f.asm \ 662 ../common/math/atanf.asm \ 663 ../common/math/ceil.asm \ 664 ../common/math/ceilf.asm \ 665 ../common/math/cos.asm \ 666 ../common/math/cosf.asm \ 667 ../common/math/cosl.asm \ 668 ../common/math/exp.asm \ 669 ../common/math/expf.asm \ 670 ../common/math/exp2.asm \ 671 ../common/math/exp2f.asm \ 672 ../common/math/fabs.asm \ 673 ../common/math/fabsf.asm \ 674 674 ../common/math/fegetenv.asm \ 675 675 ../common/math/fesetenv.asm \ … … 687 687 ../common/math/fetestexcept.asm \ 688 688 ../common/math/feraiseexcept.asm \ 689 ../common/math/floor.asm \ 690 ../common/math/floorf.asm \ 691 ../common/math/fma-asm.asm \ 692 ../common/math/fmaf-asm.asm \ 693 ../common/math/ldexp.asm \ 694 ../common/math/ldexpf.asm \ 695 ../common/math/llrint.asm \ 696 ../common/math/llrintf.asm \ 697 ../common/math/log.asm \ 698 ../common/math/logf.asm \ 699 ../common/math/log2.asm \ 700 ../common/math/log2f.asm \ 701 ../common/math/lrint.asm \ 702 ../common/math/lrintf.asm \ 703 ../common/math/pow.asm \ 704 ../common/math/powf.asm \ 705 ../common/math/powcore.asm \ 706 ../common/math/remainder.asm \ 707 ../common/math/remainderf.asm \ 708 ../common/math/rint.asm \ 709 ../common/math/rintf.asm \ 710 ../common/math/sin.asm \ 711 ../common/math/sinf.asm \ 712 ../common/math/sincore.asm \ 713 ../common/math/sqrt.asm \ 714 ../common/math/sqrtf.asm \ 715 ../common/math/tan.asm \ 716 ../common/math/tanf.asm \ 717 ../common/math/trunc.asm \ 718 ../common/math/truncf.asm 719 endif 720 721 # 722 # For testing no-CRT exception handling we need to use the static build, 723 # assuming ofc that VBOX_WITH_NOCRT_STATIC is in effect. 724 # 725 TEMPLATE_VBoxR3TstExeStatic := Testcase for the static (no-CRT) libraries. 726 TEMPLATE_VBoxR3TstExeStatic_EXTENDS := VBoxR3Static 727 TEMPLATE_VBoxR3TstExeStatic_INST = $(INST_TESTCASE) 728 729 tstRTNoCrt-3_TEMPLATE := VBoxR3TstExeStatic 730 tstRTNoCrt-3_SOURCES := tstRTNoCrt-3.cpp 731 732 tstRTNoCrt-3r_TEMPLATE := VBoxR3TstExe 733 tstRTNoCrt-3r_SOURCES := tstRTNoCrt-3.cpp 734 735 tstRTNoCrt-4_TEMPLATE := VBoxR3TstExe 736 tstRTNoCrt-4_SOURCES := tstRTNoCrt-4.cpp 737 738 tstRTNtPath-1_TEMPLATE = VBoxR3TstExe 739 tstRTNtPath-1_SOURCES = tstRTNtPath-1.cpp 740 741 tstOnce_TEMPLATE = VBoxR3TstExe 742 tstOnce_SOURCES = tstOnce.cpp 743 744 tstRTPath_TEMPLATE = VBoxR3TstExe 745 tstRTPath_SOURCES = tstRTPath.cpp 746 747 tstRTPathFindCommon_TEMPLATE = VBoxR3TstExe 748 tstRTPathFindCommon_SOURCES = tstRTPathFindCommon.cpp 749 750 tstRTPathGlob_TEMPLATE = VBoxR3TstExe 751 tstRTPathGlob_SOURCES = tstRTPathGlob.cpp 752 753 tstRTPathQueryInfo_TEMPLATE = VBoxR3TstExe 754 tstRTPathQueryInfo_SOURCES = tstRTPathQueryInfo.cpp 755 756 tstRTPipe_TEMPLATE = VBoxR3TstExe 757 tstRTPipe_SOURCES = tstRTPipe.cpp 758 759 tstRTPoll_TEMPLATE = VBoxR3TstExe 760 tstRTPoll_SOURCES = tstRTPoll.cpp 761 762 tstPrfRT_TEMPLATE = VBoxR3TstExe 763 tstPrfRT_SOURCES = tstPrfRT.cpp 764 tstPrfRT_SOURCES.x86 = tstRTPrfA.asm 765 tstPrfRT_SOURCES.amd64 = tstRTPrfA.asm 766 767 tstRTPrfIO_TEMPLATE = VBoxR3TstExe 768 tstRTPrfIO_SOURCES = tstRTPrfIO.cpp 769 770 tstRTProcCreateEx_TEMPLATE = VBoxR3TstExe 771 tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp 772 773 tstRTProcCreatePrf_TEMPLATE = VBoxR3TstExe 774 tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp 775 776 tstRTProcQueryUsername_TEMPLATE = VBoxR3TstExe 777 tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp 778 779 tstRTProcWait_TEMPLATE = VBoxR3TstExe 780 tstRTProcWait_SOURCES = tstRTProcWait.cpp 781 782 tstRTProcIsRunningByName_TEMPLATE = VBoxR3TstExe 783 tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp 784 785 tstRand_TEMPLATE = VBoxR3TstExe 786 tstRand_SOURCES = tstRand.cpp 787 788 tstRTReqPool_TEMPLATE = VBoxR3TstExe 789 tstRTReqPool_SOURCES = tstRTReqPool.cpp 790 791 tstSemMutex_TEMPLATE = VBoxR3TstExe 792 tstSemMutex_SOURCES = tstSemMutex.cpp 793 794 tstRTSemEvent_TEMPLATE = VBoxR3TstExe 795 tstRTSemEvent_SOURCES = tstRTSemEvent.cpp 796 797 tstRTSemEventMulti_TEMPLATE = VBoxR3TstExe 798 tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp 799 800 tstRTSemRW_TEMPLATE = VBoxR3TstExe 801 tstRTSemRW_SOURCES = tstRTSemRW.cpp 802 803 tstSemPingPong_TEMPLATE = VBoxR3TstExe 804 tstSemPingPong_SOURCES = tstSemPingPong.cpp 805 806 tstRTSemXRoads_TEMPLATE = VBoxR3TstExe 807 tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp 808 809 tstRTSort_TEMPLATE = VBoxR3TstExe 810 tstRTSort_SOURCES = tstRTSort.cpp 811 812 tstRTStrAlloc_TEMPLATE = VBoxR3TstExe 813 tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp 814 815 tstRTStrCache_TEMPLATE = VBoxR3TstExe 816 tstRTStrCache_SOURCES = tstRTStrCache.cpp 817 818 tstRTStrCatCopy_TEMPLATE = VBoxR3TstExe 819 tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp 820 821 tstRTStrFormat_TEMPLATE = VBoxR3TstExe 822 tstRTStrFormat_SOURCES = tstRTStrFormat.cpp 823 824 tstRTStrSplit_TEMPLATE = VBoxR3TstExe 825 tstRTStrSplit_SOURCES = tstRTStrSplit.cpp 826 827 tstRTStrSimplePattern_TEMPLATE = VBoxR3TstExe 828 tstRTStrSimplePattern_SOURCES = tstRTStrSimplePattern.cpp 829 830 tstStrToNum_TEMPLATE = VBoxR3TstExe 831 tstStrToNum_SOURCES = tstStrToNum.cpp 832 833 tstRTStrVersion_TEMPLATE = VBoxR3TstExe 834 tstRTStrVersion_SOURCES = tstRTStrVersion.cpp 835 836 tstRTSymlink_TEMPLATE = VBoxR3TstExe 837 tstRTSymlink_SOURCES = tstRTSymlink.cpp 838 839 tstRTSystemQueryDmi_TEMPLATE = VBoxR3TstExe 840 tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp 841 842 tstRTSystemQueryFirmware_TEMPLATE = VBoxR3TstExe 843 tstRTSystemQueryFirmware_SOURCES = tstRTSystemQueryFirmware.cpp 844 845 tstRTSystemQueryOsInfo_TEMPLATE = VBoxR3TstExe 846 tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp 847 848 tstRTTcp-1_TEMPLATE = VBoxR3TstExe 849 tstRTTcp-1_SOURCES = tstRTTcp-1.cpp 850 851 tstRTTemp_TEMPLATE = VBoxR3TstExe 852 tstRTTemp_SOURCES = tstRTTemp.cpp 853 854 tstRTDirCreateUniqueNumbered_TEMPLATE = VBoxR3TstExe 855 tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp 856 857 tstTermCallbacks_TEMPLATE = VBoxR3TstExe 858 tstTermCallbacks_SOURCES = tstTermCallbacks.cpp 859 860 tstThread-1_TEMPLATE = VBoxR3TstExe 861 tstThread-1_SOURCES = tstThread-1.cpp 862 863 tstRTThreadPoke_TEMPLATE = VBoxR3TstExe 864 tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp 865 866 tstRTThreadExecutionTime_TEMPLATE = VBoxR3TstExe 867 tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp 868 869 tstRTTime_TEMPLATE = VBoxR3TstExe 870 tstRTTime_SOURCES = tstRTTime.cpp 871 872 tstRTTls-1_TEMPLATE = VBoxR3TstExe 873 tstRTTls-1_SOURCES = tstRTTls-1.cpp 874 875 tstRTTraceLog_TEMPLATE = VBoxR3TstExe 876 tstRTTraceLog_SOURCES = tstRTTraceLog.cpp 877 878 tstTime-2_TEMPLATE = VBoxR3TstExe 879 tstTime-2_SOURCES = tstTime-2.cpp 880 881 tstTime-3_TEMPLATE = VBoxR3TstExe 882 tstTime-3_SOURCES = tstTime-3.cpp 883 884 tstTime-4_TEMPLATE = VBoxR3TstExe 885 tstTime-4_SOURCES = tstTime-4.cpp 886 887 tstTimer_TEMPLATE = VBoxR3TstExe 888 tstTimer_SOURCES = tstTimer.cpp 889 890 tstRTTimerLR_TEMPLATE = VBoxR3TstExe 891 tstRTTimerLR_SOURCES = tstRTTimerLR.cpp 892 893 tstRTTimeSpec_TEMPLATE = VBoxR3TstExe 894 tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp 895 896 tstTSC_SOURCES = tstTSC.cpp 897 tstTSC_CXXFLAGS.linux += -O3 898 899 tstRTUuid_TEMPLATE = VBoxR3TstExe 900 tstRTUuid_SOURCES = tstRTUuid.cpp 901 902 tstRTUdp-1_TEMPLATE = VBoxR3TstExe 903 tstRTUdp-1_SOURCES = tstRTUdp-1.cpp 904 905 tstUtf8_TEMPLATE = VBoxR3TstExe 906 tstUtf8_SOURCES = tstUtf8.cpp 907 908 tstRTCircBuf_TEMPLATE = VBoxR3TstExe 909 tstRTCircBuf_SOURCES = tstRTCircBuf.cpp 910 911 tstRTManifest_TEMPLATE = VBoxR3TstExe 912 tstRTManifest_SOURCES = tstRTManifest.cpp 913 914 tstRTMath_TEMPLATE = VBoxR3TstExe 915 tstRTMath_SOURCES = \ 916 tstRTMath.cpp \ 917 ../common/math/gcc/udivmoddi4.c 918 919 tstRTUri_TEMPLATE = VBoxR3TstExe 920 tstRTUri_SOURCES = tstRTUri.cpp 921 922 tstRTVfs_TEMPLATE = VBoxR3TstExe 923 tstRTVfs_SOURCES = tstRTVfs.cpp 924 925 tstRTCoreDump_TEMPLACE = VBoxR3TstExe 926 tstRTCoreDump_SOURCES = tstRTCoreDump.cpp 927 928 tstVector_TEMPLATE = VBoxR3TstExe 929 tstVector_SOURCES = tstVector.cpp 930 931 932 tstRTZip_TEMPLATE = VBoxR3TstExe 933 tstRTZip_SOURCES = tstRTZip.cpp 934 935 tstRTJson_TEMPLATE = VBoxR3TstExe 936 tstRTJson_SOURCES = tstRTJson.cpp 937 938 tstRTShMem_TEMPLATE = VBoxR3TstExe 939 tstRTShMem_SOURCES = tstRTShMem.cpp 940 941 # 942 # Ring-0 testcases. 943 # 944 945 ## @todo create a template for compiling the ring-0 part. 946 tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0 947 tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE) 948 tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0 949 tstRTR0DbgKrnlInfo_SYSSUFF = .r0 950 tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp 951 tstRTR0DbgKrnlInfo_LIBS = \ 952 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 953 $(VBOX_LIB_SUPR0) 954 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 955 tstRTR0DbgKrnlInfoDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 956 tstRTR0DbgKrnlInfoDriverHardened_NAME = tstRTR0DbgKrnlInfoDriver 957 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 958 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0DbgKrnlInfoDriver" 689 ../common/math/floor.asm \ 690 ../common/math/floorf.asm \ 691 ../common/math/fma-asm.asm \ 692 ../common/math/fmaf-asm.asm \ 693 ../common/math/ldexp.asm \ 694 ../common/math/ldexpf.asm \ 695 ../common/math/llrint.asm \ 696 ../common/math/llrintf.asm \ 697 ../common/math/log.asm \ 698 ../common/math/logf.asm \ 699 ../common/math/log2.asm \ 700 ../common/math/log2f.asm \ 701 ../common/math/lrint.asm \ 702 ../common/math/lrintf.asm \ 703 ../common/math/pow.asm \ 704 ../common/math/powf.asm \ 705 ../common/math/powcore.asm \ 706 ../common/math/remainder.asm \ 707 ../common/math/remainderf.asm \ 708 ../common/math/rint.asm \ 709 ../common/math/rintf.asm \ 710 ../common/math/sin.asm \ 711 ../common/math/sinf.asm \ 712 ../common/math/sincore.asm \ 713 ../common/math/sqrt.asm \ 714 ../common/math/sqrtf.asm \ 715 ../common/math/tan.asm \ 716 ../common/math/tanf.asm \ 717 ../common/math/trunc.asm \ 718 ../common/math/truncf.asm 719 endif 720 721 # 722 # For testing no-CRT exception handling we need to use the static build, 723 # assuming ofc that VBOX_WITH_NOCRT_STATIC is in effect. 724 # 725 TEMPLATE_VBoxR3TstExeStatic := Testcase for the static (no-CRT) libraries. 726 TEMPLATE_VBoxR3TstExeStatic_EXTENDS := VBoxR3Static 727 TEMPLATE_VBoxR3TstExeStatic_INST = $(INST_TESTCASE) 728 729 tstRTNoCrt-3_TEMPLATE := VBoxR3TstExeStatic 730 tstRTNoCrt-3_SOURCES := tstRTNoCrt-3.cpp 731 732 tstRTNoCrt-3r_TEMPLATE := VBoxR3TstExe 733 tstRTNoCrt-3r_SOURCES := tstRTNoCrt-3.cpp 734 735 tstRTNoCrt-4_TEMPLATE := VBoxR3TstExe 736 tstRTNoCrt-4_SOURCES := tstRTNoCrt-4.cpp 737 738 tstRTNtPath-1_TEMPLATE = VBoxR3TstExe 739 tstRTNtPath-1_SOURCES = tstRTNtPath-1.cpp 740 741 tstOnce_TEMPLATE = VBoxR3TstExe 742 tstOnce_SOURCES = tstOnce.cpp 743 744 tstRTPath_TEMPLATE = VBoxR3TstExe 745 tstRTPath_SOURCES = tstRTPath.cpp 746 747 tstRTPathFindCommon_TEMPLATE = VBoxR3TstExe 748 tstRTPathFindCommon_SOURCES = tstRTPathFindCommon.cpp 749 750 tstRTPathGlob_TEMPLATE = VBoxR3TstExe 751 tstRTPathGlob_SOURCES = tstRTPathGlob.cpp 752 753 tstRTPathQueryInfo_TEMPLATE = VBoxR3TstExe 754 tstRTPathQueryInfo_SOURCES = tstRTPathQueryInfo.cpp 755 756 tstRTPipe_TEMPLATE = VBoxR3TstExe 757 tstRTPipe_SOURCES = tstRTPipe.cpp 758 759 tstRTPoll_TEMPLATE = VBoxR3TstExe 760 tstRTPoll_SOURCES = tstRTPoll.cpp 761 762 tstPrfRT_TEMPLATE = VBoxR3TstExe 763 tstPrfRT_SOURCES = tstPrfRT.cpp 764 tstPrfRT_SOURCES.x86 = tstRTPrfA.asm 765 tstPrfRT_SOURCES.amd64 = tstRTPrfA.asm 766 767 tstRTPrfIO_TEMPLATE = VBoxR3TstExe 768 tstRTPrfIO_SOURCES = tstRTPrfIO.cpp 769 770 tstRTProcCreateEx_TEMPLATE = VBoxR3TstExe 771 tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp 772 773 tstRTProcCreatePrf_TEMPLATE = VBoxR3TstExe 774 tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp 775 776 tstRTProcQueryUsername_TEMPLATE = VBoxR3TstExe 777 tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp 778 779 tstRTProcWait_TEMPLATE = VBoxR3TstExe 780 tstRTProcWait_SOURCES = tstRTProcWait.cpp 781 782 tstRTProcIsRunningByName_TEMPLATE = VBoxR3TstExe 783 tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp 784 785 tstRand_TEMPLATE = VBoxR3TstExe 786 tstRand_SOURCES = tstRand.cpp 787 788 tstRTReqPool_TEMPLATE = VBoxR3TstExe 789 tstRTReqPool_SOURCES = tstRTReqPool.cpp 790 791 tstSemMutex_TEMPLATE = VBoxR3TstExe 792 tstSemMutex_SOURCES = tstSemMutex.cpp 793 794 tstRTSemEvent_TEMPLATE = VBoxR3TstExe 795 tstRTSemEvent_SOURCES = tstRTSemEvent.cpp 796 797 tstRTSemEventMulti_TEMPLATE = VBoxR3TstExe 798 tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp 799 800 tstRTSemRW_TEMPLATE = VBoxR3TstExe 801 tstRTSemRW_SOURCES = tstRTSemRW.cpp 802 803 tstSemPingPong_TEMPLATE = VBoxR3TstExe 804 tstSemPingPong_SOURCES = tstSemPingPong.cpp 805 806 tstRTSemXRoads_TEMPLATE = VBoxR3TstExe 807 tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp 808 809 tstRTSort_TEMPLATE = VBoxR3TstExe 810 tstRTSort_SOURCES = tstRTSort.cpp 811 812 tstRTStrAlloc_TEMPLATE = VBoxR3TstExe 813 tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp 814 815 tstRTStrCache_TEMPLATE = VBoxR3TstExe 816 tstRTStrCache_SOURCES = tstRTStrCache.cpp 817 818 tstRTStrCatCopy_TEMPLATE = VBoxR3TstExe 819 tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp 820 821 tstRTStrFormat_TEMPLATE = VBoxR3TstExe 822 tstRTStrFormat_SOURCES = tstRTStrFormat.cpp 823 824 tstRTStrSplit_TEMPLATE = VBoxR3TstExe 825 tstRTStrSplit_SOURCES = tstRTStrSplit.cpp 826 827 tstRTStrSimplePattern_TEMPLATE = VBoxR3TstExe 828 tstRTStrSimplePattern_SOURCES = tstRTStrSimplePattern.cpp 829 830 tstStrToNum_TEMPLATE = VBoxR3TstExe 831 tstStrToNum_SOURCES = tstStrToNum.cpp 832 833 tstRTStrVersion_TEMPLATE = VBoxR3TstExe 834 tstRTStrVersion_SOURCES = tstRTStrVersion.cpp 835 836 tstRTSymlink_TEMPLATE = VBoxR3TstExe 837 tstRTSymlink_SOURCES = tstRTSymlink.cpp 838 839 tstRTSystemQueryDmi_TEMPLATE = VBoxR3TstExe 840 tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp 841 842 tstRTSystemQueryFirmware_TEMPLATE = VBoxR3TstExe 843 tstRTSystemQueryFirmware_SOURCES = tstRTSystemQueryFirmware.cpp 844 845 tstRTSystemQueryOsInfo_TEMPLATE = VBoxR3TstExe 846 tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp 847 848 tstRTTcp-1_TEMPLATE = VBoxR3TstExe 849 tstRTTcp-1_SOURCES = tstRTTcp-1.cpp 850 851 tstRTTemp_TEMPLATE = VBoxR3TstExe 852 tstRTTemp_SOURCES = tstRTTemp.cpp 853 854 tstRTDirCreateUniqueNumbered_TEMPLATE = VBoxR3TstExe 855 tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp 856 857 tstTermCallbacks_TEMPLATE = VBoxR3TstExe 858 tstTermCallbacks_SOURCES = tstTermCallbacks.cpp 859 860 tstThread-1_TEMPLATE = VBoxR3TstExe 861 tstThread-1_SOURCES = tstThread-1.cpp 862 863 tstRTThreadPoke_TEMPLATE = VBoxR3TstExe 864 tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp 865 866 tstRTThreadExecutionTime_TEMPLATE = VBoxR3TstExe 867 tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp 868 869 tstRTTime_TEMPLATE = VBoxR3TstExe 870 tstRTTime_SOURCES = tstRTTime.cpp 871 872 tstRTTls-1_TEMPLATE = VBoxR3TstExe 873 tstRTTls-1_SOURCES = tstRTTls-1.cpp 874 875 tstRTTraceLog_TEMPLATE = VBoxR3TstExe 876 tstRTTraceLog_SOURCES = tstRTTraceLog.cpp 877 878 tstTime-2_TEMPLATE = VBoxR3TstExe 879 tstTime-2_SOURCES = tstTime-2.cpp 880 881 tstTime-3_TEMPLATE = VBoxR3TstExe 882 tstTime-3_SOURCES = tstTime-3.cpp 883 884 tstTime-4_TEMPLATE = VBoxR3TstExe 885 tstTime-4_SOURCES = tstTime-4.cpp 886 887 tstTimer_TEMPLATE = VBoxR3TstExe 888 tstTimer_SOURCES = tstTimer.cpp 889 890 tstRTTimerLR_TEMPLATE = VBoxR3TstExe 891 tstRTTimerLR_SOURCES = tstRTTimerLR.cpp 892 893 tstRTTimeSpec_TEMPLATE = VBoxR3TstExe 894 tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp 895 896 tstTSC_SOURCES = tstTSC.cpp 897 tstTSC_CXXFLAGS.linux += -O3 898 899 tstRTUuid_TEMPLATE = VBoxR3TstExe 900 tstRTUuid_SOURCES = tstRTUuid.cpp 901 902 tstRTUdp-1_TEMPLATE = VBoxR3TstExe 903 tstRTUdp-1_SOURCES = tstRTUdp-1.cpp 904 905 tstUtf8_TEMPLATE = VBoxR3TstExe 906 tstUtf8_SOURCES = tstUtf8.cpp 907 908 tstRTCircBuf_TEMPLATE = VBoxR3TstExe 909 tstRTCircBuf_SOURCES = tstRTCircBuf.cpp 910 911 tstRTManifest_TEMPLATE = VBoxR3TstExe 912 tstRTManifest_SOURCES = tstRTManifest.cpp 913 914 tstRTMath_TEMPLATE = VBoxR3TstExe 915 tstRTMath_SOURCES = \ 916 tstRTMath.cpp \ 917 ../common/math/gcc/udivmoddi4.c 918 919 tstRTUri_TEMPLATE = VBoxR3TstExe 920 tstRTUri_SOURCES = tstRTUri.cpp 921 922 tstRTVfs_TEMPLATE = VBoxR3TstExe 923 tstRTVfs_SOURCES = tstRTVfs.cpp 924 925 tstRTCoreDump_TEMPLACE = VBoxR3TstExe 926 tstRTCoreDump_SOURCES = tstRTCoreDump.cpp 927 928 tstVector_TEMPLATE = VBoxR3TstExe 929 tstVector_SOURCES = tstVector.cpp 930 931 932 tstRTZip_TEMPLATE = VBoxR3TstExe 933 tstRTZip_SOURCES = tstRTZip.cpp 934 935 tstRTJson_TEMPLATE = VBoxR3TstExe 936 tstRTJson_SOURCES = tstRTJson.cpp 937 938 tstRTShMem_TEMPLATE = VBoxR3TstExe 939 tstRTShMem_SOURCES = tstRTShMem.cpp 940 941 # 942 # Ring-0 testcases. 943 # 944 945 ## @todo create a template for compiling the ring-0 part. 946 tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0 947 tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE) 948 tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0 949 tstRTR0DbgKrnlInfo_SYSSUFF = .r0 950 tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp 951 tstRTR0DbgKrnlInfo_LIBS = \ 952 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 953 $(VBOX_LIB_SUPR0) 954 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 955 tstRTR0DbgKrnlInfoDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 956 tstRTR0DbgKrnlInfoDriverHardened_NAME = tstRTR0DbgKrnlInfoDriver 957 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 958 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0DbgKrnlInfoDriver" 959 else 960 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0DbgKrnlInfoDriver\" 961 endif 962 tstRTR0DbgKrnlInfoDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 963 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3HardenedTstDll 959 964 else 960 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0DbgKrnlInfoDriver\" 961 endif 962 tstRTR0DbgKrnlInfoDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 963 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3HardenedTstDll 964 else 965 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 966 endif 965 967 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 966 endif 967 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 968 tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp 969 970 971 tstRTR0MemUserKernel_TEMPLATE = VBoxR0 972 tstRTR0MemUserKernel_INST = $(INST_TESTCASE) 973 tstRTR0MemUserKernel_DEFS = IN_RT_R0 974 tstRTR0MemUserKernel_SYSSUFF = .r0 975 tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp 976 tstRTR0MemUserKernel_LIBS = \ 977 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 978 $(VBOX_LIB_SUPR0) 979 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 980 tstRTR0MemUserKernelDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 981 tstRTR0MemUserKernelDriverHardened_NAME = tstRTR0MemUserKernelDriver 982 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 983 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0MemUserKernelDriver" 968 tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp 969 970 971 tstRTR0MemUserKernel_TEMPLATE = VBoxR0 972 tstRTR0MemUserKernel_INST = $(INST_TESTCASE) 973 tstRTR0MemUserKernel_DEFS = IN_RT_R0 974 tstRTR0MemUserKernel_SYSSUFF = .r0 975 tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp 976 tstRTR0MemUserKernel_LIBS = \ 977 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 978 $(VBOX_LIB_SUPR0) 979 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 980 tstRTR0MemUserKernelDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 981 tstRTR0MemUserKernelDriverHardened_NAME = tstRTR0MemUserKernelDriver 982 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 983 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0MemUserKernelDriver" 984 else 985 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0MemUserKernelDriver\" 986 endif 987 tstRTR0MemUserKernelDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 988 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3HardenedTstDll 984 989 else 985 tstRTR0MemUserKernelDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0MemUserKernelDriver\"986 endif 987 tstRTR0MemUserKernelDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp988 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3HardenedTstDll 989 else 990 tstRTR0 MemUserKernelDriver_TEMPLATE = VBoxR3TstExe991 endif 992 tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp 993 994 995 tstRTR0SemMutex_TEMPLATE = VBoxR0 996 tstRTR0SemMutex_INST = $(INST_TESTCASE) 997 tstRTR0SemMutex_DEFS = IN_RT_R0 998 tstRTR0SemMutex_SYSSUFF = .r0 999 tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp 1000 tstRTR0SemMutex_LIBS = \ 1001 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1002 $(VBOX_LIB_SUPR0) 1003 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1004 tstRTR0SemMutexDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1005 tstRTR0SemMutexDriverHardened_NAME = tstRTR0SemMutexDriver1006 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1007 tstRTR0SemMutexDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0SemMutexDriver"990 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3TstExe 991 endif 992 tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp 993 994 995 tstRTR0SemMutex_TEMPLATE = VBoxR0 996 tstRTR0SemMutex_INST = $(INST_TESTCASE) 997 tstRTR0SemMutex_DEFS = IN_RT_R0 998 tstRTR0SemMutex_SYSSUFF = .r0 999 tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp 1000 tstRTR0SemMutex_LIBS = \ 1001 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1002 $(VBOX_LIB_SUPR0) 1003 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1004 tstRTR0SemMutexDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1005 tstRTR0SemMutexDriverHardened_NAME = tstRTR0SemMutexDriver 1006 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1007 tstRTR0SemMutexDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0SemMutexDriver" 1008 else 1009 tstRTR0SemMutexDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0SemMutexDriver\" 1010 endif 1011 tstRTR0SemMutexDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1012 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3HardenedTstDll 1008 1013 else 1009 tstRTR0SemMutexDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0SemMutexDriver\"1010 endif 1011 tstRTR0SemMutexDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1012 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3HardenedTstDll 1013 else 1014 tstRTR0 SemMutexDriver_TEMPLATE = VBoxR3TstExe1015 endif 1016 tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp 1017 1018 1019 tstRTR0Thread_TEMPLATE = VBoxR0 1020 tstRTR0Thread_INST = $(INST_TESTCASE) 1021 tstRTR0Thread_DEFS = IN_RT_R0 1022 tstRTR0Thread_SYSSUFF = .r0 1023 tstRTR0Thread_SOURCES = tstRTR0Thread.cpp 1024 tstRTR0Thread_LIBS = \ 1025 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1026 $(VBOX_LIB_SUPR0) 1027 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1028 tstRTR0ThreadDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1029 tstRTR0ThreadDriverHardened_NAME = tstRTR0ThreadDriver1030 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1031 tstRTR0ThreadDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadDriver"1014 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3TstExe 1015 endif 1016 tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp 1017 1018 1019 tstRTR0Thread_TEMPLATE = VBoxR0 1020 tstRTR0Thread_INST = $(INST_TESTCASE) 1021 tstRTR0Thread_DEFS = IN_RT_R0 1022 tstRTR0Thread_SYSSUFF = .r0 1023 tstRTR0Thread_SOURCES = tstRTR0Thread.cpp 1024 tstRTR0Thread_LIBS = \ 1025 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1026 $(VBOX_LIB_SUPR0) 1027 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1028 tstRTR0ThreadDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1029 tstRTR0ThreadDriverHardened_NAME = tstRTR0ThreadDriver 1030 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1031 tstRTR0ThreadDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadDriver" 1032 else 1033 tstRTR0ThreadDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadDriver\" 1034 endif 1035 tstRTR0ThreadDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1036 tstRTR0ThreadDriver_TEMPLATE = VBoxR3HardenedTstDll 1032 1037 else 1033 tstRTR0ThreadDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadDriver\"1034 endif 1035 tstRTR0ThreadDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1036 tstRTR0ThreadDriver_TEMPLATE = VBoxR3HardenedTstDll 1037 else 1038 tstRTR0T hreadDriver_TEMPLATE = VBoxR3TstExe1039 endif 1040 tstRTR0ThreadDriver_SOURCES = tstRTR0ThreadDriver.cpp 1041 1042 1043 tstRTR0Timer_TEMPLATE = VBoxR0 1044 tstRTR0Timer_INST = $(INST_TESTCASE) 1045 tstRTR0Timer_DEFS = IN_RT_R0 1046 tstRTR0Timer_SYSSUFF = .r0 1047 tstRTR0Timer_SOURCES = tstRTR0Timer.cpp 1048 tstRTR0Timer_LIBS = \ 1049 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1050 $(VBOX_LIB_SUPR0) 1051 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1052 tstRTR0TimerDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1053 tstRTR0TimerDriverHardened_NAME = tstRTR0TimerDriver1054 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1055 tstRTR0TimerDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0TimerDriver"1038 tstRTR0ThreadDriver_TEMPLATE = VBoxR3TstExe 1039 endif 1040 tstRTR0ThreadDriver_SOURCES = tstRTR0ThreadDriver.cpp 1041 1042 1043 tstRTR0Timer_TEMPLATE = VBoxR0 1044 tstRTR0Timer_INST = $(INST_TESTCASE) 1045 tstRTR0Timer_DEFS = IN_RT_R0 1046 tstRTR0Timer_SYSSUFF = .r0 1047 tstRTR0Timer_SOURCES = tstRTR0Timer.cpp 1048 tstRTR0Timer_LIBS = \ 1049 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1050 $(VBOX_LIB_SUPR0) 1051 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1052 tstRTR0TimerDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1053 tstRTR0TimerDriverHardened_NAME = tstRTR0TimerDriver 1054 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1055 tstRTR0TimerDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0TimerDriver" 1056 else 1057 tstRTR0TimerDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0TimerDriver\" 1058 endif 1059 tstRTR0TimerDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1060 tstRTR0TimerDriver_TEMPLATE = VBoxR3HardenedTstDll 1056 1061 else 1057 tstRTR0TimerDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0TimerDriver\"1058 endif 1059 tstRTR0TimerDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1060 tstRTR0TimerDriver_TEMPLATE = VBoxR3HardenedTstDll 1061 else 1062 tstRTR0T imerDriver_TEMPLATE = VBoxR3TstExe1063 endif 1064 tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp 1065 1066 1067 tstRTR0ThreadPreemption_TEMPLATE = VBoxR0 1068 tstRTR0ThreadPreemption_INST = $(INST_TESTCASE) 1069 tstRTR0ThreadPreemption_DEFS = IN_RT_R0 1070 tstRTR0ThreadPreemption_SYSSUFF = .r0 1071 tstRTR0ThreadPreemption_SOURCES = tstRTR0ThreadPreemption.cpp 1072 tstRTR0ThreadPreemption_LIBS = \ 1073 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1074 $(VBOX_LIB_SUPR0) 1075 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1076 tstRTR0ThreadPreemptionDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1077 tstRTR0ThreadPreemptionDriverHardened_NAME = tstRTR0ThreadPreemptionDriver1078 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1079 tstRTR0ThreadPreemptionDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadPreemptionDriver"1062 tstRTR0TimerDriver_TEMPLATE = VBoxR3TstExe 1063 endif 1064 tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp 1065 1066 1067 tstRTR0ThreadPreemption_TEMPLATE = VBoxR0 1068 tstRTR0ThreadPreemption_INST = $(INST_TESTCASE) 1069 tstRTR0ThreadPreemption_DEFS = IN_RT_R0 1070 tstRTR0ThreadPreemption_SYSSUFF = .r0 1071 tstRTR0ThreadPreemption_SOURCES = tstRTR0ThreadPreemption.cpp 1072 tstRTR0ThreadPreemption_LIBS = \ 1073 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1074 $(VBOX_LIB_SUPR0) 1075 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1076 tstRTR0ThreadPreemptionDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1077 tstRTR0ThreadPreemptionDriverHardened_NAME = tstRTR0ThreadPreemptionDriver 1078 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1079 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadPreemptionDriver" 1080 else 1081 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadPreemptionDriver\" 1082 endif 1083 tstRTR0ThreadPreemptionDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1084 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3HardenedTstDll 1080 1085 else 1081 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadPreemptionDriver\" 1082 endif 1083 tstRTR0ThreadPreemptionDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1084 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3HardenedTstDll 1085 else 1086 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3TstExe 1087 endif 1088 tstRTR0ThreadPreemptionDriver_SOURCES = tstRTR0ThreadPreemptionDriver.cpp 1089 1090 1091 # 1092 # Odds and ends. 1093 # 1094 1095 tstDarwinSched_TEMPLATE = VBoxR3TstExe 1096 tstDarwinSched_SOURCES = tstDarwinSched.cpp 1097 1098 tstRTDarwinMachKernel_TEMPLATE = VBoxR3TstExe 1099 tstRTDarwinMachKernel_INCS = ../include 1100 tstRTDarwinMachKernel_SOURCES = \ 1101 tstRTDarwinMachKernel.cpp \ 1102 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp 1103 1104 ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp 1105 ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll 1106 1107 1108 # 1109 # ValKit versions of selected tests. 1110 # 1111 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 1112 define def_valkit_unittest_iprt 1113 PROGRAMS += $(unittest)-ValKit 1114 $(unittest)-ValKit_TEMPLATE := VBoxValidationKitR3TstExe 1115 $(unittest)-ValKit_EXTENDS := $(unittest) 1116 $(unittest)-ValKit_NAME := $(unittest) 1117 endef 1118 $(foreach unittest, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $($(VALKIT_UNITTESTS_WHITELIST_IPRT).$(KBUILD_TARGET)) \ 1086 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3TstExe 1087 endif 1088 tstRTR0ThreadPreemptionDriver_SOURCES = tstRTR0ThreadPreemptionDriver.cpp 1089 1090 1091 # 1092 # Odds and ends. 1093 # 1094 1095 tstDarwinSched_TEMPLATE = VBoxR3TstExe 1096 tstDarwinSched_SOURCES = tstDarwinSched.cpp 1097 1098 tstRTDarwinMachKernel_TEMPLATE = VBoxR3TstExe 1099 tstRTDarwinMachKernel_INCS = ../include 1100 tstRTDarwinMachKernel_SOURCES = \ 1101 tstRTDarwinMachKernel.cpp \ 1102 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp 1103 1104 ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp 1105 ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll 1106 1107 1108 # 1109 # ValKit versions of selected tests. 1110 # 1111 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 1112 define def_valkit_unittest_iprt 1113 PROGRAMS += $(unittest)-ValKit 1114 $(unittest)-ValKit_TEMPLATE := VBoxValidationKitR3TstExe 1115 $(unittest)-ValKit_EXTENDS := $(unittest) 1116 $(unittest)-ValKit_NAME := $(unittest) 1117 endef 1118 $(foreach unittest, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $($(VALKIT_UNITTESTS_WHITELIST_IPRT).$(KBUILD_TARGET)) \ 1119 1119 ,$(evalcall2 def_valkit_unittest_iprt)) 1120 endif1120 endif 1121 1121 1122 1122 endif # VBOX_WITH_TESTCASES -
trunk/src/VBox/Runtime/tools/Makefile.kmk
r98241 r98409 41 41 if !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_DOCS) 42 42 # RTIsoMaker - ISO image maker - build version. 43 ifeq ($(KBUILD_TARGET), win)# Needed for repacking guest additions.43 ifeq ($(KBUILD_TARGET),win) # Needed for repacking guest additions. 44 44 PROGRAMS += bldRTIsoMaker 45 45 bldRTIsoMaker_INSTTYPE = stage … … 50 50 bldRTIsoMaker_SOURCES = \ 51 51 RTIsoMaker.cpp \ 52 52 ../common/misc/buildconfig.cpp 53 53 bldRTIsoMaker_DEFS = \ 54 54 IPRT_BLDCFG_SCM_REV=$(if $(VBOX_SVN_REV_FALLBACK),$(VBOX_SVN_REV_FALLBACK),$(VBOX_SVN_REV)) \ … … 58 58 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 59 59 bldRTIsoMaker_DEFS += \ 60 IPRT_BLDCFG_VERSION_STRING="$(VBOX_VERSION_STRING)" \61 IPRT_BLDCFG_TARGET="$(KBUILD_TARGET)" \62 IPRT_BLDCFG_TARGET_ARCH="$(KBUILD_TARGET_ARCH)" \63 IPRT_BLDCFG_TYPE="$(KBUILD_TYPE)"60 IPRT_BLDCFG_VERSION_STRING="$(VBOX_VERSION_STRING)" \ 61 IPRT_BLDCFG_TARGET="$(KBUILD_TARGET)" \ 62 IPRT_BLDCFG_TARGET_ARCH="$(KBUILD_TARGET_ARCH)" \ 63 IPRT_BLDCFG_TYPE="$(KBUILD_TYPE)" 64 64 else 65 65 bldRTIsoMaker_DEFS += \ 66 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \67 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \68 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \69 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\"66 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \ 67 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \ 68 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \ 69 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\" 70 70 endif 71 71 bldRTIsoMaker_INCS = ../include … … 89 89 bldRTSignTool_DEFS := IPRT_IN_BUILD_TOOL 90 90 bldRTSignTool_LDFLAGS.darwin := \ 91 -framework CoreFoundation \92 -framework Security91 -framework CoreFoundation \ 92 -framework Security 93 93 bldRTSignTool_LIBS.win := Crypt32.lib NCrypt.lib 94 94 ifndef VBOX_WITH_BLD_RTSIGNTOOL_SIGNING … … 98 98 bldRTSignTool_DEFS += IPRT_WITH_OPENSSL 99 99 bldRTSignTool_SOURCES += \ 100 101 102 103 ../common/crypto/iprt-openssl.cpp\104 105 106 ../common/crypto/key-openssl.cpp \107 ../common/crypto/pkcs7-sign.cpp \108 ../common/crypto/RTCrRandBytes-openssl.cpp100 ../common/crypto/pkix-signature-builtin.cpp \ 101 ../common/crypto/store.cpp \ 102 ../common/crypto/digest-builtin.cpp \ 103 ../common/crypto/iprt-openssl.cpp \ 104 ../common/crypto/key.cpp \ 105 ../common/crypto/key-file.cpp \ 106 ../common/crypto/key-openssl.cpp \ 107 ../common/crypto/pkcs7-sign.cpp \ 108 ../common/crypto/RTCrRandBytes-openssl.cpp 109 109 if1of ($(KBUILD_HOST), darwin win) 110 110 bldRTSignTool_SOURCES += ../r3/$(KBUILD_HOST)/RTCrStoreCreateSnapshotById-$(KBUILD_HOST).cpp
Note:
See TracChangeset
for help on using the changeset viewer.