Move conditionals

This commit is contained in:
Frank Denis 2015-01-17 21:48:42 +01:00
parent 9c0613525c
commit 5efaad1997

View File

@ -1,12 +1,6 @@
lib_LTLIBRARIES = \ lib_LTLIBRARIES = \
libsodium.la libsodium.la
if !EMSCRIPTEN
libsodium_la_SOURCES += \
randombytes/salsa20/randombytes_salsa20_random.c \
randombytes/sysrandom/randombytes_sysrandom.c
endif
libsodium_la_SOURCES = \ libsodium_la_SOURCES = \
crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c \ crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c \
crypto_auth/crypto_auth.c \ crypto_auth/crypto_auth.c \
@ -160,6 +154,12 @@ libsodium_la_SOURCES = \
sodium/utils.c \ sodium/utils.c \
sodium/version.c sodium/version.c
if !EMSCRIPTEN
libsodium_la_SOURCES += \
randombytes/salsa20/randombytes_salsa20_random.c \
randombytes/sysrandom/randombytes_sysrandom.c
endif
if HAVE_TI_MODE if HAVE_TI_MODE
libsodium_la_SOURCES += \ libsodium_la_SOURCES += \
crypto_scalarmult/curve25519/donna_c64/api.h \ crypto_scalarmult/curve25519/donna_c64/api.h \