2020-04-04 19:07:38 +02:00
|
|
|
all: dpp-uri
|
|
|
|
include ../rules.include
|
|
|
|
|
|
|
|
CFLAGS += -DCONFIG_DPP
|
|
|
|
CFLAGS += -DCONFIG_DPP2
|
|
|
|
CFLAGS += -DCONFIG_SHA256
|
|
|
|
CFLAGS += -DCONFIG_SHA384
|
|
|
|
CFLAGS += -DCONFIG_SHA512
|
|
|
|
CFLAGS += -DCONFIG_ECC
|
|
|
|
CFLAGS += -DCONFIG_OPENSSL_CMAC
|
|
|
|
|
|
|
|
LIBS += $(SRC)/common/libcommon.a
|
|
|
|
LIBS += $(SRC)/utils/libutils.a
|
|
|
|
|
|
|
|
OBJS += $(SRC)/crypto/crypto_openssl.o
|
|
|
|
|
|
|
|
OBJS += $(SRC)/crypto/aes-ctr.o
|
|
|
|
OBJS += $(SRC)/crypto/aes-siv.o
|
|
|
|
OBJS += $(SRC)/crypto/sha256-kdf.o
|
|
|
|
OBJS += $(SRC)/crypto/sha384-kdf.o
|
|
|
|
OBJS += $(SRC)/crypto/sha512-kdf.o
|
|
|
|
OBJS += $(SRC)/tls/asn1.o
|
|
|
|
OBJS += $(SRC)/common/dpp.o
|
2020-05-11 00:16:12 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_auth.o
|
2020-05-11 00:30:13 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_backup.o
|
2020-05-10 15:25:42 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_crypto.o
|
2020-05-10 15:51:46 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_pkex.o
|
2020-05-01 23:02:15 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_reconfig.o
|
2020-05-11 10:59:46 +02:00
|
|
|
OBJS += $(SRC)/common/dpp_tcp.o
|
2020-04-04 19:07:38 +02:00
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
OBJS += dpp-uri.o
|
|
|
|
|
|
|
|
_OBJS_VAR := OBJS
|
|
|
|
include ../../../src/objs.mk
|
|
|
|
|
2020-10-11 09:58:58 +02:00
|
|
|
_OBJS_VAR := LIBS
|
|
|
|
include ../../../src/objs.mk
|
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
dpp-uri: $(OBJS) $(LIBS)
|
2020-04-21 23:51:13 +02:00
|
|
|
$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
|
2020-04-04 19:07:38 +02:00
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
clean: common-clean
|
2020-04-04 19:07:38 +02:00
|
|
|
rm -f dpp-uri *~ *.o *.d ../*~ ../*.o ../*.d
|