xref: /openssl/Configurations/50-haiku.conf (revision ae2e4d1f)
1my %targets = (
2    "haiku-common" => {
3        template         => 1,
4        CC               => "cc",
5        CFLAGS           => add_before(picker(default => "-Wall",
6                                              debug   => "-g -O0",
7                                              release => "-O2")),
8        cflags           => add_before("-DL_ENDIAN -include \$(SRCDIR)/os-dep/haiku.h",
9                                       threads("-D_REENTRANT")),
10        AR              => "ar",
11        ARFLAGS         => "qc",
12        HASHBANGPERL    => "/bin/env perl",
13        sys_id           => "HAIKU",
14        ex_libs          => "-lnetwork",
15        perlasm_scheme   => "elf",
16        thread_scheme    => "pthreads",
17        dso_scheme       => "dlfcn",
18        shared_target    => "gnu-shared",
19        shared_cflag     => "-fPIC",
20        shared_ldflag    => "-shared",
21        perl_platform    => 'Unix',
22    },
23    "haiku-x86" => {
24        inherit_from     => [ "haiku-common" ],
25        CFLAGS           => add(picker(release => "-fomit-frame-pointer")),
26        bn_ops           => "BN_LLONG",
27        asm_arch         => 'x86',
28        perlasm_scheme   => 'elf',
29    },
30    "haiku-x86_64" => {
31        inherit_from     => [ "haiku-common" ],
32        cflags           => add("-m64"),
33        bn_ops           => "SIXTY_FOUR_BIT_LONG",
34    },
35);
36