summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorJérôme Duval <jerome.duval@gmail.com>2016-02-23 22:49:01 +0100
committerRich Salz <rsalz@openssl.org>2016-04-14 13:49:42 -0400
commit6e08e9e7ccf00aba847351adc3b46b9dae1f114d (patch)
tree8bfd0b8a2187ca1683164229bd475047b8b4a99f /Configurations
parentf2ead992c945f13b59058fb3ce56c0227478ec30 (diff)
Add Haiku support.
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/10-main.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 5bf8a0df70..69087d9ac5 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1741,6 +1741,35 @@ sub vms_info {
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
ranlib => "$ENV{'RANLIB'}",
},
+ "haiku-common" => {
+ template => 1,
+ cc => "cc",
+ cflags => add_before(picker(default => "-DL_ENDIAN -Wall",
+ debug => "-g -O0",
+ release => "-O2"),
+ threads("-D_REENTRANT")),
+ sys_id => "HAIKU",
+ lflags => "-lnetwork",
+ perlasm_scheme => "elf",
+ thread_scheme => "pthreads",
+ dso_scheme => "dlfcn",
+ shared_target => "haiku-shared",
+ shared_cflag => "-fPIC",
+ shared_ldflag => "-shared",
+ shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ },
+ "haiku-x86" => {
+ inherit_from => [ "haiku-common", asm("x86_elf_asm") ],
+ cflags => add(picker(default => "",
+ release => "-fomit-frame-pointer")),
+ bn_ops => "BN_LLONG",
+ },
+ "haiku-x86_64" => {
+ inherit_from => [ "haiku-common", asm("x86_64_asm") ],
+ cflags => add("-m64"),
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
+ },
+
##### VMS
"vms-generic" => {