]>
Commit | Line | Data |
---|---|---|
3b6c4b07 | 1 | my %targets = ( |
6c4be50a AP |
2 | "haiku-common" => { |
3 | template => 1, | |
abe256e7 RL |
4 | CC => "cc", |
5 | CFLAGS => add_before(picker(default => "-Wall", | |
6c4be50a | 6 | debug => "-g -O0", |
abe256e7 RL |
7 | release => "-O2")), |
8 | cflags => add_before("-DL_ENDIAN -include \$(SRCDIR)/os-dep/haiku.h", | |
6c4be50a | 9 | threads("-D_REENTRANT")), |
ae2e4d1f DC |
10 | AR => "ar", |
11 | ARFLAGS => "qc", | |
12 | HASHBANGPERL => "/bin/env perl", | |
6c4be50a AP |
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", | |
9dd4ed28 | 21 | perl_platform => 'Unix', |
6c4be50a AP |
22 | }, |
23 | "haiku-x86" => { | |
30478c97 | 24 | inherit_from => [ "haiku-common" ], |
abe256e7 | 25 | CFLAGS => add(picker(release => "-fomit-frame-pointer")), |
6c4be50a | 26 | bn_ops => "BN_LLONG", |
e6f98ae4 RL |
27 | asm_arch => 'x86', |
28 | perlasm_scheme => 'elf', | |
6c4be50a AP |
29 | }, |
30 | "haiku-x86_64" => { | |
31 | inherit_from => [ "haiku-common" ], | |
32 | cflags => add("-m64"), | |
33 | bn_ops => "SIXTY_FOUR_BIT_LONG", | |
34 | }, | |
35 | ); |