]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/Makefile.in
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU tools
f3c0d7a5
A
2## Copyright (C) 2016 and later: Unicode, Inc. and others.
3## License & terms of use: http://www.unicode.org/copyright.html
51004dcb 4## Copyright (c) 1999-2012, International Business Machines Corporation and
b75a7d8f
A
5## others. All Rights Reserved.
6
7## Source directory information
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10
11top_builddir = ..
12
13include $(top_builddir)/icudefs.mk
14
b75a7d8f
A
15## Build directory information
16subdir = tools
17
51004dcb 18SUBDIRS = toolutil ctestfw makeconv genrb genbrk \
729e4ab9 19gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \
51004dcb 20gentest gennorm2 gencfu gendict
b75a7d8f 21
f3c0d7a5
A
22ifneq (@platform_make_fragment_name@,mh-cygwin-msvc)
23SUBDIRS += escapesrc
24endif
25
b75a7d8f 26## List of phony targets
73c04bcf 27.PHONY : all all-local all-recursive install install-local \
b75a7d8f
A
28install-recursive clean clean-local clean-recursive distclean \
29distclean-local distclean-recursive dist dist-local dist-recursive \
4388f060 30check check-local check-recursive build-local check-exhaustive
b75a7d8f
A
31
32## Clear suffix list
33.SUFFIXES :
34
35## List of standard targets
36all: all-recursive
37install: install-recursive
38clean: clean-local clean-recursive
39distclean : distclean-recursive
40dist: dist-recursive
41check: all check-recursive
42
4388f060
A
43check-exhaustive: check
44
b75a7d8f
A
45## Recursive targets
46all-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; \
2ca993e8 59 if test "$$target" != "clean"; then \
f3c0d7a5 60 if test -n "$(TZDATA)"; then \
2ca993e8
A
61 echo "$(MAKE)[$(MAKELEVEL)]: Making \`tztoolobjs' in \`tzcode'"; \
62 (cd tzcode && $(MAKE) tztoolobjs) || exit; \
f3c0d7a5 63 fi; \
2ca993e8 64 fi; \
b75a7d8f
A
65 if test "$$dot_seen" = "no"; then \
66 $(MAKE) "$$target-local" || exit; \
67 fi
68
69all-local: build-local
70
b75a7d8f
A
71
72## Files to remove for 'make clean'
374ca955 73CLEANFILES = *~
b75a7d8f
A
74
75install-local:
76
77dist-local:
78
374ca955 79clean-local:
b75a7d8f 80 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
b75a7d8f
A
81
82# Clean up any old variations..
83distclean-local: clean-local
84 $(RMV) Makefile
85
b75a7d8f
A
86build-local:
87
b75a7d8f
A
88check-local:
89
90Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
91 cd $(top_builddir) \
92 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
93