提交 67e0735f 编写于 作者: D Dr. David von Oheimb 提交者: Dr. David von Oheimb

Makefile: Add SRCS list of all .c (and any .cc and .cpp) files

Reviewed-by: NPaul Dale <pauli@openssl.org>
Reviewed-by: NTomas Mraz <tomas@openssl.org>
Reviewed-by: NDavid von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/15913)
上级 8d703a04
......@@ -1306,6 +1306,14 @@ errors:
}
"";
-}
SRCS={-
sub uniq { my %seen; grep !$seen{$_}++, @_; }
sub flat(@) { return map { ref eq 'ARRAY' ? @$_ : $_ } @_; }
join(" \\\n" . ' ' x 5, fill_lines(" ", $COLUMNS - 5,
uniq(grep /\.(c|cc|cpp)$/,
flat (map { $unified_info{sources}->{$_} }
(sort keys %{$unified_info{sources}})))))
-}
CRYPTOHEADERS={- join(" \\\n" . ' ' x 14,
fill_lines(" ", $COLUMNS - 14, sort keys %cryptoheaders)) -}
SSLHEADERS={- join(" \\\n" . ' ' x 11,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册