Imported Upstream version 58.1
[platform/upstream/icu.git] / source / tools / Makefile.in
1 ## Makefile.in for ICU tools
2 ## Copyright (C) 2016 and later: Unicode, Inc. and others.
3 ## License & terms of use: http://www.unicode.org/copyright.html
4 ## Copyright (c) 1999-2012, International Business Machines Corporation and
5 ## others. All Rights Reserved.
6
7 ## Source directory information
8 srcdir = @srcdir@
9 top_srcdir = @top_srcdir@
10
11 top_builddir = ..
12
13 include $(top_builddir)/icudefs.mk
14
15 ## Build directory information
16 subdir = tools
17
18 SUBDIRS = toolutil ctestfw makeconv genrb genbrk \
19 gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \
20 gentest gennorm2 gencfu gendict
21
22 ## List of phony targets
23 .PHONY : all all-local all-recursive install install-local      \
24 install-recursive clean clean-local clean-recursive distclean           \
25 distclean-local distclean-recursive dist dist-local dist-recursive      \
26 check check-local check-recursive build-local check-exhaustive
27
28 ## Clear suffix list
29 .SUFFIXES :
30
31 ## List of standard targets
32 all: all-recursive
33 install: install-recursive
34 clean: clean-local clean-recursive
35 distclean : distclean-recursive
36 dist: dist-recursive 
37 check: all check-recursive
38
39 check-exhaustive: check
40
41 ## Recursive targets
42 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
43         @dot_seen=no; \
44         target=`echo $@ | sed s/-recursive//`; \
45         list='$(SUBDIRS)'; for subdir in $$list; do \
46           echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
47           if test "$$subdir" = "."; then \
48                 dot_seen=yes; \
49                 local_target="$$target-local"; \
50           else \
51                 local_target="$$target"; \
52           fi; \
53           (cd $$subdir && $(MAKE) $$local_target) || exit; \
54         done; \
55         if test "$$dot_seen" = "no"; then \
56           $(MAKE) "$$target-local" || exit; \
57         fi
58
59 all-local: build-local
60
61
62 ## Files to remove for 'make clean'
63 CLEANFILES = *~
64
65 install-local:
66
67 dist-local:
68
69 clean-local: 
70         test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
71
72 # Clean up any old variations.. 
73 distclean-local: clean-local
74         $(RMV) Makefile
75
76 build-local:
77
78 check-local:
79
80 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
81         cd $(top_builddir) \
82         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
83