2 # @copyright Copyright (c) 2017-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.
19 VPATH = ./src ./include/$(COMPONENT_NAME)
21 INST_HEADERS = VP_GetEnv.h env_vehicle.h \
22 env_vehicleparameterlibrary.h env_vehicleparameterlibrary_serial.h env_ext.h \
23 VP_FuncCheck_CanRcv.h vehicle_parameter_library.h
25 libvp_SRCS = VP_FuncCheck_CanRcv.c VP_GetEnv.c
27 LDLIBS += -Wl,--no-as-needed
28 LDLIBS += -Wl,-Bdynamic -lns_backup
30 CPPFLAGS += -I./include
31 CPPFLAGS += -Werror=implicit-function-declaration
32 CPPFLAGS += -Werror=format-security
33 CPPFLAGS += -Wconversion
34 CPPFLAGS += -Wpointer-to-int-cast
35 CPPFLAGS += -Wint-to-pointer-cast
36 CPPFLAGS += -Wpointer-arith
38 CPPFLAGS += -DVP_FUNCCHECK_CANRCV_CANRCV_ACTIVATE
40 include ../../other_service.mk