1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Rename include directory to mbedtls

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-09 17:05:11 +00:00
parent 129db08c90
commit 7f8099773e
250 changed files with 908 additions and 908 deletions

View File

@@ -17,7 +17,7 @@ if [ -d library -a -d include -a -d tests ]; then :; else
exit 1
fi
CONFIG_H='include/polarssl/config.h'
CONFIG_H='include/mbedtls/config.h'
CONFIG_BAK="$CONFIG_H.bak"
MEMORY=0
@@ -42,7 +42,7 @@ cleanup()
make clean
find . -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
rm -f include/Makefile include/polarssl/Makefile programs/*/Makefile
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile

View File

@@ -12,7 +12,7 @@ use strict;
-d 'library' && -d 'include' && -d 'tests' or die "Must be run from root\n";
my $sed_cmd = 's/^#define \(POLARSSL_ECP_DP.*_ENABLED\)/\1/p';
my $config_h = 'include/polarssl/config.h';
my $config_h = 'include/mbedtls/config.h';
my @curves = split( /\s+/, `sed -n -e '$sed_cmd' $config_h` );
my $test = system( "grep -i cmake Makefile >/dev/null" ) ? 'check' : 'test';

View File

@@ -60,7 +60,7 @@ $/ = $line_separator;
open(TEST_FILE, ">$test_file") or die "Opening destination file '$test_file': $!";
print TEST_FILE << "END";
#if !defined(POLARSSL_CONFIG_FILE)
#include <polarssl/config.h>
#include <mbedtls/config.h>
#else
#include POLARSSL_CONFIG_FILE
#endif

View File

@@ -42,7 +42,7 @@ if ($#ARGV >= 0) {
my $test = system( "grep -i cmake Makefile >/dev/null" ) ? 'check' : 'test';
my $config_h = 'include/polarssl/config.h';
my $config_h = 'include/mbedtls/config.h';
system( "cp $config_h $config_h.bak" ) and die;
sub abort {