$COMMON=rand_unix.c rand_win.c rand_tsc.c
IF[{- $config{target} =~ /vxworks/i -}]
  $COMMON=$COMMON rand_vxworks.c
ENDIF
IF[{- $config{target} =~ /vms/i -}]
  $COMMON=$COMMON rand_vms.c
ENDIF
IF[{- !$disabled{asm} && $config{target} =~ '.*aarch64' -}]
  $COMMON=$COMMON rand_cpu_arm64.c
ELSE
  $COMMON=$COMMON rand_cpu_x86.c
ENDIF

SOURCE[../../../libdefault.a]=$COMMON

