920fbea4e003aef91fdd161668475eabd6940fc1
[staging/basesystem.git] / service / system / task_manager / client / ss_data_init / Makefile
1 #
2 # @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3 #
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
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15 #
16
17 #######################################
18 #######################################
19 INST_SHLIBS := libss_data_init
20
21 MKDATAINIT=mkdatainit.sh
22
23 INST_HEADERS = tskm_data_init.h task_manager_libss_data_init.h
24
25 VPATH = ./include/$(COMPONENT_NAME)
26 CPPFLAGS += -I./include/ -I./../../server/include -I./../libtskmcfg/include
27
28 libss_data_init_SRCS := tskm_data_init.cpp
29 libss_data_init_PCOS := $(shell ls ./obj/*.os)
30
31 $(libss_data_init_SRCS): $(libss_data_init_PCOS)
32         set -e ; \
33         sh $(MKDATAINIT)
34
35 ######## add compile option ########
36 LDFLAGS += -Wl,--no-as-needed
37 CPPFLAGS += -fno-exceptions
38
39 CLEAN_FILES=$(libss_data_init_SRCS)
40
41 LDLIBS = -Wl,-Bdynamic -lNS_FrameworkUnified
42
43 include ../../../system_service.mk