]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | ## Makefile.in for ICU tests |
2 | ## Copyright (c) 1999, International Business Machines Corporation and | |
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 | ||
13 | ## Platform-specific setup | |
14 | include @platform_make_fragment@ | |
15 | ||
16 | ## Build directory information | |
17 | subdir = test | |
18 | ||
19 | ## Files to remove for 'make clean' | |
20 | CLEANFILES = *~ | |
21 | ||
22 | SUBDIRS = testdata intltest cintltst ieeetest | |
23 | ||
24 | ## List of phony targets | |
25 | .PHONY : everything all all-local all-recursive install install-local \ | |
26 | install-recursive clean clean-local clean-recursive distclean \ | |
27 | distclean-local distclean-recursive dist dist-recursive dist-local \ | |
28 | check check-recursive check-local | |
29 | ||
30 | ## Clear suffix list | |
31 | .SUFFIXES : | |
32 | ||
33 | ## List of standard targets | |
34 | everything: all-recursive all-local | |
35 | all: | |
36 | ifneq ($(RECURSIVE),YES) | |
37 | @echo simply use \`make\' \(or \`make everything\'\) to do all | |
38 | endif | |
39 | ||
40 | install: install-recursive install-local | |
41 | clean: clean-recursive clean-local | |
42 | distclean : distclean-recursive distclean-local | |
43 | dist: dist-recursive dist-local | |
44 | check: everything check-recursive check-local | |
45 | ||
46 | ## Recursive targets | |
47 | all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: | |
48 | @dot_seen=no; \ | |
49 | target=`echo $@ | sed s/-recursive//`; \ | |
50 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
51 | echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ | |
52 | if test "$$subdir" = "."; then \ | |
53 | dot_seen=yes; \ | |
54 | local_target="$$target-local"; \ | |
55 | else \ | |
56 | local_target="$$target"; \ | |
57 | fi; \ | |
58 | (cd $$subdir && $(MAKE) $$local_target) || exit; \ | |
59 | done; \ | |
60 | if test "$$dot_seen" = "no"; then \ | |
61 | $(MAKE) "$$target-local" || exit; \ | |
62 | fi | |
63 | ||
64 | all-local: | |
65 | ||
66 | install-local: | |
67 | ||
68 | dist-local: | |
69 | ||
70 | clean-local: | |
71 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
72 | ||
73 | distclean-local: clean-local | |
74 | $(RMV) Makefile | |
75 | ||
76 | check-local: all-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 |