summaryrefslogtreecommitdiff
path: root/openssl/makefile.mk
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-09 08:34:10 +0200
committerobo <obo@openoffice.org>2010-06-09 08:34:10 +0200
commit02cd0bab77729f1db386b2fdbe92665803e7daf8 (patch)
tree4e9486b89c0819cb9e842523a5883a794597581f /openssl/makefile.mk
parentc8e36459cc68f933a79cebe2d72d089a6819ea55 (diff)
parent29bb7ff079c47aaf3420de3dd1adc841282f2d31 (diff)
CWS-TOOLING: integrate CWS kfreebsdport01v2
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 bfbff09..0816807 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_8l.map \
libssl_OOo_0_9_8l.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