Init basesystem source codes.
[staging/basesystem.git] / video_in_hal / systemservice / rom_access_library / library / nor / 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 ######### search paths #############
18 VPATH += src
19 VPATH += ../include/$(COMPONENT_NAME)
20
21 ######### installed shared library(*.so) #############
22 INST_SHLIBS = libssaccess
23
24 ######### headers to be installed(*.h) #############
25 INST_HEADERS = nor_backup.h
26
27 ######### compiled sources #############
28 libssaccess_SRCS = nor_backup.c
29
30 ######### add include path #############
31 CPPFLAGS += -I../include/
32
33 ######### frameworkunifiedlog options #############
34 LDFLAGS += -Wl,--no-undefined
35 LDFLAGS += -Wl,--no-as-needed
36
37 ######### add compile option #############
38 LINK_SHLIB_CXX := y
39 CPPFLAGS += -Werror=implicit-function-declaration
40 CPPFLAGS += -Werror=format-security
41 CPPFLAGS += -Wconversion
42 CPPFLAGS += -Wint-to-pointer-cast
43 CPPFLAGS += -Wpointer-arith
44 CPPFLAGS += -Wformat
45
46 include ../../../system_service.mk