Add cloud-proxy target into Makefile (removed in commit 722bb1e392c1)
@@ -148,6 +148,9 @@ ifeq ($(SWUPDATE),1)
endif
+ifeq ($(WKCORE),1)
+ CFLAGS += -DOC_WKCORE
+endif
ifeq ($(CLOUD),1)
# UNIT_TESTS += cloudtest
@@ -156,7 +159,7 @@ ifeq ($(CLOUD),1)
CFLAGS += -DOC_CLOUD
TCP=1
IPV4=1
- SAMPLES += cloud_client cloud_server cloud_tests
+ SAMPLES += cloud_client cloud_server cloud_tests cloud_proxy
endif
OBT = onboarding_tool
@@ -307,6 +310,7 @@ copy_idd_files:
@cp ../../apps/server_certification_tests_IDD.cbor .
@cp ../../apps/client_certification_tests_IDD.cbor .
@cp ../../apps/server_rules_IDD.cbor .
+ @cp ../../apps/cloud_proxy_IDD.cbor .
${SRC} ${SRC_COMMON}: $(MBEDTLS_PATCH_FILE)
@@ -464,6 +468,10 @@ cloud_tests: libiotivity-lite-client-server.a $(ROOT_DIR)/apps/cloud_certificati
@mkdir -p $@_creds
${CC} -o $@ ../../apps/cloud_certification_tests.c libiotivity-lite-client-server.a -DOC_CLIENT -DOC_SERVER ${CFLAGS} ${CFLAGS_CLOUD} ${LIBS}
+cloud_proxy: libiotivity-lite-client-server.a $(ROOT_DIR)/apps/cloud_proxy.c copy_pki_certs copy_idd_files
+ @mkdir -p $@_creds
+ ${CC} -o $@ ../../apps/cloud_proxy.c libiotivity-lite-client-server.a -DOC_CLIENT -DOC_SERVER ${CFLAGS} ${CFLAGS_CLOUD} ${LIBS}
+
${OBT}: libiotivity-lite-client.a $(ROOT_DIR)/onboarding_tool/obtmain.c copy_pki_certs
@mkdir -p $@_creds
${CC} -o $@ ../../onboarding_tool/obtmain.c libiotivity-lite-client.a -DOC_CLIENT ${CFLAGS} ${LIBS}
