VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Main.make
AgeCommit message (Collapse)AuthorFilesLines
2019-12-20Fix the compilation against WxWidgets when NOGUI=1 (#570)Gokturk Yuksek1-0/+4
* 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-8/+0
that is statically linked to wxWidgets
2019-10-26MacOSX: Update build script and Makefile to correctly build Legacy version ↵Mounir IDRASSI1-0/+10
of VeraCrypt that targets OSX 10.7+.
2019-10-14MacOSX: Add build scripts and modifications to linking against wxWidgets ↵Mounir IDRASSI1-0/+4
3.1.2 for non legacy build targeting OSX 10.9+
2019-10-06Linux/FreeBSD: change location of documentation from ↵Mounir IDRASSI1-3/+3
/usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt
2019-10-04Linux : Added missing 'mkdir' before installing in case $DESTDIR does not ↵El Mostafa Idrassi1-0/+2
exist (#510)
2019-10-02Utilize $(BASE_DIR) in the install targets rather than $(PWD) and $(CURDIR) ↵Unit 1931-63/+63
(#472) As $(PWD) is not always the expected value and can result in failing the target.
2018-09-01Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that ↵Mounir IDRASSI1-0/+13
don't support SSE2 instructions.
2017-12-06MacOSX: Update reference of code signing certificate in Makefile to use new ↵Mounir IDRASSI1-2/+2
IDRIX certificates.
2017-07-10Add support for building under FreeBSD 11Mounir IDRASSI1-11/+61
2017-07-02Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging.Mounir IDRASSI1-0/+1
2017-07-02Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as ↵Mounir IDRASSI1-1/+1
$(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.)
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-06-13Linux/MacOSX: Modify Makefile to separate between build and packaging. Add ↵Mounir IDRASSI1-1/+30
install target for local installation.
2017-06-05Linux/MacOSX: Replace User Guide PDF with local HTML documentation. Replace ↵Mounir IDRASSI1-4/+4
UI links to point towards local HTML documentation if it exists
2017-06-01Linux/MacOSX: Update location of User Guide pdf in MakefileMounir IDRASSI1-2/+2
2016-12-26MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add ↵Mounir IDRASSI1-0/+1
custom icon to these files on Finder.
2016-10-17Linux/MacOSX: fix error in Makefile caused by erroneous extra characterMounir IDRASSI1-1/+1
2016-10-17MacOSX: remove MacFUSE dependency and link against OSXFuse library. Now, ↵Mounir IDRASSI1-1/+4
only standard OSXFuse install is needed without MacFUSE compatibility option.
2016-05-10Remove trailing whitespaceDavid Foerster1-6/+6
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2016-01-17MacOSX: Ensure that time-stamping is always activated when performing code ↵Mounir IDRASSI1-2/+2
signing by using --timestamp switch.
2015-12-06MacOSX: Customize dmg file using VeraCrypt new logoMounir IDRASSI1-1/+12
2015-12-04Linux/MacOSX: use new icons contributed by Andreas Becker ↵Mounir IDRASSI1-1/+1
(https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850)
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-5/+9
and TrueCrypt 3.0.
2015-07-11Linux: Solve error when building against dynamic wxWidgets library, ↵Mounir IDRASSI1-0/+4
especially under Ubuntu.
2015-06-28Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct ↵Mounir IDRASSI1-0/+1
PIM value check logic.
2015-04-19Linux installer: Add support for kdesudo and correct usage of konsole ↵Mounir IDRASSI1-1/+1
external call.
2015-02-11Linux: modify installer script to make it run when the "less" command ↵Mounir IDRASSI1-1/+1
doesn't support the -X argument (Busybox case)
2015-02-10Linux: Add graphical installer support when xterm is not available (Linux ↵Mounir IDRASSI1-1/+1
Mint case)
2015-01-02Linux: solve link error on recent Ubuntu when using shared wxWidgets.Mounir IDRASSI1-1/+1
2014-12-26Linux/MacOSX: Implement waiting dialog for lengthy operations in order to ↵Mounir IDRASSI1-0/+1
have a better user experience.
2014-12-20Linux: update the embedded data index inside the installer because the ↵Mounir IDRASSI1-1/+1
license content became bigger.
2014-11-08MacOSX : Update Main Makefile to used the new package name that include the ↵VeraCrypt_MacOSX_1.0dMounir IDRASSI1-1/+1
version.
2014-11-08MacOSX : Correct typos in Main MakefileMounir IDRASSI1-3/+3
2014-11-08MacOSX : modify Makefile to automatically build and sign the MacOSX ↵Mounir IDRASSI1-1/+3
installer for VeraCrypt.
2014-11-08MacOSX : Copy console version of VeraCrypt inside the bundle under the name ↵Mounir IDRASSI1-0/+11
veracrypt_console.
2014-11-08MacOSX : copy the help pdf into the VeraCrypt bundle during package creationMounir IDRASSI1-0/+1
2014-11-08MacOSX : correct the name of dmg file used by the rm commandMounir IDRASSI1-1/+1
2014-11-08MacOSX : Correct issue of compiling assembly files in both 32-bit and 64-bit ↵Mounir IDRASSI1-0/+3
mode. Modify Makefiles to correct compilation process using latest Xcode.
2014-11-08Set the Execute bit for VeraCrypt uninstall script before copying it to the ↵Mounir IDRASSI1-0/+1
tar package
2014-11-08Add VeraCrypt specific Linux packaging code in Makefiles and add various ↵Mounir IDRASSI1-1/+57
helper scripts. The original TrueCrypt sources didn't contain anything about this.
2014-11-08Adapt Makefiles for VeraCrypt. Use PKCS#11 headers from source tree is not ↵Mounir IDRASSI1-2/+2
specified elsewhere.
2014-11-08Add TrueCrypt 7.1a MacOSX/Linux specific source files.Mounir IDRASSI1-0/+145