Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
b4a26283
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b4a26283
编写于
4月 10, 2002
作者:
L
Lutz Jänicke
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Keep my own specially optimized HP-UX shared library building up to date.
上级
6d498d47
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
29 deletion
+12
-29
shlib/Makefile.hpux10-cc
shlib/Makefile.hpux10-cc
+5
-22
shlib/hpux10-cc.sh
shlib/hpux10-cc.sh
+7
-7
未找到文件。
shlib/Makefile.hpux10-cc
浏览文件 @
b4a26283
# Makefile.hpux-cc
major
=
1
major
=
0.9.8
slib
=
libssl
sh_slib
=
$(slib)
.s
o
.
$(major)
sh_slib
=
$(slib)
.s
l
.
$(major)
clib
=
libcrypto
sh_clib
=
$(clib)
.s
o
.
$(major)
sh_clib
=
$(clib)
.s
l
.
$(major)
all
:
$(clib).sl $(slib).sl
...
...
@@ -20,31 +20,14 @@ $(slib)_pic.a : $(slib).a
cp
-p
$?
$@
$(sh_clib)
:
$(clib)_pic.a
echo
"collecting all object files for
$@
"
find
.
-name
\*
.o
-print
>
allobjs
for
obj
in
`
ar t
$(clib)
_pic.a
`
;
\
do
\
grep
/
$$
obj allobjs
;
\
done
>
objlist
echo
"linking
$@
"
ld
-b
-s
-z
+h
$@
-o
$@
`
cat
objlist
`
-lc
rm
allobjs objlist
ld
-b
-s
-z
+h
$@
-o
$@
-Fl
$(clib)
_pic.a
-ldld
-lc
$(clib).sl
:
$(sh_clib)
rm
-f
$@
ln
-s
$?
$@
$(sh_slib)
:
$(slib)_pic.a $(clib).sl
echo
"collecting all object files for
$@
"
find
.
-name
\*
.o
-print
>
allobjs
for
obj
in
`
ar t
$(slib)
_pic.a
`
;
\
do
\
grep
/
$$
obj allobjs
;
\
done
>
objlist
echo
"linking
$@
"
ld
-b
-s
-z
+h
$@
+b /usr/local/ssl/lib:/usr/lib
-o
$@
`
cat
objlist
`
\
-L
.
-lcrypto
-lc
rm
-f
allobjs objlist
ld
-b
-s
-z
+h
$@
-o
$@
-Fl
$(slib)
_pic.a
-ldld
-lc
$(slib).sl
:
$(sh_slib)
rm
-f
$@
...
...
shlib/hpux10-cc.sh
浏览文件 @
b4a26283
...
...
@@ -42,7 +42,7 @@ SITEFLAGS="+DAportable +w1"
MYFLAGS
=
"-D_REENTRANT +Oall
$SITEFLAGS
"
# Configure for pic and build the static pic libraries
perl5 Configure
hpux-parisc-cc-o4 +z
${
MYFLAGS
}
perl5 Configure
no-shared hpux-parisc-cc-o4 +Z
${
MYFLAGS
}
make clean
make
DIRS
=
"crypto ssl"
# Rename the static pic libs and build dynamic libraries from them
...
...
@@ -60,21 +60,21 @@ mkdir /usr/local
mkdir
/usr/local/ssl
mkdir
/usr/local/ssl/lib
chmod
444 lib
*
_pic.a
chmod
555 lib
*
.s
o.1
cp
-p
lib
*
_pic.a lib
*
.s
o.1
/usr/local/ssl/lib
(
cd
/usr/local/ssl/lib
;
ln
-sf
libcrypto.s
o.1 libcrypto.sl
;
ln
-sf
libssl.so.1
libssl.sl
)
chmod
555 lib
*
.s
l.0.9.8
cp
-p
lib
*
_pic.a lib
*
.s
l.0.9.8
/usr/local/ssl/lib
(
cd
/usr/local/ssl/lib
;
ln
-sf
libcrypto.s
l.0.9.8 libcrypto.sl
;
ln
-sf
libssl.sl.0.9.8
libssl.sl
)
# Reconfigure without pic to compile the executables. Unfortunately, while
# performing this task we have to recompile the library components, even
# though we use the already installed shared libs anyway.
#
perl5 Configure hpux-parisc-cc-o4
${
MYFLAGS
}
perl5 Configure
no-shared
hpux-parisc-cc-o4
${
MYFLAGS
}
make clean
# Hack the Makefiles to pick up the dynamic libraries during linking
#
sed
's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib
-Wl,+b,\/usr\/local\/ssl\/lib:\/usr\/lib
/'
Makefile.ssl
>
xxx
;
mv
xxx Makefile.ssl
sed
's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib/'
Makefile.ssl
>
xxx
;
mv
xxx Makefile.ssl
sed
's/-L\.\.//'
apps/Makefile.ssl
>
xxx
;
mv
xxx apps/Makefile.ssl
sed
's/-L\.\.//'
test
/Makefile.ssl
>
xxx
;
mv
xxx
test
/Makefile.ssl
# Build the static libs and the executables in one make.
...
...
@@ -85,7 +85,7 @@ make install
# Finally build the static libs with +O3. This time we only need the libraries,
# once created, they are simply copied into place.
#
perl5 Configure hpux-parisc-cc
${
MYFLAGS
}
perl5 Configure
no-shared
hpux-parisc-cc
${
MYFLAGS
}
make clean
make
DIRS
=
"crypto ssl"
chmod
644 libcrypto.a libssl.a
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录