2 # @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
18 #######################################
21 ######### add source path #############
22 ######### add local value #############
23 VPATH = ./src ./../client/libtskm ./../client/libtskmcfg/include/$(COMPONENT_NAME)
25 tskmgr_SRCS += tskm_main.cpp
27 ######### compiled sources #############
28 tskmgr_SRCS += tskm_api.cpp \
37 tskm_port_subsys.cpp \
42 ######### add include path #############
43 CPPFLAGS = -I./include/ -I./../include-share/ -I./../client/ss_data_init/include/ -I./../client/libtskmcfg/include/ -I./../client/libtskm/
44 ######### add compile option ###########
45 CPPFLAGS += -fno-exceptions
46 CPPFLAGS += -DIMPL_AGL_APPLICATION_CALLBACKS_PRE_BACKGROUND
47 ######### add library path #############
48 LDFLAGS += -L./../client/ss_data_init -L./../client/libtskmcfg
50 ######### linked library (dynamic) #############
51 LDLIBS += -Wl,-Bdynamic -lstdc++
52 LDLIBS += -Wl,-Bdynamic -lrt # for mq_xxx
53 LDLIBS += -Wl,-Bdynamic -lss_data_init
54 LDLIBS += -Wl,-Bdynamic -lSS_SystemIfUnified
55 LDLIBS += -Wl,-Bdynamic -lNS_FrameworkUnified
56 LDLIBS += -Wl,-Bdynamic -lresm
57 LDLIBS += -Wl,-Bdynamic -lcommon
58 LDLIBS += -Wl,-Bdynamic -lvp
59 LDLIBS += -Wl,-Bdynamic -lrpc -lbs_ev
61 #LDLIBS += -Wl,-Bdynamic -lDiagCodeAPI
62 LDLIBS += -Wl,-Bdynamic -ltskmcfg
67 include ../../system_service.mk