加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makefile 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
zqd2000 提交于 2020-06-05 15:18 . 初次创建
include tools/project.mk
include make.settings
include tools/default_settings.mk
include tools/parse_make_settings.mk
include $(RULE_DIR)/funcs.mk
# CFLAGS += -DINSPECT_MQTT_FLOW
COMP_LIB := libiot_sdk.a
COMP_LIB_COMPONENTS := \
src/infra \
src/dev_sign \
$(call CompLib_Map, FEATURE_MQTT_COMM_ENABLED, src/mqtt)
$(call CompLib_Map, FEATURE_COAP_CLIENT, src/coap)
$(call CompLib_Map, FEATURE_COAP_SERVER, src/coap)
$(call CompLib_Map, FEATURE_SUPPORT_TLS, certs)
$(call CompLib_Map, FEATURE_COAP_DTLS_SUPPORT, certs)
$(call CompLib_Map, FEATURE_DYNAMIC_REGISTER, src/dynamic_register)
$(call CompLib_Map, FEATURE_ATM_ENABLED, src/atm)
$(call CompLib_Map, FEATURE_DEV_RESET, src/dev_reset)
$(call CompLib_Map, FEATURE_OTA_ENABLED, src/ota)
$(call CompLib_Map, FEATURE_DEVICE_MODEL_ENABLED, src/dev_model)
$(call CompLib_Map, FEATURE_HTTP_COMM_ENABLED, src/http)
$(call CompLib_Map, FEATURE_DEV_BIND_ENABLED, src/dev_bind)
$(call CompLib_Map, FEATURE_BIND_ENABLED, src/bind)
$(call CompLib_Map, FEATURE_WIFI_PROVISION_ENABLED, src/wifi_provision)
$(call CompLib_Map, FEATURE_HTTP2_COMM_ENABLED, src/http2)
$(call CompLib_Map, FEATURE_MQTT_SHADOW, src/shadow)
SUBDIRS += wrappers
SUBDIRS += external_libs/mbedtls
SUBDIRS += tests
$(call Append_Conditional, SUBDIRS, external_libs/nghttp2, HTTP2_COMM_ENABLED)
include $(RULE_DIR)/rules.mk
include tools/mock_build_options.mk
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化