Files
TencentOS-tiny/components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/http2/iot.mk
dcxajichu 8c24d921b0 support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt
project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
2019-10-31 16:36:28 +08:00

17 lines
723 B
Makefile

LIBA_TARGET := libiot_http2.a
HDR_REFS += src/infra
DEPENDS += wrappers external_libs/nghttp2
LDFLAGS += -liot_sdk -liot_hal -liot_tls -liot_nghttp2
LIB_SRCS_EXCLUDE := examples/http2_example_stream.c examples/http2_example_uploadfile.c examples/http2_example_break_resume.c
SRCS_http2-example-stream += examples/http2_example_stream.c
SRCS_http2-example-uploadfile += examples/http2_example_uploadfile.c
SRCS_http2-example-break-resume += examples/http2_example_break_resume.c
$(call Append_Conditional, TARGET, http2-example-stream, HTTP2_COMM_ENABLED)
$(call Append_Conditional, TARGET, http2-example-uploadfile http2-example-break-resume, HTTP2_COMM_ENABLED FS_ENABLED)