Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
12d7d32f
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
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看板
提交
12d7d32f
编写于
5月 07, 1999
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Get the Mingw32 makefiles right.
上级
5b640028
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
166 addition
and
84 deletion
+166
-84
INSTALL.W32
INSTALL.W32
+4
-4
util/mk1mf.pl
util/mk1mf.pl
+7
-1
util/pl/Mingw32.pl
util/pl/Mingw32.pl
+81
-79
util/pl/Mingw32f.pl
util/pl/Mingw32f.pl
+74
-0
未找到文件。
INSTALL.W32
浏览文件 @
12d7d32f
...
...
@@ -86,11 +86,11 @@
> perl util\mkfiles.pl >MINFO
> perl util\mk1mf.pl Mingw32 >ms\mingw32.mak
*
If you don't have the GNU file utilities (cp, rm, etc.) installed,
an additional step is requir
ed:
*
This step can be skipped if you have the GNU file utitilities (cp, rm, ...)
install
ed:
> perl util\mk1mf.pl
VC-WIN32 no-asm >ms\nt
.mak
> make -f ms/
nt
.mak
> perl util\mk1mf.pl
Mingw32-files >ms\mingw32f
.mak
> make -f ms/
mingw32f
.mak
This will end with an error message. If you don't like that, install
the file utilities. :)
...
...
util/mk1mf.pl
浏览文件 @
12d7d32f
...
...
@@ -19,6 +19,7 @@ $infile="MINFO";
"
VC-W31-32
",
"
Microsoft Visual C++ 1.52 - Windows 3.1 - 386+
",
"
VC-MSDOS
","
Microsoft Visual C++ 1.52 - MSDOS
",
"
Mingw32
",
"
GNU C++ - Windows NT or 9x
",
"
Mingw32-files
",
"
Create files with DOS copy ...
",
"
BC-NT
",
"
Borland C++ 4.5 - Windows NT
",
"
BC-W31
",
"
Borland C++ 4.5 - Windows 3.1 - PROBABLY NOT WORKING
",
"
BC-MSDOS
","
Borland C++ 4.5 - MSDOS
",
...
...
@@ -117,6 +118,7 @@ $out_def="out";
$inc_def
=
"
outinc
";
$tmp_def
=
"
tmp
";
$mkdir
=
"
mkdir
";
(
$ssl
,
$crypto
)
=
("
ssl
","
crypto
");
$RSAglue
=
"
RSAglue
";
...
...
@@ -158,6 +160,10 @@ elsif ($platform eq "Mingw32")
{
require
'
Mingw32.pl
';
}
elsif
(
$platform
eq
"
Mingw32-files
")
{
require
'
Mingw32f.pl
';
}
elsif
(
$platform
eq
"
BC-NT
")
{
$bc
=
1
;
...
...
@@ -317,7 +323,7 @@ INCO_D=$inc_dir${o}openssl
CP=$cp
RM=$rm
RANLIB=$ranlib
MKDIR=mkdir
MKDIR=
$
mkdir
MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags
ASM=$bin_dir$asm
...
...
util/pl/Mingw32.pl
浏览文件 @
12d7d32f
#!/usr/local/bin/perl
#
# unix.pl - the standard unix makefile stuff.
#
# Need the Cygwin32 file utilities
$o
=
'
/
';
$cp
=
'
cp
';
$rm
=
'
rm
';
# gcc wouldn't accept backslashes in paths
#$o='\\';
#$cp='copy';
#$rm='del';
# C compiler stuff
$cc
=
'
gcc
';
if
(
$debug
)
{
$cflags
=
"
-g2 -ggdb
";
}
else
{
$cflags
=
"
-O3 -fomit-frame-pointer
";
}
$dcflags
=
'
n
'
# Make can't handle -DCFLAGS definition
$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
;
#!/usr/local/bin/perl
#
# unix.pl - the standard unix makefile stuff.
#
# Need the Cygwin32 file utilities
$o
=
'
/
';
$cp
=
'
cp
';
$rm
=
'
rm
';
$mkdir
=
'
gmkdir
';
# gcc wouldn't accept backslashes in paths
#$o='\\';
#$cp='copy';
#$rm='del';
# C compiler stuff
$cc
=
'
gcc
';
if
(
$debug
)
{
$cflags
=
"
-g2 -ggdb
";
}
else
{
$cflags
=
"
-O3 -fomit-frame-pointer
";
}
$dcflags
=
'
n
';
# Make can't handle -DCFLAGS definition
$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
;
util/pl/Mingw32f.pl
0 → 100644
浏览文件 @
12d7d32f
#!/usr/local/bin/perl
#
# unix.pl - the standard unix makefile stuff.
#
$o
=
'
\\
';
$cp
=
'
copy
';
$rm
=
'
del
';
# C compiler stuff
$cc
=
'
gcc
';
if
(
$debug
)
{
$cflags
=
"
-g2 -ggdb
";
}
else
{
$cflags
=
"
-O3 -fomit-frame-pointer
";
}
$dcflags
=
'
n
';
# Make can't handle -DCFLAGS definition
$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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录