1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Add VeraCrypt specific Linux packaging code in Makefiles and add various helper scripts. The original TrueCrypt sources didn't contain anything about this.

This commit is contained in:
Mounir IDRASSI
2014-06-24 00:48:17 +02:00
parent 41a22ca4e7
commit 5218b6dfe8
5 changed files with 917 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ endif
#------ Platform configuration ------
export PLATFORM := "Unknown"
export PLATFORM_ARCH := "Unknown"
export PLATFORM_UNSUPPORTED := 0
export CPU_ARCH ?= unknown
@@ -140,8 +141,10 @@ ifeq "$(origin NOASM)" "command line"
endif
ifeq "$(CPU_ARCH)" "x86"
PLATFORM_ARCH := i386
C_CXX_FLAGS += -D TC_ARCH_X86
else ifeq "$(CPU_ARCH)" "x64"
PLATFORM_ARCH := amd64
C_CXX_FLAGS += -D TC_ARCH_X64
endif