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 all test: apidef.tab.h
29 apidef.tab.h apidef.tab.c: apidef.y
30 cd ../tool; $(YACC) $(YFLAGS) $<
32 CLEAN_FILES := ../tool/apidef.tab.h ../tool/apidef.tab.c
34 CLEAN_TARGET := clean-test clean-all clean-all-test \
35 clean-self clean-self-test clean-all-sub clean-self-sub #comment out for make clean errorclean-sub
37 EMPTY_TARGET := install-test build-lib build-prog build-shlib build-arlib \
38 build-test-mock-lib build-test-mock-arlib build-test-mock-shlib build-cfg \
39 install install-header install-test-mock-header install-test-casename install-lib \
40 install-shlib install-arlib install-prog install-data install-cfg install-preload
43 .PHONY: all install test clean $(CLEAN_TARGET) $(EMPTY_TARGET)
45 $(CLEAN_TARGET): clean
50 include ../../other_service.mk