diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2014-12-08 11:08:45 +0900 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2015-01-06 17:47:16 -0600 |
commit | 0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac (patch) | |
tree | 778a1d147f6719016103fa04aa36bbf53526a804 /crypto/Makefile.am | |
parent | 4b7e78153c47ae08420558e7e6d8b0bc2591039c (diff) | |
download | portable-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.am | 7 |
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 | |||
86 | if HOST_WIN | 86 | if HOST_WIN |
87 | libcompat_la_SOURCES += compat/getentropy_win.c | 87 | libcompat_la_SOURCES += compat/getentropy_win.c |
88 | endif | 88 | endif |
89 | if HOST_HPUX | ||
90 | libcompat_la_SOURCES += compat/getentropy_hpux.c | ||
91 | endif | ||
89 | endif | 92 | endif |
90 | 93 | ||
91 | endif | 94 | endif |
@@ -97,6 +100,9 @@ endif | |||
97 | if HOST_WIN | 100 | if HOST_WIN |
98 | libcompat_la_SOURCES += compat/issetugid_win.c | 101 | libcompat_la_SOURCES += compat/issetugid_win.c |
99 | endif | 102 | endif |
103 | if HOST_HPUX | ||
104 | libcompat_la_SOURCES += compat/issetugid_hpux.c | ||
105 | endif | ||
100 | endif | 106 | endif |
101 | 107 | ||
102 | noinst_HEADERS = | 108 | noinst_HEADERS = |
@@ -106,6 +112,7 @@ noinst_HEADERS += compat/arc4random_linux.h | |||
106 | noinst_HEADERS += compat/arc4random_osx.h | 112 | noinst_HEADERS += compat/arc4random_osx.h |
107 | noinst_HEADERS += compat/arc4random_solaris.h | 113 | noinst_HEADERS += compat/arc4random_solaris.h |
108 | noinst_HEADERS += compat/arc4random_win.h | 114 | noinst_HEADERS += compat/arc4random_win.h |
115 | noinst_HEADERS += compat/arc4random_hpux.h | ||
109 | noinst_HEADERS += compat/chacha_private.h | 116 | noinst_HEADERS += compat/chacha_private.h |
110 | 117 | ||
111 | libcrypto_la_SOURCES = | 118 | libcrypto_la_SOURCES = |