LIBS=../../libcrypto

$COMMON=rand_lib.c rand_crng_test.c rand_unix.c rand_win.c \
        drbg_lib.c drbg_ctr.c drbg_hash.c drbg_hmac.c
IF[{- !$disabled{'egd'} -}]
  $COMMON=$COMMON rand_egd.c
ENDIF
IF[{- $config{target} =~ /vxworks/i -}]
  $COMMON=$COMMON rand_vxworks.c
ENDIF
IF[{- $config{target} =~ /vms/i -}]
  $COMMON=$COMMON rand_vms.c
ENDIF

SOURCE[../../libcrypto]=$COMMON randfile.c rand_err.c
SOURCE[../../providers/libfips.a]=$COMMON
