mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-14 07:35:11 -05:00
* deleted old version wolfSSL before updating * updated wolfSSL to the latest version(v4.4.0) * updated wolfSSL to the latest version(v4.4.0) * added macros for timing resistance Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com> Co-authored-by: Ming Yue <mingyue86010@gmail.com>
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# Makefile
|
|
#
|
|
# Copyright (C) 2006-2020 wolfSSL Inc.
|
|
#
|
|
# This file is part of wolfSSL.
|
|
#
|
|
# wolfSSL is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# wolfSSL is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
#/
|
|
|
|
.PHONY : all clean clean-test clean-build clean-pyc install test check upload
|
|
|
|
# builds the module
|
|
all :
|
|
python ./setup.py build
|
|
|
|
#builds and installs the module
|
|
install : all
|
|
python ./setup.py install
|
|
|
|
## removes all build, test, coverage and Python artifacts
|
|
clean : clean-test clean-build clean-pyc
|
|
|
|
## removes test and coverage artifacts
|
|
clean-test :
|
|
rm -rf .coverage .tox/ htmlcov/
|
|
|
|
## removes build artifacts
|
|
clean-build :
|
|
rm -rf build/ dist/ .eggs/
|
|
find . -name '*.egg-info' -exec rm -rf {} +
|
|
find . -name '*.egg' -exec rm -v {} +
|
|
|
|
## removes Python file artifacts
|
|
clean-pyc :
|
|
find src test -name '__pycache__' -exec rm -rf {} +
|
|
find src test -name '*.pyc' -exec rm -f {} +
|
|
find src test -name '*.pyo' -exec rm -f {} +
|
|
|
|
# runs unit tests
|
|
check : test
|
|
|
|
test : clean-pyc
|
|
tox
|
|
|
|
# publishes module at pypi
|
|
upload : test
|
|
python ./setup.py sdist upload
|