1ALL=sae
2include ../rules.include
3
4CFLAGS += -DCONFIG_SHA256
5CFLAGS += -DCONFIG_ECC
6
7LIBS += $(SRC)/common/libcommon.a
8LIBS += $(SRC)/utils/libutils.a
9
10OBJS += $(SRC)/crypto/crypto_openssl.o
11OBJS += $(SRC)/crypto/dh_groups.o
12OBJS += $(SRC)/crypto/sha1-prf.o
13OBJS += $(SRC)/crypto/sha256-prf.o
14OBJS += $(SRC)/crypto/sha256-kdf.o
15OBJS += $(SRC)/common/dragonfly.o
16
17OBJS += sae.o
18
19_OBJS_VAR := OBJS
20include ../../../src/objs.mk
21
22_OBJS_VAR := LIBS
23include ../../../src/objs.mk
24
25sae: $(OBJS) $(LIBS)
26	$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
27
28clean: common-clean
29	rm -f sae *~ *.o *.d ../*~ ../*.o ../*.d
30