]> git.saurik.com Git - apple/icu.git/blob - icuSources/tools/Makefile.in
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / 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 ifneq (@platform_make_fragment_name@,mh-cygwin-msvc)
23 SUBDIRS += escapesrc
24 endif
25
26 ## List of phony targets
27 .PHONY : all all-local all-recursive install install-local \
28 install-recursive clean clean-local clean-recursive distclean \
29 distclean-local distclean-recursive dist dist-local dist-recursive \
30 check check-local check-recursive build-local check-exhaustive
31
32 ## Clear suffix list
33 .SUFFIXES :
34
35 ## List of standard targets
36 all: all-recursive
37 install: install-recursive
38 clean: clean-local clean-recursive
39 distclean : distclean-recursive
40 dist: dist-recursive
41 check: all check-recursive
42
43 check-exhaustive: check
44
45 ## Recursive targets
46 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
47 @dot_seen=no; \
48 target=`echo $@ | sed s/-recursive//`; \
49 list='$(SUBDIRS)'; for subdir in $$list; do \
50 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
51 if test "$$subdir" = "."; then \
52 dot_seen=yes; \
53 local_target="$$target-local"; \
54 else \
55 local_target="$$target"; \
56 fi; \
57 (cd $$subdir && $(MAKE) $$local_target) || exit; \
58 done; \
59 if test "$$target" != "clean"; then \
60 if test -n "$(TZDATA)"; then \
61 echo "$(MAKE)[$(MAKELEVEL)]: Making \`tztoolobjs' in \`tzcode'"; \
62 (cd tzcode && $(MAKE) tztoolobjs) || exit; \
63 fi; \
64 fi; \
65 if test "$$dot_seen" = "no"; then \
66 $(MAKE) "$$target-local" || exit; \
67 fi
68
69 all-local: build-local
70
71
72 ## Files to remove for 'make clean'
73 CLEANFILES = *~
74
75 install-local:
76
77 dist-local:
78
79 clean-local:
80 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
81
82 # Clean up any old variations..
83 distclean-local: clean-local
84 $(RMV) Makefile
85
86 build-local:
87
88 check-local:
89
90 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
91 cd $(top_builddir) \
92 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
93