Put sys-specific files in build.info
[openssl.git] / crypto / rand / build.info
index 80f5710174c412a6992c0f30404aafb55b552b32..c4e7476ef75f978833399291473c0b379c5737c3 100644 (file)
@@ -1,10 +1,16 @@
 LIBS=../../libcrypto
 
-$COMMON=rand_lib.c rand_crng_test.c rand_win.c rand_unix.c  rand_vms.c \
-        drbg_lib.c drbg_ctr.c rand_vxworks.c drbg_hash.c drbg_hmac.c
+$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