2
0

build.info 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # Note that these directories are filtered in Configure. Look for %skipdir
  2. # there for further explanations.
  3. SUBDIRS=objects buffer bio stack lhash rand evp asn1 pem x509 conf \
  4. txt_db pkcs7 pkcs12 ui store property \
  5. md2 md4 md5 sha mdc2 hmac ripemd whrlpool poly1305 blake2 \
  6. siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
  7. seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
  8. err comp ocsp cms ts srp cmac ct async ess crmf cmp
  9. LIBS=../libcrypto
  10. $UPLINKSRC=
  11. $UPLINKDEF=
  12. IF[{- !$disabled{uplink} -}]
  13. $UPLINKSRC_common=../ms/uplink.c
  14. $UPLINKSRC_x86=$UPLINKSRC_common uplink-x86.s
  15. $UPLINKSRC_x86_64=$UPLINKSRC_common uplink-x86_64.s
  16. $UPLINKSRC_ia64=$UPLINKSRC_common uplink-ia64.s
  17. IF[$UPLINKSRC_{- $target{uplink_arch} -}]
  18. $UPLINKSRC=$UPLINKSRC_{- $target{uplink_arch} -}
  19. $UPLINKDEF=OPENSSL_USE_APPLINK
  20. ENDIF
  21. ENDIF
  22. $CPUIDASM=mem_clr.c
  23. $CPUIDDEF=
  24. IF[{- !$disabled{asm} && $config{processor} ne '386' -}]
  25. $CPUIDASM_x86=x86cpuid.s
  26. $CPUIDASM_x86_64=x86_64cpuid.s
  27. $CPUIDASM_ia64=ia64cpuid.s
  28. $CPUIDASM_sparcv9=sparcv9cap.c sparccpuid.S
  29. $CPUIDASM_alpha=alphacpuid.s
  30. $CPUIDASM_s390x=s390xcap.c s390xcpuid.S
  31. $CPUIDASM_armv4=armcap.c armv4cpuid.S
  32. $CPUIDASM_aarch64=armcap.c arm64cpuid.S
  33. $CPUIDASM_parisc11=pariscid.s
  34. $CPUIDASM_parisc20_64=$CPUIDASM_parisc11
  35. $CPUIDASM_ppc32=ppccpuid.s ppccap.c
  36. $CPUIDASM_ppc64=$CPUIDASM_ppc32
  37. $CPUIDASM_c64xplus=c64xpluscpuid.s
  38. # Now that we have defined all the arch specific variables, use the
  39. # appropriate one, and define the appropriate macros
  40. IF[$CPUIDASM_{- $target{asm_arch} -}]
  41. $CPUIDASM=$CPUIDASM_{- $target{asm_arch} -}
  42. $CPUIDDEF=OPENSSL_CPUID_OBJ
  43. ENDIF
  44. ENDIF
  45. # The Core
  46. $CORE_COMMON=provider_core.c provider_predefined.c \
  47. core_fetch.c core_algorithm.c core_namemap.c
  48. SOURCE[../libcrypto]=$CORE_COMMON provider_conf.c
  49. SOURCE[../providers/libfips.a]=$CORE_COMMON
  50. # Central utilities
  51. $UTIL_COMMON=\
  52. cryptlib.c params.c params_from_text.c bsearch.c ex_data.c o_str.c \
  53. ctype.c threads_pthread.c threads_win.c threads_none.c initthread.c \
  54. context.c sparse_array.c asn1_dsa.c packet.c param_build.c $CPUIDASM
  55. $UTIL_DEFINE=$CPUIDDEF
  56. SOURCE[../libcrypto]=$UTIL_COMMON \
  57. mem.c mem_sec.c mem_dbg.c \
  58. cversion.c info.c cpt_err.c ebcdic.c uid.c o_time.c o_dir.c \
  59. o_fopen.c getenv.c o_init.c o_fips.c init.c trace.c provider.c \
  60. $UPLINKSRC
  61. SOURCE[../providers/libfips.a]=$UTIL_COMMON
  62. # Implementations are now spread across several libraries, so the defines
  63. # need to be applied to all affected libraries and modules.
  64. DEFINE[../libcrypto]=$UTIL_DEFINE $UPLINKDEF
  65. DEFINE[../providers/libfips.a]=$UTIL_DEFINE
  66. DEFINE[../providers/fips]=$UTIL_DEFINE
  67. DEFINE[../providers/libimplementations.a]=$UTIL_DEFINE
  68. DEPEND[info.o]=buildinf.h
  69. DEPEND[cversion.o]=buildinf.h
  70. GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)"
  71. DEPEND[buildinf.h]=../configdata.pm
  72. GENERATE[uplink-x86.s]=../ms/uplink-x86.pl
  73. GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl
  74. GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl
  75. GENERATE[x86cpuid.s]=x86cpuid.pl
  76. DEPEND[x86cpuid.s]=perlasm/x86asm.pl
  77. GENERATE[x86_64cpuid.s]=x86_64cpuid.pl
  78. GENERATE[ia64cpuid.s]=ia64cpuid.S
  79. GENERATE[ppccpuid.s]=ppccpuid.pl
  80. GENERATE[pariscid.s]=pariscid.pl
  81. GENERATE[alphacpuid.s]=alphacpuid.pl
  82. GENERATE[arm64cpuid.S]=arm64cpuid.pl
  83. INCLUDE[arm64cpuid.o]=.
  84. GENERATE[armv4cpuid.S]=armv4cpuid.pl
  85. INCLUDE[armv4cpuid.o]=.
  86. GENERATE[s390xcpuid.S]=s390xcpuid.pl
  87. INCLUDE[s390xcpuid.o]=.
  88. IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
  89. SHARED_SOURCE[../libcrypto]=dllmain.c
  90. ENDIF