From 947c78887e791596d4a5ec2d1079f8b1a049628b Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Tue, 27 Oct 2020 11:16:21 +0900 Subject: basesystem 0.1 --- .../client/NativeServices/makefile_PosixBasedOS001 | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 nsframework/framework_unified/client/NativeServices/makefile_PosixBasedOS001 (limited to 'nsframework/framework_unified/client/NativeServices/makefile_PosixBasedOS001') diff --git a/nsframework/framework_unified/client/NativeServices/makefile_PosixBasedOS001 b/nsframework/framework_unified/client/NativeServices/makefile_PosixBasedOS001 new file mode 100644 index 00000000..9b512f43 --- /dev/null +++ b/nsframework/framework_unified/client/NativeServices/makefile_PosixBasedOS001 @@ -0,0 +1,55 @@ +# +# @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. +# + +# Top level makefile triggered to export all options + +# Set Optimization on for all lower makefiles +#export OPTIMIZATION=OPTIMIZE + +all interface clean clean_interface clean_test: + $(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE DYNAMIC=TRUE $(MAKECMDGOALS) + $(MAKE) -C src DEBUG=TRUE OPTIMIZATION=NONE DYNAMIC=TRUE $(MAKECMDGOALS) + $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS) + $(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS) + +# doxygen and graphviz tools must be in path of Jazz Build Engine +# tested with doxygen 1.7.2 and graphviz 2.26.3 +docs: + $(MAKE) -C dox all + +lint: + $(MAKE) -C src TARGET=analysis lint + +# unit tests require main libraries -- typically not run directly, but part of a build engine +unittest: + #$(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE $(MAKECMDGOALS) + #$(MAKE) -C src TARGET=x86 $(MAKECMDGOALS) + $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS) + $(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS) + +functionaltest misc: + #$(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE DYNAMIC=TRUE $(MAKECMDGOALS) + #$(MAKE) -C src DEBUG=TRUE OPTIMIZATION=NONE DYNAMIC=TRUE $(MAKECMDGOALS) + $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS) + #$(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS) + + +# Stage is a forced clean, build, export +# Expectation is that the user sets the STAGE_LOCATION in initiating the makefile +stage: + $(MAKE) clean + $(MAKE) all + $(MAKE) -C src stage -- cgit 1.2.3-korg