summaryrefslogtreecommitdiff
path: root/openssl/makefile.mk
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2010-06-16 16:20:29 +0200
committerJoachim Lingner <jl@openoffice.org>2010-06-16 16:20:29 +0200
commit210b5923e9fc9114996037aa628829e5fabc5602 (patch)
tree52275251959e23e62f1baf5a37e8d5cc9e61bf9b /openssl/makefile.mk
parent3b5bd23c4eceeffc4ddd04ff6209697a7a9f01a3 (diff)
parent8027e13d54cb3a3ee748f140ceb59492af2825e9 (diff)
jl153 merge with DEV300_m82
Diffstat (limited to 'openssl/makefile.mk')
-rw-r--r--openssl/makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index a6f040ed3983..6fabd1ce6f03 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -62,15 +62,25 @@ OUT2LIB = libssl.*
OUT2LIB += libcrypto.*
OUT2INC += include/openssl/*
+UNAME=$(shell uname)
+
.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
PATCH_FILES=openssllnx.patch
ADDITIONAL_FILES:= \
libcrypto_OOo_0_9_8o.map \
libssl_OOo_0_9_8o.map
.IF "$(CPU)" == "I"
- CONFIGURE_ACTION=Configure linux-elf
+ .IF "$(UNAME)" == "GNU/kFreeBSD"
+ CONFIGURE_ACTION=Configure debian-kfreebsd-i386
+ .ELSE
+ CONFIGURE_ACTION=Configure linux-elf
+ .ENDIF
.ELIF "$(BUILD64)" == "1"
- CONFIGURE_ACTION=Configure linux-generic64
+ .IF "$(UNAME)" == "GNU/kFreeBSD"
+ CONFIGURE_ACTION=Configure debian-kfreebsd-amd64
+ .ELSE
+ CONFIGURE_ACTION=Configure linux-generic64
+ .ENDIF
.ELSE
CONFIGURE_ACTION=Configure linux-generic32
.ENDIF