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