From d756ff8c38ba9bc769e24dc382a6ac60fbdaee15 Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Wed, 21 Oct 2020 14:58:52 +0900 Subject: stub branch --- diag_record/library_record_thread/Makefile | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 diag_record/library_record_thread/Makefile (limited to 'diag_record/library_record_thread/Makefile') diff --git a/diag_record/library_record_thread/Makefile b/diag_record/library_record_thread/Makefile new file mode 100644 index 00000000..350cd90b --- /dev/null +++ b/diag_record/library_record_thread/Makefile @@ -0,0 +1,47 @@ +# +# @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +######### installed library(*.a) ############# +INST_LIBS = libPFDRECThread + +######### install headers(*.h) ############# +INST_HEADERS += pfdrec_thread_ifc.h + +######### compiled sources ############# +libPFDRECThread_SRCS += pfdrec_thread.cpp + +######### add source path ############# +VPATH += ./src ./include/$(COMPONENT_NAME) + +######### add include path ############# +CPPFLAGS += -I./include +CPPFLAGS += -I./include/stub +CPPFLAGS += -I./../library_record_api/include + +######### add compile option ############# +CPPFLAGS += -Werror=implicit-function-declaration +CPPFLAGS += -Werror=format-security +CPPFLAGS += -Wconversion +CPPFLAGS += -Wint-to-pointer-cast +CPPFLAGS += -Wpointer-arith +CPPFLAGS += -Wformat + +######### linked library (dynamic) ############# +LDFLAGS += -Wl,--no-undefined +LDFLAGS += -Wl,--no-as-needed +LDLIBS += -Wl,-Bdynamic -lstdc++ + +include ../../stub.mk -- cgit 1.2.3-korg