2014-04-29 12:26:51 +00:00
|
|
|
APPVER = 1.0.0
|
|
|
|
|
|
|
|
NAME = trezor
|
|
|
|
|
|
|
|
OBJS += usb.o
|
2015-11-02 23:08:18 +00:00
|
|
|
OBJS += u2f.o
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += messages.o
|
|
|
|
OBJS += storage.o
|
|
|
|
OBJS += trezor.o
|
|
|
|
OBJS += pinmatrix.o
|
|
|
|
OBJS += fsm.o
|
|
|
|
OBJS += coins.o
|
|
|
|
OBJS += transaction.o
|
|
|
|
OBJS += protect.o
|
|
|
|
OBJS += layout2.o
|
|
|
|
OBJS += recovery.o
|
|
|
|
OBJS += reset.o
|
|
|
|
OBJS += signing.o
|
2014-11-15 01:01:21 +00:00
|
|
|
OBJS += crypto.o
|
2016-05-24 21:22:30 +00:00
|
|
|
OBJS += ethereum.o
|
2014-04-29 12:26:51 +00:00
|
|
|
|
|
|
|
OBJS += debug.o
|
|
|
|
|
2016-10-10 09:26:52 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/address.o
|
2015-12-15 22:01:54 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/bignum.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/ecdsa.o
|
2016-04-22 15:49:00 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/curves.o
|
2015-12-15 22:01:54 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/secp256k1.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/nist256p1.o
|
2016-04-22 15:49:00 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/ed25519-donna/ed25519.o
|
2016-10-13 19:32:26 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/curve25519-donna/curve25519-donna.o
|
2015-12-15 22:01:54 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/hmac.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/bip32.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/bip39.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/pbkdf2.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/base58.o
|
|
|
|
|
|
|
|
OBJS += ../vendor/trezor-crypto/ripemd160.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/sha2.o
|
2016-05-24 19:31:34 +00:00
|
|
|
OBJS += ../vendor/trezor-crypto/sha3.o
|
2015-12-15 22:01:54 +00:00
|
|
|
|
|
|
|
OBJS += ../vendor/trezor-crypto/aescrypt.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/aeskey.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/aestab.o
|
|
|
|
OBJS += ../vendor/trezor-crypto/aes_modes.o
|
|
|
|
|
|
|
|
OBJS += ../vendor/trezor-qrenc/qr_encode.o
|
2014-08-08 17:09:54 +00:00
|
|
|
|
2014-12-27 13:32:25 +00:00
|
|
|
# OBJS += protob/pb_common.o
|
2014-04-29 12:26:51 +00:00
|
|
|
OBJS += protob/pb_decode.o
|
|
|
|
OBJS += protob/pb_encode.o
|
|
|
|
OBJS += protob/messages.pb.o
|
|
|
|
OBJS += protob/storage.pb.o
|
|
|
|
OBJS += protob/types.pb.o
|
|
|
|
|
|
|
|
include ../Makefile.include
|
|
|
|
|
2014-06-07 12:21:59 +00:00
|
|
|
CFLAGS += -Wno-sequence-point
|
2014-04-29 12:26:51 +00:00
|
|
|
CFLAGS += -Iprotob -DPB_FIELD_16BIT=1
|
2014-08-08 17:09:54 +00:00
|
|
|
CFLAGS += -DQR_MAX_VERSION=0
|
2014-04-29 12:26:51 +00:00
|
|
|
CFLAGS += -DDEBUG_LINK=0
|
|
|
|
CFLAGS += -DDEBUG_LOG=0
|
|
|
|
CFLAGS += -DSCM_REVISION='"$(shell git rev-parse HEAD | sed 's:\(..\):\\x\1:g')"'
|
2016-04-22 15:49:00 +00:00
|
|
|
CFLAGS += -DED25519_CUSTOMRANDOM=1
|
|
|
|
CFLAGS += -DED25519_CUSTOMHASH=1
|
2016-05-23 20:27:18 +00:00
|
|
|
CFLAGS += -DUSE_ETHEREUM=1
|