forked from aliyun/iotkit-embedded
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
37 lines (30 loc) · 1.31 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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_WIFI_PROVISION_ENABLED, src/wifi_provision)
$(call CompLib_Map, FEATURE_HTTP2_COMM_ENABLED, src/http2)
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