- Timestamp:
- Oct 17, 2024 12:34:37 PM (6 weeks ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r106337 r106446 118 118 endif 119 119 LIBRARIES.solaris += RuntimeR0Stub 120 LIBRARIES.win += RuntimeR0Stub RuntimeR3NoCrt 120 LIBRARIES.win += RuntimeR0Stub 121 LIBRARIES.win.x86 += RuntimeR3NoCrt 122 LIBRARIES.win.amd64 += RuntimeR3NoCrt 121 123 ifndef VBOX_WITH_PARFAIT 122 124 LIBRARIES.win.amd64 += RuntimeR3-x86 … … 151 153 152 154 # Always build the ntdll import libraries on windows. 153 LIBRARIES.win += RuntimeR3NtDll-x86 155 if1of (amd64 x86, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH)) 156 LIBRARIES.win += RuntimeR3NtDll-x86 157 endif 154 158 if1of (amd64, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH)) 155 159 LIBRARIES.win += RuntimeR3NtDll-amd64 160 endif 161 if1of (arm64, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH)) 162 LIBRARIES.win += RuntimeR3NtDll-arm64 156 163 endif 157 164 … … 337 344 RT_WITHOUT_NOCRT_WRAPPERS \ 338 345 NOFILEID 339 if1of ($(KBUILD_TARGET_ARCH), amd64 x86 )346 if1of ($(KBUILD_TARGET_ARCH), amd64 x86 arm64) 340 347 RuntimeBaseR3_DEFS += \ 341 348 IN_SUP_R3 … … 883 890 common/asm/ASMMemFill32-generic.cpp \ 884 891 common/asm/ASMMemFirstMismatchingU8-generic.cpp \ 885 common/asm/ASMMemFirstNonZero-generic.cpp \ 886 common/misc/zero-alt.S 892 common/asm/ASMMemFirstNonZero-generic.cpp 887 893 RuntimeBaseR3_SOURCES.sparc32 += \ 888 894 generic/RTMpGetDescription-generic-stub.cpp \ … … 1110 1116 r3/win/RTUuidCreate-win.cpp \ 1111 1117 win/errmsgwin.cpp \ 1112 win/RTErrConvertFromWin32.cpp \ 1113 common/string/mempcpy.asm 1118 win/RTErrConvertFromWin32.cpp 1114 1119 1115 1120 RuntimeBaseR3_SOURCES.win.amd64 := \ 1116 1121 $(RuntimeWin64ASM_SOURCES) \ 1117 common/string/memrchr.asm 1122 common/string/memrchr.asm \ 1123 common/string/mempcpy.asm 1118 1124 RuntimeBaseR3_SOURCES.win.x86 := \ 1119 1125 $(RuntimeWin32ASM_SOURCES) \ 1120 common/string/memrchr.asm 1126 common/string/memrchr.asm \ 1127 common/string/mempcpy.asm 1128 RuntimeBaseR3_SOURCES.win.arm64 := \ 1129 generic/RTMpGetDescription-generic-stub.cpp \ 1130 common/string/memrchr.cpp \ 1131 common/string/mempcpy.cpp \ 1132 common/string/RTStrMemFind32.cpp \ 1133 common/misc/zero.cpp \ 1134 generic/system-page-size-generic.cpp 1121 1135 1122 1136 RuntimeBaseR3_SOURCES.linux = \ … … 1223 1237 r3/posix/system-page-size-posix.cpp \ 1224 1238 r3/linux/semevent-linux.cpp \ 1225 r3/linux/semeventmulti-linux.cpp 1239 r3/linux/semeventmulti-linux.cpp \ 1240 common/misc/zero-alt.S 1226 1241 RuntimeBaseR3_SOURCES.linux.arm32 += \ 1227 1242 generic/RTMpGetDescription-generic-stub.cpp \ 1228 1243 r3/posix/system-page-size-posix.cpp \ 1229 1244 r3/linux/semevent-linux.cpp \ 1230 r3/linux/semeventmulti-linux.cpp 1245 r3/linux/semeventmulti-linux.cpp \ 1246 common/misc/zero-alt.S 1231 1247 ifdef RT_NEW_LINUX_MUTEX_CODE 1232 1248 RuntimeBaseR3_SOURCES.linux.amd64 += \ … … 1428 1444 common/string/mempcpy.cpp \ 1429 1445 common/string/memrchr.cpp \ 1446 common/misc/zero-alt.S \ 1430 1447 generic/system-page-size-generic.cpp \ 1431 1448 r3/darwin/RTMpGetDescription-generic.cpp … … 1433 1450 common/string/mempcpy.cpp \ 1434 1451 common/string/memrchr.cpp \ 1452 common/misc/zero-alt.S \ 1435 1453 generic/system-page-size-generic.cpp \ 1436 1454 r3/darwin/RTMpGetDescription-generic.cpp … … 2624 2642 RuntimeBldProg_SOURCES.win = \ 2625 2643 common/dbg/dbgmoddbghelp.cpp \ 2626 common/string/mempcpy.asm \2627 2644 common/string/RTUtf16End.cpp \ 2628 2645 common/string/RTUtf16NLenEx.cpp \ … … 2708 2725 RuntimeBldProg_SOURCES.win.amd64 := \ 2709 2726 $(RuntimeWin64ASM_SOURCES) \ 2727 common/string/mempcpy.asm \ 2710 2728 common/string/memrchr.asm 2711 2729 2712 2730 RuntimeBldProg_SOURCES.win.x86 := \ 2713 2731 $(RuntimeWin32ASM_SOURCES) \ 2732 common/string/mempcpy.asm \ 2714 2733 common/string/memrchr.asm 2734 2735 RuntimeBldProg_SOURCES.win.arm64 := \ 2736 $(RuntimeBaseR3_SOURCES.win.arm64) \ 2737 r3/win/mp-win.cpp 2715 2738 2716 2739 ## @todo reduce this … … 3085 3108 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRT) 3086 3109 $(VBoxRT_0_OUTDIR)/VBoxRT.def: \ 3087 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$ $(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,win32).def \3110 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$(KBUILD_TARGET_ARCH).def \ 3088 3111 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-openssl-3.0.def \ 3089 3112 $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" && defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) \ … … 3189 3212 # 3190 3213 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64) 3191 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc64.def r3/win/VBoxRT- win64.def)3214 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc64.def r3/win/VBoxRT-amd64.def) 3192 3215 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 3193 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc32.def r3/win/VBoxRT-win32.def) 3216 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc32.def r3/win/VBoxRT-x86.def) 3217 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.arm64) 3218 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc-arm64.def r3/win/VBoxRT-arm64.def) 3194 3219 else 3195 3220 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-gcc.def) … … 3220 3245 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3221 3246 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def \ 3222 $(PATH_SUB_CURRENT)/r3/win/VBoxRT- win64.def \3247 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-amd64.def \ 3223 3248 | $$(dir $$@) 3224 3249 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) … … 3227 3252 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3228 3253 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def \ 3229 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@) 3254 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-x86.def | $$(dir $$@) 3255 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.arm64) 3256 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ 3257 $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \ 3258 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \ 3259 $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc-arm64.def \ 3260 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-arm64.def \ 3261 | $$(dir $$@) 3230 3262 else 3231 3263 $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \ … … 3288 3320 common/string/RTStrNICmpAscii.cpp \ 3289 3321 common/string/RTStrCopy.cpp \ 3290 common/string/RTStrEnd.asm \3291 3322 common/string/RTUtf16Copy.cpp \ 3292 3323 common/string/utf-16.cpp \ … … 3311 3342 common/string/strchr.asm \ 3312 3343 common/string/strcmp.asm \ 3313 common/string/strncmp.asm 3344 common/string/strncmp.asm \ 3345 common/string/RTStrEnd.asm 3346 3314 3347 RuntimeR3NoCrt_SOURCES.amd64 := \ 3315 3348 common/string/memcpy.asm \ … … 3321 3354 common/string/strchr.asm \ 3322 3355 common/string/strcmp.asm \ 3323 common/string/strncmp.asm 3356 common/string/strncmp.asm \ 3357 common/string/RTStrEnd.asm 3324 3358 3325 3359 RuntimeR3NoCrt_SOURCES.win := \ … … 3802 3836 common/path/RTPathChangeToUnixSlashes.cpp \ 3803 3837 common/math/bignum.cpp \ 3804 common/misc/zero.asm \3805 3838 common/string/RTStrPrintHexBytes.cpp \ 3806 3839 common/string/RTUtf16Copy.cpp \ … … 3816 3849 generic/memsafer-generic.cpp \ 3817 3850 common/misc/thread.cpp \ 3818 common/string/memcmp.asm \3819 common/string/memchr.asm \3820 common/string/memcpy.asm \3821 common/string/memset.asm \3822 common/string/memmove.asm \3823 common/string/strlen.asm \3824 3851 common/string/strncmp.cpp \ 3825 3852 common/string/strpbrk.cpp \ … … 3859 3886 r0drv/nt/time-r0drv-nt.cpp \ 3860 3887 r0drv/nt/timer-r0drv-nt.cpp \ 3861 r0drv/nt/toxic-chkstk-r0drv-nt.asm \3862 3888 r0drv/nt/RTTimerGetSystemGranularity-r0drv-nt.cpp 3863 3889 3864 RuntimeR0Drv_SOURCES.win.amd64 := $(RuntimeWin64ASM_SOURCES) 3890 RuntimeR0Drv_SOURCES.win.amd64 := $(RuntimeWin64ASM_SOURCES) \ 3891 common/misc/zero.asm \ 3892 common/string/memcmp.asm \ 3893 common/string/memchr.asm \ 3894 common/string/memcpy.asm \ 3895 common/string/memset.asm \ 3896 common/string/memmove.asm \ 3897 common/string/strlen.asm \ 3898 r0drv/nt/toxic-chkstk-r0drv-nt.asm 3899 3865 3900 RuntimeR0Drv_SOURCES.win.x86 := $(RuntimeWin32ASM_SOURCES) \ 3901 common/misc/zero.asm \ 3902 common/string/memcmp.asm \ 3903 common/string/memchr.asm \ 3904 common/string/memcpy.asm \ 3905 common/string/memset.asm \ 3906 common/string/memmove.asm \ 3907 common/string/strlen.asm \ 3866 3908 r0drv/nt/nt3fakes-stub-r0drv-nt.cpp \ 3867 r0drv/nt/alloca-x86-r0drv-nt.asm 3909 r0drv/nt/alloca-x86-r0drv-nt.asm \ 3910 r0drv/nt/toxic-chkstk-r0drv-nt.asm 3868 3911 3869 3912 … … 4481 4524 -e 's/^.*;;=[[:space:]]*\([^[:space:]]*\)[[:space:]]*$$/IMPLIB_EXPORT \1/' \ 4482 4525 $< --append $@ 4526 4527 RuntimeR3NtDll-arm64_TEMPLATE = VBoxR3Dll 4528 RuntimeR3NtDll-arm64_BLD_TRG_ARCH = arm64 4529 RuntimeR3NtDll-arm64_ARFLAGS = /NODEFAULTLIB /MACHINE:arm64 4530 RuntimeR3NtDll-arm64_SOURCES = \ 4531 r3/win/ntdll-mini-implib.def 4483 4532 endif 4484 4533
Note:
See TracChangeset
for help on using the changeset viewer.