VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2022-02-13Linux/FreeBSD: Enable building without AESNI support by setting environment ↵Mounir IDRASSI1-7/+24
variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command This comes following Github issue #892 and which should be solved thanks to this.
2021-09-04Minor cleanup of the repo (#822)a13460541-3/+3
* *: source files should not be executable * *: make sure files have final newline * *: remove BOM from text files * translations: unify headers * *: fix typos * *: trim excess whitespace
2021-08-16Add compile-time toggleable support for application indicators, off by ↵Unit 1931-0/+9
default. (#815) This tries to figure out, via wx-config, if you're using GTK2 or GTK3 and uses the associated Ayatana library.
2021-08-15MacOSX: First native Apple M1 supportMounir IDRASSI1-2/+10
2021-08-07Added compatibility with GNU GCC 11 Toolchain (#811)Alex1-0/+9
This fixes compilation issues when using GNU GCC >=11 where parameter -std=gnu++17 is used by default. Resolves #802
2021-07-14Add support for OpenBSD (#779)kokokodak1-0/+21
* OpenBSD: add basic support modified: Build/Include/Makefile.inc modified: Driver/Fuse/FuseService.cpp modified: Main/FatalErrorHandler.cpp modified: Makefile modified: Platform/Unix/File.cpp modified: Platform/Unix/FilesystemPath.cpp modified: Platform/Unix/SystemInfo.cpp * OpenBSD: some necessary files were missing new file: Core/Unix/OpenBSD/CoreOpenBSD.cpp new file: Core/Unix/OpenBSD/CoreOpenBSD.h new file: Core/Unix/OpenBSD/System.h
2021-02-21Hebrew translation (#725)thewh1teagle1-2/+1
* Added Translations/Language.he.xml * translate * changes * changes * changes * changes * changes * changes * changes * fixed RTL points * changes * Removed hebrew string vowels * changes * Changed Makefile path * changes * changes * fixed strings with variables
2020-12-11src/Makefile: replace explicit calls to gcc with $(CC) (#706)Gokturk Yuksek1-3/+3
The Makefile should respect the value of CC even when performing build-related tests. Bug: https://bugs.gentoo.org/756787
2020-08-08MacOSX: Enable c++11 in compiler for non-legacy build.VeraCrypt_1.24-Update7Mounir IDRASSI1-0/+1
2019-12-20Fix the compilation against WxWidgets when NOGUI=1 (#570)Gokturk Yuksek1-1/+2
* Revert "Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)" The build failure still exists for system wxGTK compiled with '--disable-gui': ``` In file included from TextUserInterface.cpp:27: TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’: TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared 50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } ``` This reverts commit 737e1f126b8826ed02418266e590e195aebdd7c0. * Revert "Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets" The build failure still exists for system wxGTK compiled with '--disable-gui': ``` In file included from TextUserInterface.cpp:27: TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’: TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared 50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } ``` This reverts commit 14bee5e6a227701e78c5fec04064c0494f6361f0. * src/Main/Main.make: simplify the WX_CONFIG_LIBS logic Irrespective of whether we are linking against widgets statically or dynamically, pull in only 'base' when GUI is disabled, and 'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX flag must include '-DwxUSE_GUI=0' for this to work. * src/Makefile: pass '-DwxUSE_GUI=0' when NOGUI=1 veracrypt with NOGUI=1 fails to properly link against wxGTK compiled with '--disable-gui' only using the 'base' library because the wx's setup.h implicitly defines wxUSE_GUI=1, which then changes the definition of various structures, requiring symbols from the core library as well. For example, wxwidgets include/wx/app.h defines: #if wxUSE_GUI class WXDLLIMPEXP_CORE wxAppBase : public wxAppConsole ... [snip] ... #else // !GUI // wxApp is defined in core and we cannot define another one in wxBase, // so use the preprocessor to allow using wxApp in console programs too #define wxApp wxAppConsole #endif // GUI/!GUI To fix this, pass '-DwxUSE_GUI=0' when compiling veracrypt with NOGUI=1. Closes: https://github.com/veracrypt/VeraCrypt/issues/531
2019-12-11Linux: fix compilation error when building console-only version of VeraCrypt ↵Mounir IDRASSI1-1/+0
that is statically linked to wxWidgets
2019-12-09Linux: fix NOASM compilation (#563) (#568)alt3r 3go1-0/+1
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-10-15MacOSX: Enhanced Makefile and build script (#519)El Mostafa Idrassi1-6/+7
Added new variable 'VC_OSX_SDK' to differentiate between the OSX minimum target and the SDK to use for building.
2019-10-14MacOSX: Add build scripts and modifications to linking against wxWidgets ↵Mounir IDRASSI1-9/+33
3.1.2 for non legacy build targeting OSX 10.9+
2019-10-05Linux: Add option in Makefile to use GTK3 in VeraCrypt static buildMounir IDRASSI1-1/+7
2019-10-02Allow $(ARCH) to be defined during build (#471)Unit 1931-1/+1
This can be useful when crossbuilding or building in a chroot where using uname -m would cause the wrong compiler options.
2018-09-01Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that ↵Mounir IDRASSI1-0/+19
don't support SSE2 instructions.
2017-11-06Fix compilation on Linux (closes #198)bmintz1-2/+2
This patch was provided by Krytarik Raido via unit93 https://github.com/veracrypt/VeraCrypt/issues/198#issuecomment-341453420
2017-07-16RPI, armv7 targetkavsrf1-0/+3
2017-07-10Add support for building under FreeBSD 11Mounir IDRASSI1-0/+12
2017-06-27MacOSX: various changes for assembly files build. Don't use 32-bit assembly ↵Mounir IDRASSI1-3/+3
code of SHA-512 since it is not compatible with PIE configuration of OSX compiler (absolute addressing used)
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-06-23Linux/MacOSX: use yasm instead of nasm for compiling all assembly files.Mounir IDRASSI1-8/+7
2017-06-13Linux/MacOSX: Modify Makefile to separate between build and packaging. Add ↵Mounir IDRASSI1-0/+5
install target for local installation.
2017-06-13Linux: built VeraCrypt binary with support for Address Space Layout ↵Mounir IDRASSI1-4/+4
Randomization (ASLR).
2017-04-23FreeBSD 11 build and use compatibilityMounir IDRASSI1-0/+18
2016-12-26MacOSX: use Yasm to build Twofish 64-bit assembly code on OSX since native ↵Mounir IDRASSI1-0/+2
compiler doesn't support GAS syntax
2016-11-05Linux: Always use "uname -m" to determine processor type. This fixes ↵Mounir IDRASSI1-4/+1
Slackware build issue.
2016-10-17Linux/MacOSX: cleaner support for SSE compiler switchesMounir IDRASSI1-2/+20
2016-08-19Linux: don't use SSE/AES switched of gcc if the architecture is not x86 or ↵Mounir IDRASSI1-15/+17
x64 (for example ARM).
2016-08-17Linux: Add parameter to Makefile for enabling SSSE3 and SSE4.1 support in ↵Mounir IDRASSI1-0/+16
compiler
2016-08-08Linux: Enable gcc AES-NI built-in functions and adapt Hyper-V AES detection ↵Mounir IDRASSI1-0/+6
code to gcc.
2016-05-13Revert "Makefile: fix build under gcc6"Mounir IDRASSI1-1/+1
2016-05-13Makefile: fix build under gcc6Tomasz Przybył1-1/+1
Veracrypt for build under GCC6 required using compatibility flag `-std=c++98` against change default C++ frontend in GCC6. The C++ frontend now defaults to C++14 standard instead of C++98 it has been defaulting to previously, for compiling older C++ code that might require either explicitly compiling with selected older C++ standards, or might require some code adjustment, see http://gcc.gnu.org/gcc-6/porting_to.html for details. The experimental C++17 support has been enhanced in this release. from: https://gcc.gnu.org/ml/gcc-announce/2016/msg00000.html
2016-03-31Remove some trailing whitespaceDavid Foerster1-7/+7
2016-03-17Linux: fix mount failure with "Invalid characters encountered" error when ↵Mounir IDRASSI1-0/+6
building using gcc-5 by disabling the new C++ ABI. For this to work, wxWidgets static library must be built and used by VeraCrypt by specifying WXSTATIC=1 in make command line.
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-4/+8
and TrueCrypt 3.0.
2015-07-11Linux: Solve error when building against dynamic wxWidgets library, ↵Mounir IDRASSI1-0/+1
especially under Ubuntu.
2015-01-02Linux: solve link error on recent Ubuntu when using shared wxWidgets.Mounir IDRASSI1-1/+4
2014-11-08MacOSX : Correct issue of compiling assembly files in both 32-bit and 64-bit ↵Mounir IDRASSI1-15/+24
mode. Modify Makefiles to correct compilation process using latest Xcode.
2014-11-08Add VeraCrypt specific Linux packaging code in Makefiles and add various ↵Mounir IDRASSI1-0/+3
helper scripts. The original TrueCrypt sources didn't contain anything about this.
2014-11-08Update wxWidgets compilation flags in order to be compatible with wxWidgets ↵Mounir IDRASSI1-2/+4
3.0 and remove unneeded dependencies to ensure maximum compatibility.
2014-11-08Correct typos introduced inadvertentlyMounir IDRASSI1-1/+1
2014-11-08Adapt Makefiles for VeraCrypt. Use PKCS#11 headers from source tree is not ↵Mounir IDRASSI1-1/+3
specified elsewhere.
2014-11-08Replace TrueCrypt references in added sources and resources by VeraCrypt ones.Mounir IDRASSI1-1/+1
2014-11-08Add TrueCrypt 7.1a MacOSX/Linux specific source files.Mounir IDRASSI1-0/+298