aboutsummaryrefslogtreecommitdiff
path: root/crypto/Makefile.am
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2014-12-08 11:08:45 +0900
committerBrent Cook <busterb@gmail.com>2015-01-06 17:47:16 -0600
commit0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac (patch)
tree778a1d147f6719016103fa04aa36bbf53526a804 /crypto/Makefile.am
parent4b7e78153c47ae08420558e7e6d8b0bc2591039c (diff)
downloadportable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.tar.gz
portable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.tar.bz2
portable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.zip
Add support for HP-UX
tested on: HP-UX 11.31 ia64, gcc 4.7.1(HP AllianceOne version) gcc 4.2.3(http://hpux.connect.org.uk) HP C/aC++ HP-UX defaults to use LP32 and it treats long as 32 bit (= 4 bytes). This build forces LP64 for treating long as 64 bit.
Diffstat (limited to 'crypto/Makefile.am')
-rw-r--r--crypto/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index e5a4d4d..9f5311a 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -86,6 +86,9 @@ endif
86if HOST_WIN 86if HOST_WIN
87libcompat_la_SOURCES += compat/getentropy_win.c 87libcompat_la_SOURCES += compat/getentropy_win.c
88endif 88endif
89if HOST_HPUX
90libcompat_la_SOURCES += compat/getentropy_hpux.c
91endif
89endif 92endif
90 93
91endif 94endif
@@ -97,6 +100,9 @@ endif
97if HOST_WIN 100if HOST_WIN
98libcompat_la_SOURCES += compat/issetugid_win.c 101libcompat_la_SOURCES += compat/issetugid_win.c
99endif 102endif
103if HOST_HPUX
104libcompat_la_SOURCES += compat/issetugid_hpux.c
105endif
100endif 106endif
101 107
102noinst_HEADERS = 108noinst_HEADERS =
@@ -106,6 +112,7 @@ noinst_HEADERS += compat/arc4random_linux.h
106noinst_HEADERS += compat/arc4random_osx.h 112noinst_HEADERS += compat/arc4random_osx.h
107noinst_HEADERS += compat/arc4random_solaris.h 113noinst_HEADERS += compat/arc4random_solaris.h
108noinst_HEADERS += compat/arc4random_win.h 114noinst_HEADERS += compat/arc4random_win.h
115noinst_HEADERS += compat/arc4random_hpux.h
109noinst_HEADERS += compat/chacha_private.h 116noinst_HEADERS += compat/chacha_private.h
110 117
111libcrypto_la_SOURCES = 118libcrypto_la_SOURCES =