90-team.conf 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. ## -*- mode: perl; -*-
  2. ## Build configuration targets for openssl-team members
  3. my %targets = (
  4. "purify" => {
  5. inherit_from => [ 'BASE_unix' ],
  6. cc => "purify gcc",
  7. CFLAGS => "-g -Wall",
  8. thread_scheme => "(unknown)",
  9. ex_libs => add(" ","-lsocket -lnsl"),
  10. },
  11. "debug" => {
  12. inherit_from => [ 'BASE_unix' ],
  13. cc => "gcc",
  14. cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
  15. thread_scheme => "(unknown)",
  16. },
  17. "debug-erbridge" => {
  18. inherit_from => [ 'BASE_unix', "x86_64_asm" ],
  19. cc => "gcc",
  20. cflags => combine("$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g",
  21. threads("-D_REENTRANT")),
  22. ex_libs => add(" ","-ldl"),
  23. bn_ops => "SIXTY_FOUR_BIT_LONG",
  24. thread_scheme => "pthreads",
  25. perlasm_scheme => "elf",
  26. dso_scheme => "dlfcn",
  27. shared_target => "linux-shared",
  28. shared_cflag => "-fPIC",
  29. shared_ldflag => "-m64",
  30. shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
  31. multilib => "64",
  32. },
  33. "debug-linux-pentium" => {
  34. inherit_from => [ 'BASE_unix', "x86_elf_asm" ],
  35. cc => "gcc",
  36. cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
  37. threads("-D_REENTRANT")),
  38. ex_libs => add(" ","-ldl"),
  39. bn_ops => "BN_LLONG",
  40. thread_scheme => "pthreads",
  41. dso_scheme => "dlfcn",
  42. },
  43. "debug-linux-ppro" => {
  44. inherit_from => [ 'BASE_unix', "x86_elf_asm" ],
  45. cc => "gcc",
  46. cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
  47. threads("-D_REENTRANT")),
  48. ex_libs => add(" ","-ldl"),
  49. bn_ops => "BN_LLONG",
  50. thread_scheme => "pthreads",
  51. dso_scheme => "dlfcn",
  52. },
  53. "debug-linux-ia32-aes" => {
  54. inherit_from => [ 'BASE_unix' ],
  55. cc => "gcc",
  56. cflags => combine("-DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
  57. threads("-D_REENTRANT")),
  58. ex_libs => add(" ","-ldl"),
  59. bn_ops => "BN_LLONG",
  60. cpuid_asm_src => "x86cpuid.s",
  61. bn_asm_src => "bn-586.s co-586.s x86-mont.s",
  62. des_asm_src => "des-586.s crypt586.s",
  63. aes_asm_src => "aes_x86core.s aes_cbc.s aesni-x86.s",
  64. bf_asm_src => "bf-586.s",
  65. md5_asm_src => "md5-586.s",
  66. sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
  67. cast_asm_src => "cast-586.s",
  68. rc4_asm_src => "rc4-586.s",
  69. rmd160_asm_src => "rmd-586.s",
  70. rc5_asm_src => "rc5-586.s",
  71. wp_asm_src => "wp_block.s wp-mmx.s",
  72. modes_asm_src => "ghash-x86.s",
  73. padlock_asm_src => "e_padlock-x86.s",
  74. thread_scheme => "pthreads",
  75. perlasm_scheme => "elf",
  76. dso_scheme => "dlfcn",
  77. shared_target => "linux-shared",
  78. shared_cflag => "-fPIC",
  79. shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
  80. },
  81. "dist" => {
  82. inherit_from => [ 'BASE_unix' ],
  83. CC => "cc",
  84. CFLAGS => "-O",
  85. thread_scheme => "(unknown)",
  86. },
  87. "debug-test-64-clang" => {
  88. inherit_from => [ 'BASE_unix', "x86_64_asm" ],
  89. cc => "clang",
  90. cflags => combine("$gcc_devteam_warn -Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
  91. threads("${BSDthreads}")),
  92. bn_ops => "SIXTY_FOUR_BIT_LONG",
  93. thread_scheme => "pthreads",
  94. perlasm_scheme => "elf",
  95. dso_scheme => "dlfcn",
  96. shared_target => "bsd-gcc-shared",
  97. shared_cflag => "-fPIC",
  98. shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
  99. },
  100. "darwin64-debug-test-64-clang" => {
  101. inherit_from => [ 'BASE_unix', "x86_64_asm" ],
  102. cc => "clang",
  103. cflags => combine("-arch x86_64 -DL_ENDIAN $gcc_devteam_warn -Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
  104. threads("${BSDthreads}")),
  105. sys_id => "MACOSX",
  106. bn_ops => "SIXTY_FOUR_BIT_LONG",
  107. thread_scheme => "pthreads",
  108. perlasm_scheme => "macosx",
  109. dso_scheme => "dlfcn",
  110. shared_target => "darwin-shared",
  111. shared_cflag => "-fPIC -fno-common",
  112. shared_ldflag => "-arch x86_64 -dynamiclib",
  113. shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",
  114. },
  115. );