1 #******************************************************************
3 # Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
5 #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
23 richclient_env = env.Clone()
25 target_os = env.get('TARGET_OS')
27 ######################################################################
29 ######################################################################
30 richclient_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
31 richclient_env.AppendUnique(CPPDEFINES = ['TB_LOG'])
33 richclient_env.PrependUnique(CPPPATH = [
34 env.get('SRC_DIR') + '/resource/csdk/ocmalloc/include',
35 env.get('SRC_DIR') + '/resource/csdk/connectivity/common/inc',
36 env.get('SRC_DIR') + '/resource/csdk/connectivity/api',
37 env.get('SRC_DIR') + '/resource/csdk/stack/include',
38 env.get('SRC_DIR') + '/resource/csdk/logger/include',
39 env.get('SRC_DIR') + '/resource/csdk/security/include',
40 env.get('SRC_DIR') + '/extlibs/cjson',
41 env.get('SRC_DIR') + '/service/easy-setup/sdk/mediator/inc',
42 env.get('SRC_DIR') + '/service/easy-setup/sdk/common'])
44 richclient_env.PrependUnique(LIBS = ['oc', 'octbstack', 'oc_logger', 'pthread', 'connectivity_abstraction', 'coap', 'ESSDKLibrary'])
46 richclient = richclient_env.Program('richclient', 'easysetupsample.cpp')
48 i_richclient = richclient_env.Install(env.get('BUILD_DIR'), richclient)
50 Alias('richclient', i_richclient)
51 env.AppendTarget('richclient')