00b5e99b65
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
40 lines
952 B
Makefile
40 lines
952 B
Makefile
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
|
|
OBJS += $(SRC)/common/dpp_auth.o
|
|
OBJS += $(SRC)/common/dpp_backup.o
|
|
OBJS += $(SRC)/common/dpp_crypto.o
|
|
OBJS += $(SRC)/common/dpp_pkex.o
|
|
OBJS += $(SRC)/common/dpp_reconfig.o
|
|
OBJS += $(SRC)/common/dpp_tcp.o
|
|
|
|
OBJS += dpp-uri.o
|
|
|
|
_OBJS_VAR := OBJS
|
|
include ../../../src/objs.mk
|
|
|
|
dpp-uri: $(OBJS) $(LIBS)
|
|
$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
|
|
|
|
clean: common-clean
|
|
rm -f dpp-uri *~ *.o *.d ../*~ ../*.o ../*.d
|