Commit 6985a554 authored by Kishen Maloor's avatar Kishen Maloor

Add cloud_client sample to interact w/ OCF Clouds

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 288919d5
Pipeline #625 failed with stage
in 6 minutes and 2 seconds
This diff is collapsed.
......@@ -134,7 +134,7 @@ ifeq ($(CLOUD),1)
CFLAGS += -DOC_CLOUD
TCP=1
IPV4=1
SAMPLES += cloud_server cloud_tests
SAMPLES += cloud_client cloud_server cloud_tests
endif
OBT = onboarding_tool
......@@ -378,6 +378,10 @@ cloud_server: libiotivity-lite-client-server.a $(ROOT_DIR)/apps/cloud_server.c
@mkdir -p $@_creds
${CC} -o $@ ../../apps/cloud_server.c libiotivity-lite-client-server.a -DOC_CLIENT -DOC_SERVER ${CFLAGS} ${CFLAGS_CLOUD} ${LIBS}
cloud_client: libiotivity-lite-client-server.a $(ROOT_DIR)/apps/cloud_client.c
@mkdir -p $@_creds
${CC} -o $@ ../../apps/cloud_client.c libiotivity-lite-client-server.a -DOC_CLIENT -DOC_SERVER ${CFLAGS} ${CFLAGS_CLOUD} ${LIBS}
cloud_tests: libiotivity-lite-client-server.a $(ROOT_DIR)/apps/cloud_certification_tests.c
@mkdir -p $@_creds
${CC} -o $@ ../../apps/cloud_certification_tests.c libiotivity-lite-client-server.a -DOC_CLIENT -DOC_SERVER ${CFLAGS} ${CFLAGS_CLOUD} ${LIBS}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment