1## -*- mode: perl; -*- 2## Build configuration targets for openssl-team members 3 4my %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 => combine(join(' ', @gcc_devteam_warn), 16 "-DOPENSSL_NO_ASM -ggdb -g2" 17 . " -DBN_DEBUG -DBN_RAND_DEBUG" 18 ), 19 thread_scheme => "(unknown)", 20 }, 21 "debug-erbridge" => { 22 inherit_from => [ 'BASE_unix', "x86_64_asm" ], 23 cc => "gcc", 24 cflags => combine(join(' ', @gcc_devteam_warn), 25 "-m64 -DL_ENDIAN -DTERMIO -g", 26 threads("-D_REENTRANT")), 27 ex_libs => add(" ","-ldl"), 28 bn_ops => "SIXTY_FOUR_BIT_LONG", 29 thread_scheme => "pthreads", 30 asm_arch => 'x86_64', 31 perlasm_scheme => "elf", 32 dso_scheme => "dlfcn", 33 shared_target => "linux-shared", 34 shared_cflag => "-fPIC", 35 shared_ldflag => "-m64", 36 multilib => "64", 37 }, 38 "debug-linux-pentium" => { 39 inherit_from => [ 'BASE_unix', "x86_elf_asm" ], 40 cc => "gcc", 41 cflags => combine("-DL_ENDIAN -g -mcpu=pentium -Wall", 42 threads("-D_REENTRANT")), 43 ex_libs => add(" ","-ldl"), 44 bn_ops => "BN_LLONG", 45 asm_arch => 'x86', 46 perlasm_scheme => 'elf', 47 thread_scheme => "pthreads", 48 dso_scheme => "dlfcn", 49 }, 50 "debug-linux-ppro" => { 51 inherit_from => [ 'BASE_unix', "x86_elf_asm" ], 52 cc => "gcc", 53 cflags => combine("-DL_ENDIAN -g -mcpu=pentiumpro -Wall", 54 threads("-D_REENTRANT")), 55 ex_libs => add(" ","-ldl"), 56 bn_ops => "BN_LLONG", 57 asm_arch => 'x86', 58 perlasm_scheme => 'elf', 59 thread_scheme => "pthreads", 60 dso_scheme => "dlfcn", 61 }, 62 "debug-test-64-clang" => { 63 inherit_from => [ 'BASE_unix', "x86_64_asm" ], 64 cc => "clang", 65 cflags => combine(join(' ', @gcc_devteam_warn), 66 "-Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -g3 -O3 -pipe", 67 threads("${BSDthreads}")), 68 bn_ops => "SIXTY_FOUR_BIT_LONG", 69 thread_scheme => "pthreads", 70 asm_arch => 'x86_64', 71 perlasm_scheme => "elf", 72 dso_scheme => "dlfcn", 73 shared_target => "bsd-gcc-shared", 74 shared_cflag => "-fPIC", 75 }, 76 "darwin64-debug-test-64-clang" => { 77 inherit_from => [ 'BASE_unix', "x86_64_asm" ], 78 cc => "clang", 79 cflags => combine("-arch x86_64 -DL_ENDIAN", 80 join(' ', @gcc_devteam_warn), 81 "-Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -g3 -O3 -pipe", 82 threads("${BSDthreads}")), 83 sys_id => "MACOSX", 84 bn_ops => "SIXTY_FOUR_BIT_LONG", 85 thread_scheme => "pthreads", 86 asm_arch => 'x86_64', 87 perlasm_scheme => "macosx", 88 dso_scheme => "dlfcn", 89 shared_target => "darwin-shared", 90 shared_cflag => "-fPIC -fno-common", 91 shared_ldflag => "-arch x86_64 -dynamiclib", 92 shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib", 93 }, 94); 95