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
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10
11top_builddir = ..
12
13include $(top_builddir)/icudefs.mk
14
15## Build directory information
16subdir = tools
17
18SUBDIRS = toolutil ctestfw makeconv genrb genbrk \
19gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \
20gentest gennorm2 gencfu gendict
21
22## List of phony targets
23.PHONY : all all-local all-recursive install install-local	\
24install-recursive clean clean-local clean-recursive distclean		\
25distclean-local distclean-recursive dist dist-local dist-recursive	\
26check check-local check-recursive build-local check-exhaustive
27
28## Clear suffix list
29.SUFFIXES :
30
31## List of standard targets
32all: all-recursive
33install: install-recursive
34clean: clean-local clean-recursive
35distclean : distclean-recursive
36dist: dist-recursive
37check: all check-recursive
38
39check-exhaustive: check
40
41## Recursive targets
42all-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
59all-local: build-local
60
61
62## Files to remove for 'make clean'
63CLEANFILES = *~
64
65install-local:
66
67dist-local:
68
69clean-local:
70	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
71
72# Clean up any old variations..
73distclean-local: clean-local
74	$(RMV) Makefile
75
76build-local:
77
78check-local:
79
80Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
81	cd $(top_builddir) \
82	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
83
84