Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
0214893e
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0214893e
编写于
2月 21, 2003
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
clean up MinGW build. MinGW make now supports the Windows path name
conventions.
上级
5be4a42e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
19 addition
and
97 deletion
+19
-97
ms/mingw32.bat
ms/mingw32.bat
+2
-7
util/pl/Mingw32.pl
util/pl/Mingw32.pl
+17
-17
util/pl/Mingw32f.pl
util/pl/Mingw32f.pl
+0
-73
未找到文件。
ms/mingw32.bat
浏览文件 @
0214893e
...
...
@@ -66,21 +66,16 @@ cd ..\..\..
echo
Generating
makefile
perl
util
\mkfiles.pl
>
MINFO
perl
util
\mk1mf.pl
gaswin
Mingw32
>
ms
\mingw32a.mak
perl
util
\mk1mf.pl
gaswin
Mingw32
-files
>
ms
\mingw32f.mak
echo
Generating
DLL
definition
files
perl
util
\mkdef.pl
32
libeay
>
ms
\libeay32.def
if
errorlevel
1
goto
end
perl
util
\mkdef.pl
32
ssleay
>
ms
\ssleay32.def
if
errorlevel
1
goto
end
rem Create files -- this can be skipped if using the GNU file utilities
make
-f
ms
/mingw
32
f
.mak
echo
You
can
ignore
the
error
messages
above
copy
ms
\tlhelp32.h
outinc
rem copy ms\tlhelp32.h outinc
echo
Building
the
libraries
make
-f
ms
/mingw
32
a
.mak
m
ingw32
-m
ake -f
ms
/mingw
32
a
.mak
if
errorlevel
1
goto
end
echo
Generating
the
DLLs
and
input
libraries
...
...
util/pl/Mingw32.pl
浏览文件 @
0214893e
#!/usr/local/bin/perl
#
# Mingw32.pl -- Mingw
32 with GNU cp (Mingw32f.pl uses DOS tools)
# Mingw32.pl -- Mingw
#
$o
=
'
/
';
$cp
=
'
cp
';
$rm
=
'
r
em
';
# use 'rm -f' if using GNU file utilities
$rm
=
'
r
m -f
';
$mkdir
=
'
gmkdir
';
# gcc wouldn't accept backslashes in paths
#$o='\\
';
#$cp='copy
';
#$rm='del
';
$o
=
'
\\
';
$cp
=
'
copy
';
$rm
=
'
del
';
$mkdir
=
'
mkdir
';
# C compiler stuff
...
...
@@ -19,29 +19,29 @@ $cc='gcc';
if
(
$debug
)
{
$cflags
=
"
-DL_ENDIAN -DDSO_WIN32 -g2 -ggdb
";
}
else
{
$cflags
=
"
-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -m486 -Wall
";
}
{
$cflags
=
"
-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -m
cpu=i
486 -Wall
";
}
if
(
$gaswin
and
!
$no_asm
)
{
$bn_asm_obj
=
'
$(OBJ_D)
/
bn-win32.o
';
$bn_asm_obj
=
'
$(OBJ_D)
\
bn-win32.o
';
$bn_asm_src
=
'
crypto/bn/asm/bn-win32.s
';
$bnco_asm_obj
=
'
$(OBJ_D)
/
co-win32.o
';
$bnco_asm_obj
=
'
$(OBJ_D)
\
co-win32.o
';
$bnco_asm_src
=
'
crypto/bn/asm/co-win32.s
';
$des_enc_obj
=
'
$(OBJ_D)
/d-win32.o $(OBJ_D)/
y-win32.o
';
$des_enc_obj
=
'
$(OBJ_D)
\d-win32.o $(OBJ_D)\
y-win32.o
';
$des_enc_src
=
'
crypto/des/asm/d-win32.s crypto/des/asm/y-win32.s
';
$bf_enc_obj
=
'
$(OBJ_D)
/
b-win32.o
';
$bf_enc_obj
=
'
$(OBJ_D)
\
b-win32.o
';
$bf_enc_src
=
'
crypto/bf/asm/b-win32.s
';
# $cast_enc_obj='$(OBJ_D)
/
c-win32.o';
# $cast_enc_obj='$(OBJ_D)
\
c-win32.o';
# $cast_enc_src='crypto/cast/asm/c-win32.s';
$rc4_enc_obj
=
'
$(OBJ_D)
/
r4-win32.o
';
$rc4_enc_obj
=
'
$(OBJ_D)
\
r4-win32.o
';
$rc4_enc_src
=
'
crypto/rc4/asm/r4-win32.s
';
$rc5_enc_obj
=
'
$(OBJ_D)
/
r5-win32.o
';
$rc5_enc_obj
=
'
$(OBJ_D)
\
r5-win32.o
';
$rc5_enc_src
=
'
crypto/rc5/asm/r5-win32.s
';
$md5_asm_obj
=
'
$(OBJ_D)
/
m5-win32.o
';
$md5_asm_obj
=
'
$(OBJ_D)
\
m5-win32.o
';
$md5_asm_src
=
'
crypto/md5/asm/m5-win32.s
';
$rmd160_asm_obj
=
'
$(OBJ_D)
/
rm-win32.o
';
$rmd160_asm_obj
=
'
$(OBJ_D)
\
rm-win32.o
';
$rmd160_asm_src
=
'
crypto/ripemd/asm/rm-win32.s
';
$sha1_asm_obj
=
'
$(OBJ_D)
/
s1-win32.o
';
$sha1_asm_obj
=
'
$(OBJ_D)
\
s1-win32.o
';
$sha1_asm_src
=
'
crypto/sha/asm/s1-win32.s
';
$cflags
.=
"
-DBN_ASM -DMD5_ASM -DSHA1_ASM
";
}
...
...
util/pl/Mingw32f.pl
已删除
100644 → 0
浏览文件 @
5be4a42e
#!/usr/local/bin/perl
#
# Mingw32f.pl -- copy files; Mingw32.pl is needed to do the compiling.
#
$o
=
'
\\
';
$cp
=
'
copy
';
$rm
=
'
del
';
# C compiler stuff
$cc
=
'
gcc
';
if
(
$debug
)
{
$cflags
=
"
-g2 -ggdb -DDSO_WIN32
";
}
else
{
$cflags
=
"
-O3 -fomit-frame-pointer -DDSO_WIN32
";
}
$obj
=
'
.o
';
$ofile
=
'
-o
';
# EXE linking stuff
$link
=
'
${CC}
';
$lflags
=
'
${CFLAGS}
';
$efile
=
'
-o
';
$exep
=
'';
$ex_libs
=
"
-lwsock32 -lgdi32
";
# static library stuff
$mklib
=
'
ar r
';
$mlflags
=
'';
$ranlib
=
'
ranlib
';
$plib
=
'
lib
';
$libp
=
"
.a
";
$shlibp
=
"
.a
";
$lfile
=
'';
$asm
=
'
as
';
$afile
=
'
-o
';
$bn_asm_obj
=
"";
$bn_asm_src
=
"";
$des_enc_obj
=
"";
$des_enc_src
=
"";
$bf_enc_obj
=
"";
$bf_enc_src
=
"";
sub
do_lib_rule
{
local
(
$obj
,
$target
,
$name
,
$shlib
)
=
@_
;
local
(
$ret
,
$_
,
$Name
);
$target
=~
s/\//$o/g
if
$o
ne
'
/
';
$target
=
"
$target
";
(
$Name
=
$name
)
=~
tr/a-z/A-Z/
;
$ret
.=
"
$target
:
\$
(
${Name}
OBJ)
\n
";
$ret
.=
"
\t\$
(RM)
$target
\n
";
$ret
.=
"
\t\$
(MKLIB)
$target
\$
(
${Name}
OBJ)
\n
";
$ret
.=
"
\t\$
(RANLIB)
$target
\n\n
";
}
sub
do_link_rule
{
local
(
$target
,
$files
,
$dep_libs
,
$libs
)
=
@_
;
local
(
$ret
,
$_
);
$file
=~
s/\//$o/g
if
$o
ne
'
/
';
$n
=
&bname
(
$target
);
$ret
.=
"
$target
:
$files
$dep_libs
\n
";
$ret
.=
"
\t\$
(LINK)
${efile}$target
\$
(LFLAGS)
$files
$libs
\n\n
";
return
(
$ret
);
}
1
;
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录