"Fossies" - the Fresh Open Source Software Archive

Member "src/Volume/Volume.make" (10 Oct 2018, 5159 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Volume.make": 1.21_Source_vs_1.22_Source.

    1 #
    2 # Derived from source code of TrueCrypt 7.1a, which is
    3 # Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
    4 # by the TrueCrypt License 3.0.
    5 #
    6 # Modifications and additions to the original source code (contained in this file)
    7 # and all other portions of this file are Copyright (c) 2013-2017 IDRIX
    8 # and are governed by the Apache License 2.0 the full text of which is
    9 # contained in the file License.txt included in VeraCrypt binary and source
   10 # code distribution packages.
   11 #
   12 
   13 OBJS :=
   14 OBJSEX :=
   15 OBJS += Cipher.o
   16 OBJS += EncryptionAlgorithm.o
   17 OBJS += EncryptionMode.o
   18 OBJS += EncryptionModeXTS.o
   19 OBJS += EncryptionTest.o
   20 OBJS += EncryptionThreadPool.o
   21 OBJS += Hash.o
   22 OBJS += Keyfile.o
   23 OBJS += Pkcs5Kdf.o
   24 OBJS += Volume.o
   25 OBJS += VolumeException.o
   26 OBJS += VolumeHeader.o
   27 OBJS += VolumeInfo.o
   28 OBJS += VolumeLayout.o
   29 OBJS += VolumePassword.o
   30 OBJS += VolumePasswordCache.o
   31 
   32 ifeq "$(PLATFORM)" "MacOSX"
   33     OBJSEX += ../Crypto/Aes_asm.oo
   34     OBJS += ../Crypto/Aes_hw_cpu.o
   35     OBJS += ../Crypto/Aescrypt.o
   36     OBJSEX += ../Crypto/Twofish_asm.oo
   37     OBJSEX += ../Crypto/Camellia_asm.oo
   38     OBJSEX += ../Crypto/Camellia_aesni_asm.oo
   39     OBJSEX += ../Crypto/sha256-nayuki.oo
   40     OBJSEX += ../Crypto/sha512-nayuki.oo
   41     OBJSEX += ../Crypto/sha256_avx1.oo
   42     OBJSEX += ../Crypto/sha256_avx2.oo
   43     OBJSEX += ../Crypto/sha256_sse4.oo
   44     OBJSEX += ../Crypto/sha512_avx1.oo
   45     OBJSEX += ../Crypto/sha512_avx2.oo
   46     OBJSEX += ../Crypto/sha512_sse4.oo
   47 else ifeq "$(CPU_ARCH)" "x86"
   48     OBJS += ../Crypto/Aes_x86.o
   49     OBJS += ../Crypto/Aes_hw_cpu.o
   50     OBJS += ../Crypto/sha256-x86-nayuki.o
   51     OBJS += ../Crypto/sha512-x86-nayuki.o
   52 else ifeq "$(CPU_ARCH)" "x64"
   53     OBJS += ../Crypto/Aes_x64.o
   54     OBJS += ../Crypto/Aes_hw_cpu.o
   55     OBJS += ../Crypto/Twofish_x64.o
   56     OBJS += ../Crypto/Camellia_x64.o
   57     OBJS += ../Crypto/Camellia_aesni_x64.o
   58     OBJS += ../Crypto/sha512-x64-nayuki.o
   59     OBJS += ../Crypto/sha256_avx1_x64.o
   60     OBJS += ../Crypto/sha256_avx2_x64.o
   61     OBJS += ../Crypto/sha256_sse4_x64.o
   62     OBJS += ../Crypto/sha512_avx1_x64.o
   63     OBJS += ../Crypto/sha512_avx2_x64.o
   64     OBJS += ../Crypto/sha512_sse4_x64.o
   65 else
   66     OBJS += ../Crypto/Aescrypt.o
   67 endif
   68 
   69 OBJS += ../Crypto/Aeskey.o
   70 OBJS += ../Crypto/Aestab.o
   71 OBJS += ../Crypto/cpu.o
   72 OBJS += ../Crypto/Rmd160.o
   73 OBJS += ../Crypto/SerpentFast.o
   74 OBJS += ../Crypto/SerpentFast_simd.o
   75 OBJS += ../Crypto/Sha2.o
   76 OBJS += ../Crypto/Twofish.o
   77 OBJS += ../Crypto/Whirlpool.o
   78 OBJS += ../Crypto/Camellia.o
   79 OBJS += ../Crypto/GostCipher.o
   80 OBJS += ../Crypto/Streebog.o
   81 OBJS += ../Crypto/kuznyechik.o
   82 OBJS += ../Crypto/kuznyechik_simd.o
   83 
   84 OBJS += ../Common/Crc.o
   85 OBJS += ../Common/Endian.o
   86 OBJS += ../Common/GfMul.o
   87 OBJS += ../Common/Pkcs5.o
   88 OBJS += ../Common/SecurityToken.o
   89 
   90 VolumeLibrary: Volume.a
   91 
   92 ifeq "$(PLATFORM)" "MacOSX"
   93 ../Crypto/Aes_asm.oo: ../Crypto/Aes_x86.asm ../Crypto/Aes_x64.asm
   94     @echo Assembling $(<F)
   95     $(AS) $(ASFLAGS32) -o ../Crypto/Aes_x86.o ../Crypto/Aes_x86.asm
   96     $(AS) $(ASFLAGS64) -o ../Crypto/Aes_x64.o ../Crypto/Aes_x64.asm
   97     lipo -create ../Crypto/Aes_x86.o ../Crypto/Aes_x64.o -output ../Crypto/Aes_asm.oo
   98     rm -fr ../Crypto/Aes_x86.o ../Crypto/Aes_x64.o
   99 ../Crypto/Twofish_asm.oo: ../Crypto/Twofish_x64.S
  100     @echo Assembling $(<F)
  101     $(AS) $(ASFLAGS64) -p gas -o ../Crypto/Twofish_asm.oo ../Crypto/Twofish_x64.S 
  102 ../Crypto/Camellia_asm.oo: ../Crypto/Camellia_x64.S
  103     @echo Assembling $(<F)
  104     $(AS) $(ASFLAGS64) -p gas -o ../Crypto/Camellia_asm.oo ../Crypto/Camellia_x64.S
  105 ../Crypto/Camellia_aesni_asm.oo: ../Crypto/Camellia_aesni_x64.S
  106     @echo Assembling $(<F)
  107     $(AS) $(ASFLAGS64) -p gas -o ../Crypto/Camellia_aesni_asm.oo ../Crypto/Camellia_aesni_x64.S
  108 ../Crypto/sha256-nayuki.oo: ../Crypto/sha256-x86-nayuki.S
  109     @echo Assembling $(<F)
  110     $(AS) $(ASFLAGS32) -p gas -o ../Crypto/sha256-x86-nayuki.o ../Crypto/sha256-x86-nayuki.S
  111     $(AS) $(ASFLAGS64) -p gas -o ../Crypto/sha256-x64-nayuki.o ../Crypto/sha256-x64-nayuki.S
  112     lipo -create ../Crypto/sha256-x86-nayuki.o ../Crypto/sha256-x64-nayuki.o -output ../Crypto/sha256-nayuki.oo
  113     rm -fr ../Crypto/sha256-x86-nayuki.o ../Crypto/sha256-x64-nayuki.o
  114 ../Crypto/sha256_avx1.oo: ../Crypto/sha256_avx1_x64.asm
  115     @echo Assembling $(<F)
  116     $(AS) $(ASFLAGS64) -o ../Crypto/sha256_avx1.oo ../Crypto/sha256_avx1_x64.asm
  117 ../Crypto/sha256_avx2.oo: ../Crypto/sha256_avx2_x64.asm
  118     @echo Assembling $(<F)
  119     $(AS) $(ASFLAGS64) -o ../Crypto/sha256_avx2.oo ../Crypto/sha256_avx2_x64.asm
  120 ../Crypto/sha256_sse4.oo: ../Crypto/sha256_sse4_x64.asm
  121     @echo Assembling $(<F)
  122     $(AS) $(ASFLAGS64) -o ../Crypto/sha256_sse4.oo ../Crypto/sha256_sse4_x64.asm
  123 ../Crypto/sha512-nayuki.oo: ../Crypto/sha512-x64-nayuki.S
  124     @echo Assembling $(<F)
  125     $(AS) -p gas $(ASFLAGS64) -o ../Crypto/sha512-nayuki.oo ../Crypto/sha512-x64-nayuki.S
  126 ../Crypto/sha512_avx1.oo: ../Crypto/sha512_avx1_x64.asm
  127     @echo Assembling $(<F)
  128     $(AS) $(ASFLAGS64) -o ../Crypto/sha512_avx1.oo ../Crypto/sha512_avx1_x64.asm
  129 ../Crypto/sha512_avx2.oo: ../Crypto/sha512_avx2_x64.asm
  130     @echo Assembling $(<F)
  131     $(AS) $(ASFLAGS64) -o ../Crypto/sha512_avx2.oo ../Crypto/sha512_avx2_x64.asm
  132 ../Crypto/sha512_sse4.oo: ../Crypto/sha512_sse4_x64.asm
  133     @echo Assembling $(<F)
  134     $(AS) $(ASFLAGS64) -o ../Crypto/sha512_sse4.oo ../Crypto/sha512_sse4_x64.asm
  135 endif
  136 
  137 include $(BUILD_INC)/Makefile.inc