2 # @copyright Copyright (c) 2016-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.
17 # Top level makefile triggered to export all options
19 # Set Optimization on for all lower makefiles
20 #export OPTIMIZATION=OPTIMIZE
22 all interface clean clean_interface clean_test:
23 $(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE DYNAMIC=TRUE $(MAKECMDGOALS)
24 $(MAKE) -C src DEBUG=TRUE OPTIMIZATION=NONE DYNAMIC=TRUE $(MAKECMDGOALS)
25 $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS)
26 $(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS)
28 # doxygen and graphviz tools must be in path of Jazz Build Engine
29 # tested with doxygen 1.7.2 and graphviz 2.26.3
34 $(MAKE) -C src TARGET=analysis lint
36 # unit tests require main libraries -- typically not run directly, but part of a build engine
38 #$(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE $(MAKECMDGOALS)
39 #$(MAKE) -C src TARGET=x86 $(MAKECMDGOALS)
40 $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS)
41 $(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS)
44 #$(MAKE) -C src OPTIMIZATION=FULL_OPTIMIZE DYNAMIC=TRUE $(MAKECMDGOALS)
45 #$(MAKE) -C src DEBUG=TRUE OPTIMIZATION=NONE DYNAMIC=TRUE $(MAKECMDGOALS)
46 $(MAKE) -C src TARGET=x86 DYNAMIC=TRUE $(MAKECMDGOALS)
47 #$(MAKE) -C src TARGET=x86 DEBUG=TRUE DYNAMIC=TRUE $(MAKECMDGOALS)
50 # Stage is a forced clean, build, export
51 # Expectation is that the user sets the STAGE_LOCATION in initiating the makefile