]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - common/mbedtls/Makefile
added SoloKey certificate (#778)
[proxmark3-svn] / common / mbedtls / Makefile
... / ...
CommitLineData
1
2LIB_A = libmbedtls.a
3mbedtls_SOURCES = \
4 aes.c \
5 asn1parse.c \
6 asn1write.c \
7 base64.c \
8 bignum.c \
9 ctr_drbg.c \
10 entropy_poll.c \
11 entropy.c \
12 error.c \
13 timing.c \
14 ecp.c \
15 ecp_curves.c \
16 certs.c \
17 camellia.c \
18 blowfish.c \
19 cipher_wrap.c \
20 cipher.c \
21 cmac.c \
22 des.c \
23 ecdsa.c \
24 md.c \
25 md_wrap.c \
26 md5.c \
27 oid.c \
28 pem.c \
29 arc4.c \
30 pk.c \
31 pk_wrap.c \
32 pkwrite.c \
33 pkcs5.c \
34 pkcs12.c \
35 pkparse.c \
36 platform.c \
37 platform_util.c \
38 rsa.c \
39 rsa_internal.c \
40 sha1.c \
41 sha256.c \
42 sha512.c \
43 threading.c \
44 x509.c \
45 x509_crl.c \
46 x509_crt.c
47mbedtls_LDFLAGS = \
48 -no-undefined \
49 -export-symbols-regex '^mbedtls_' \
50 -version-info 15:0:11
51
52
53CFILES = $(filter %.c, $(mbedtls_SOURCES))
54CMDOBJS = $(CFILES:%.c=%.o)
55CLEAN = $(CMDOBJS)
56
57CC= gcc
58CFLAGS= -O2 -Wall -Wno-unused-variable -Wno-unused-function
59LDFLAGS= $(SYSLDFLAGS) $(mbedtls_LDFLAGS)
60LIBS= -lm $(SYSLIBS) $(MYLIBS)
61DEFAULT_INCLUDES = -I. -I..
62DEFS = -DHAVE_STDINT_H
63
64AR= ar rcs
65RANLIB= ranlib
66RM= rm -f
67TST= echo
68
69SYSLDFLAGS=
70SYSLIBS=
71
72MYLIBS=
73MYOBJS=
74
75all: $(CMDOBJS)
76 $(AR) $(LIB_A) $(CMDOBJS)
77 $(RANLIB) $(LIB_A)
78
79clean:
80 $(RM) $(CLEAN)
81 $(RM) $(LIB_A)
82
83%.o: %.c
84 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(CFLAGS) -c -o $@ $< $(LIBS)
85
86.PHONY: all clean
87
Impressum, Datenschutz