Organized dependencies of xpath
[staging/basesystem.git] / service / other / rpc_library / tool_for_arm / 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 all test: apidef.tab.h
18
19 clean:
20         rm -rf $(CLEAN_FILES)
21
22 YACC := bison
23 YFLAGS := -d -t
24
25 VPATH += ../tool
26 CPPFLAGS += -I../tool
27 OUTPUTDIR += ../tool
28
29 apidef.tab.h apidef.tab.c:      apidef.y
30         cd ../tool; $(YACC) $(YFLAGS) $<
31
32 CLEAN_FILES := ../tool/apidef.tab.h ../tool/apidef.tab.c
33
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 
36
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 \
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
41
42
43 .PHONY: all install test clean $(CLEAN_TARGET) $(EMPTY_TARGET)
44
45 $(CLEAN_TARGET): clean 
46
47 $(EMPTY_TARGET):
48
49
50 include ../../other_service.mk