aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
blob: 017484f359ef47efa999fc748b51910ae6d2acb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
################################################################################
#
#      Copyright (C) 2015 by Intel Corporation, All Rights Reserved.
#
# 								   Cryptographic Primitives Makefile.
#
################################################################################

include ../Makefile.conf

# Edit the OBJS content to add/remove primitives needed from TinyCrypt library:
OBJS =	utils.o \
	aes_decrypt.o \
	aes_encrypt.o \
	cbc_mode.o \
	ctr_mode.o \
	hmac.o \
	hmac_prng.o \
	sha256.o \

all:	$(OBJS)

clean:
	$(RM) *.o *.gch core *dump *~

# Dependencies
aes_decrypt.o:		aes_decrypt.c aes.h utils.o 
aes_encrypt.o:		aes_encrypt.c aes.h utils.o
cbc_mode.o:				cbc_mode.c cbc_mode.h utils.o
ctr_mode.o:				ctr_mode.c ctr_mode.h utils.o
hmac.o:						hmac.c hmac.h utils.o
hmac_prng.o:			hmac_prng.c hmac_prng.h utils.o
sha256.o:					sha256.c sha256.h utils.o
utils.o:					utils.c utils.h