• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CONFIGURE_ARGS="\
2 \
3"
4
5# unneeded directories
6UNNEEDED_SOURCES="\
7lib/scryptenc \
8"
9
10# unneeded files
11UNNEEDED_SOURCES+="\
12config.h.in \
13configure \
14FORMAT \
15main.c \
16Makefile.in \
17scrypt.1 \
18lib/crypto/crypto_aesctr.c \
19lib/crypto/crypto_aesctr.h \
20lib/crypto/crypto_scrypt-nosse.c \
21lib/crypto/sha256.c \
22lib/crypto/sha256.h \
23lib/util/memlimit.c \
24lib/util/memlimit.h \
25lib/util/readpass.c \
26lib/util/readpass.h \
27lib/util/warn.c \
28lib/util/warn.h \
29"
30
31NEEDED_SOURCES="\
32config.h \
33lib \
34scrypt_platform.h \
35"
36
37SCRYPT_CFLAGS="\
38-DHAVE_CONFIG_H \
39-DUSE_OPENSSL_PBKDF2 \
40"
41
42SCRYPT_EXPORT_C_INCLUDE_DIRS="\
43lib/crypto \
44"
45
46SCRYPT_INCLUDES="\
47lib/util \
48"
49
50SCRYPT_SOURCES="\
51lib/crypto/crypto_scrypt-ref.c \
52"
53
54SCRYPT_SOURCES_arm="\
55"
56
57SCRYPT_SOURCES_EXCLUDES_arm="\
58"
59
60SCRYPT_SOURCES_arm_neon="\
61lib/crypto/crypto_scrypt-neon.c \
62"
63
64SCRYPT_SOURCES_EXCLUDES_arm_neon="\
65lib/crypto/crypto_scrypt-ref.c \
66"
67
68SCRYPT_SOURCES_arm64="\
69lib/crypto/crypto_scrypt-neon.c \
70"
71
72SCRYPT_SOURCES_EXCLUDES_arm64="\
73lib/crypto/crypto_scrypt-ref.c \
74"
75
76SCRYPT_SOURCES_mips="\
77"
78
79SCRYPT_SOURCES_EXCLUDES_mips="\
80"
81
82SCRYPT_SOURCES_x86="\
83lib/crypto/crypto_scrypt-sse.c \
84"
85
86SCRYPT_SOURCES_EXCLUDES_x86="\
87lib/crypto/crypto_scrypt-ref.c \
88"
89
90SCRYPT_SOURCES_x86_64="\
91lib/crypto/crypto_scrypt-sse.c \
92"
93
94SCRYPT_SOURCES_EXCLUDES_x86_64="\
95lib/crypto/crypto_scrypt-ref.c \
96"
97
98SCRYPT_PATCHES="\
99use_openssl_pbkdf2.patch \
100arm_neon.patch \
101"
102
103SCRYPT_PATCHES_use_openssl_pbkdf2_SOURCES="\
104lib/crypto/crypto_scrypt-ref.c \
105lib/crypto/crypto_scrypt-sse.c \
106"
107
108SCRYPT_PATCHES_arm_neon_SOURCES="\
109lib/crypto/crypto_scrypt-neon-salsa208.h \
110lib/crypto/crypto_scrypt-neon.c \
111"
112