Skip to content

Commit c4fe803

Browse files
committed
Makefile.am: sort lists
1 parent 2e065bf commit c4fe803

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

Makefile.am

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bin_PROGRAMS= scrypt
22
noinst_PROGRAMS= \
3-
tests/verify-strings/test_scrypt \
4-
tests/valgrind/potential-memleaks
3+
tests/valgrind/potential-memleaks \
4+
tests/verify-strings/test_scrypt
55
dist_man_MANS=$(scrypt_man_MANS)
66
ACLOCAL_AMFLAGS= -I m4
77

@@ -14,12 +14,12 @@ ACLOCAL_AMFLAGS= -I m4
1414
# crypto_scrypt() does not require aesni or rdrand, but we need to include
1515
# the relevant cpusupport_x86 files so that cpusupport can link to them.
1616
crypto_scrypt_files= \
17+
lib-platform/crypto/crypto_scrypt.c \
18+
lib-platform/crypto/crypto_scrypt.h \
19+
lib-platform/platform.h \
1720
lib/crypto/crypto_scrypt_smix.c \
1821
lib/crypto/crypto_scrypt_smix.h \
1922
lib/crypto/crypto_scrypt_smix_sse2.h \
20-
lib-platform/platform.h \
21-
lib-platform/crypto/crypto_scrypt.c \
22-
lib-platform/crypto/crypto_scrypt.h \
2323
libcperciva/alg/sha256.c \
2424
libcperciva/alg/sha256.h \
2525
libcperciva/alg/sha256_arm.h \
@@ -41,8 +41,8 @@ crypto_scrypt_files= \
4141
# Don't include crypto_aesctr_shared.c in this list, as it should be included
4242
# directly into other translation unit(s), and not compiled on its own.
4343
scrypt_SOURCES= \
44-
main.c \
4544
$(crypto_scrypt_files) \
45+
lib-platform/util/memlimit.h \
4646
lib/scryptenc/scryptenc.c \
4747
lib/scryptenc/scryptenc.h \
4848
lib/scryptenc/scryptenc_cpuperf.c \
@@ -51,7 +51,6 @@ scrypt_SOURCES= \
5151
lib/scryptenc/scryptenc_print_error.h \
5252
lib/util/passphrase_entry.c \
5353
lib/util/passphrase_entry.h \
54-
lib-platform/util/memlimit.h \
5554
libcperciva/crypto/crypto_aes.h \
5655
libcperciva/crypto/crypto_aes_aesni.h \
5756
libcperciva/crypto/crypto_aes_aesni_m128i.h \
@@ -81,35 +80,36 @@ scrypt_SOURCES= \
8180
libcperciva/util/readpass.c \
8281
libcperciva/util/readpass.h \
8382
libcperciva/util/readpass_file.c \
84-
libcperciva/util/sysendian.h
83+
libcperciva/util/sysendian.h \
84+
main.c
8585

8686
AM_CPPFLAGS= \
8787
-I$(srcdir)/lib \
88-
-I$(srcdir)/lib/crypto \
89-
-I$(srcdir)/lib/scryptenc \
90-
-I$(srcdir)/lib/util \
9188
-I$(srcdir)/lib-platform \
9289
-I$(srcdir)/lib-platform/crypto \
9390
-I$(srcdir)/lib-platform/util \
91+
-I$(srcdir)/lib/crypto \
92+
-I$(srcdir)/lib/scryptenc \
93+
-I$(srcdir)/lib/util \
9494
-I$(srcdir)/libcperciva/alg \
9595
-I$(srcdir)/libcperciva/cpusupport \
9696
-I$(srcdir)/libcperciva/crypto \
9797
-I$(srcdir)/libcperciva/util \
98-
-DCPUSUPPORT_CONFIG_FILE=\"cpusupport-config.h\" \
9998
-DAPISUPPORT_CONFIG_FILE=\"apisupport-config.h\" \
99+
-DCPUSUPPORT_CONFIG_FILE=\"cpusupport-config.h\" \
100100
-D_POSIX_C_SOURCE=200809L \
101101
-D_XOPEN_SOURCE=700 \
102102
${CFLAGS_POSIX}
103103

104104
scrypt_LDADD= \
105105
libcperciva_aesni.la \
106+
libcperciva_arm_aes.la \
107+
libcperciva_arm_sha256.la \
108+
libcperciva_crypto_aes.la \
106109
libcperciva_rdrand.la \
107110
libcperciva_shani.la \
108-
libscrypt_sse2.la \
109111
libscrypt_memlimit.la \
110-
libcperciva_crypto_aes.la \
111-
libcperciva_arm_sha256.la \
112-
libcperciva_arm_aes.la \
112+
libscrypt_sse2.la \
113113
${LDADD_POSIX}
114114
scrypt_man_MANS= scrypt.1
115115

@@ -168,8 +168,8 @@ libcperciva_crypto_aes_la_CFLAGS=`. ./apisupport-config.h; echo $${CFLAGS_LIBCRY
168168
# Library from libcperciva and scrypt code.
169169
noinst_LTLIBRARIES+= libscrypt_sse2.la
170170
libscrypt_sse2_la_SOURCES= \
171-
libcperciva/alg/sha256_sse2.c \
172-
lib/crypto/crypto_scrypt_smix_sse2.c
171+
lib/crypto/crypto_scrypt_smix_sse2.c \
172+
libcperciva/alg/sha256_sse2.c
173173
nodist_libscrypt_sse2_la_SOURCES= cpusupport-config.h
174174
libscrypt_sse2_la_CFLAGS=`. ./cpusupport-config.h; echo $${CFLAGS_X86_SSE2}`
175175

@@ -199,9 +199,9 @@ endif
199199
# Shared definitions for libscrypt-kdf.
200200
libscrypt_kdf_la_SOURCES= $(crypto_scrypt_files)
201201
libscrypt_kdf_la_LIBADD= \
202+
libcperciva_arm_sha256.la \
202203
libcperciva_shani.la \
203-
libscrypt_sse2.la \
204-
libcperciva_arm_sha256.la
204+
libscrypt_sse2.la
205205
# Workaround for "created with both libtool and without".
206206
libscrypt_kdf_la_CFLAGS= $(AM_CFLAGS)
207207

@@ -275,9 +275,9 @@ tests_verify_strings_test_scrypt_SOURCES= \
275275
$(crypto_scrypt_files)
276276

277277
tests_verify_strings_test_scrypt_LDADD= \
278+
libcperciva_arm_sha256.la \
278279
libcperciva_shani.la \
279280
libscrypt_sse2.la \
280-
libcperciva_arm_sha256.la \
281281
${LDADD_POSIX}
282282

283283
# Eliminate false positives while memory-checking for the test framework.

0 commit comments

Comments
 (0)