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