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/sha256-prf.o
13OBJS += $(SRC)/crypto/sha256-kdf.o
14OBJS += $(SRC)/common/dragonfly.o
15
16OBJS += sae.o
17
18_OBJS_VAR := OBJS
19include ../../../src/objs.mk
20
21_OBJS_VAR := LIBS
22include ../../../src/objs.mk
23
24sae: $(OBJS) $(LIBS)
25	$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
26
27clean: common-clean
28	rm -f sae *~ *.o *.d ../*~ ../*.o ../*.d
29