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