VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-24 00:48:17 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:17 +0100
commit5218b6dfe829770737cc07d7cf4bbc161525a6d9 (patch)
tree45522c95e0ae6debdc5e339571e6d34c426f231f /src/Makefile
parent41a22ca4e78df752d4ce143a692310ab9e48c686 (diff)
downloadVeraCrypt-5218b6dfe829770737cc07d7cf4bbc161525a6d9.tar.gz
VeraCrypt-5218b6dfe829770737cc07d7cf4bbc161525a6d9.zip
Add VeraCrypt specific Linux packaging code in Makefiles and add various helper scripts. The original TrueCrypt sources didn't contain anything about this.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index df41baec..33d22a48 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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