Commit 46b7d859 authored by whmaizmy's avatar whmaizmy

【修改内容】调整相关目录

【提交人】陈伟灿
parent 61fa270c
......@@ -152,6 +152,7 @@ static void onDeliveryComplete(void* context, MQTTAsync_token token)
static void onConnectBuild(void *context, char *cause)
{
printf("onConnectBuild,disconnect cause:%s \n",cause);
//MQTTAsync_subscribe
}
static void onDisConnected(void *context, MQTTProperties* properties,enum MQTTReasonCodes reasonCode)
{
......
LIBA_TARGET := libiot_mqtt_func.a
LIBA_TARGET := libiot_mqtt_fnc.a
#SRCS_example := MQTTAsync_publish.c
......@@ -7,5 +7,5 @@ $(call Append_Conditional, TARGET, MQTTAsync_publish)
#CFLAGS += -I../../work/ssl/include -lrt
#LDFLAGS += -L../../work/ssl/lib
#DEPENDS += common/mqtt
LDFLAGS += -liot_sdk -liot_mqtt -ldl
LDFLAGS += -liot_mqtt -ldl
......@@ -8,10 +8,11 @@ include $(RULE_DIR)/funcs.mk
COMP_LIB := libiot_sdk.a
COMP_LIB_COMPONENTS := \
src/samples \
src/test \
SUBDIRS += common/mqtt
SUBDIRS += common/nanomsg
SUBDIRS += example/mqtt
$(call Append_Conditional, SUBDIRS)
......
LIBA_TARGET := libiot_mqtt_func.a
#SRCS_example := MQTTAsync_publish.c
#$(call Append_Conditional, TARGET, MQTTAsync_publish)
#CFLAGS += -I../../work/ssl/include -lrt
#LDFLAGS += -L../../work/ssl/lib
#DEPENDS += common/mqtt
#LDFLAGS += -liot_sdk -liot_mqtt -ldl
/*******************************************************************************
* Copyright (c) 2012, 2020 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
*
* The Eclipse Public License is available at
* https://www.eclipse.org/legal/epl-2.0/
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Ian Craggs - initial contribution
*******************************************************************************/
#include <stdio.h>
int test()
{
return 0;
}
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