Init basesystem source codes.
[staging/basesystem.git] / vehicleservice / positioning / server / src / ServiceInterface / 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 ######### installed library(*.a) #############
18 INST_LIBS = libPOS_ServiceInterface
19
20 ######### compiled sources  #############
21 libPOS_ServiceInterface_SRCS += BackupMgrIf.cpp
22 libPOS_ServiceInterface_SRCS += ClockIf.cpp
23 libPOS_ServiceInterface_SRCS += CommUsbIf.cpp
24 libPOS_ServiceInterface_SRCS += DevDetectSrvIf.cpp
25 libPOS_ServiceInterface_SRCS += DiagSrvIf.cpp
26 libPOS_ServiceInterface_SRCS += PSMShadowIf.cpp
27 libPOS_ServiceInterface_SRCS += VehicleIf.cpp
28
29 ######### add include path #############
30 CPPFLAGS += -I../../include/common/
31 CPPFLAGS += -I../../include/nsfw/
32 CPPFLAGS += -I../../include/ServiceInterface
33
34 CPPFLAGS += -I../../../client/include
35
36 #CPPFLAGS += -I../../../../diag_code/library/include
37
38 ######### add compile option #############
39 CPPFLAGS += -DLINUX
40
41 LDFLAGS += -Wl,--no-undefined
42 LDFLAGS += -Wl,--no-as-needed
43 CPPFLAGS += -Werror=implicit-function-declaration
44 CPPFLAGS += -Werror=format-security
45 CPPFLAGS += -Wconversion
46 CPPFLAGS += -Wint-to-pointer-cast
47 CPPFLAGS += -Wpointer-arith
48 CPPFLAGS += -Wformat
49
50 ######### add library path #############
51 LDFLAGS +=
52
53 include ../../../../vehicle_service.mk
54