]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/Makefile.in
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / test / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU tests
46f4442e 2## Copyright (c) 1999-2008, International Business Machines Corporation and
b75a7d8f
A
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
b75a7d8f
A
13## Build directory information
14subdir = test
15
374ca955
A
16@ICUIO_TRUE@IOTEST = iotest
17
b75a7d8f
A
18## Files to remove for 'make clean'
19CLEANFILES = *~
20
374ca955 21SUBDIRS = testdata intltest $(IOTEST) cintltst
b75a7d8f
A
22
23## List of phony targets
24.PHONY : everything all all-local all-recursive install install-local \
25install-recursive clean clean-local clean-recursive distclean \
26distclean-local distclean-recursive dist dist-recursive dist-local \
27check check-recursive check-local
28
29## Clear suffix list
30.SUFFIXES :
31
32## List of standard targets
33everything: all-recursive all-local
34all:
35ifneq ($(RECURSIVE),YES)
36 @echo simply use \`make\' \(or \`make everything\'\) to do all
37endif
38
39install: install-recursive install-local
40clean: clean-recursive clean-local
41distclean : distclean-recursive distclean-local
374ca955 42 $(RMV) hdrtst/Makefile
46f4442e 43 $(RMV) perf/convperf/Makefile
374ca955 44
b75a7d8f
A
45dist: dist-recursive dist-local
46check: everything check-recursive check-local
374ca955 47check-recursive: all-recursive
b75a7d8f
A
48
49## Recursive targets
46f4442e 50all-recursive install-recursive clean-recursive distclean-recursive dist-recursive:
b75a7d8f
A
51 @dot_seen=no; \
52 target=`echo $@ | sed s/-recursive//`; \
53 list='$(SUBDIRS)'; for subdir in $$list; do \
54 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
55 if test "$$subdir" = "."; then \
56 dot_seen=yes; \
57 local_target="$$target-local"; \
58 else \
59 local_target="$$target"; \
60 fi; \
61 (cd $$subdir && $(MAKE) $$local_target) || exit; \
62 done; \
63 if test "$$dot_seen" = "no"; then \
64 $(MAKE) "$$target-local" || exit; \
65 fi
66
46f4442e
A
67check-recursive:
68 @goods=; \
69 bads=; \
70 target=`echo $@ | sed s/-recursive//`; \
71 list='$(SUBDIRS)'; for subdir in $$list; do \
72 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
73 local_target="$$target"; \
74 if (cd $$subdir && $(MAKE) $$local_target); then \
75 goods="$$goods $$subdir"; \
76 else \
77 bads="$$bads $$subdir"; \
78 fi; \
79 done; \
80 echo "---------------"; \
81 echo "ALL TESTS SUMMARY:"; \
82 if test ! "x$$bads" = "x"; then \
83 echo "ok: $$goods"; \
84 echo "===== ERRS: $$bads"; exit 1; \
85 else \
86 echo "All tests OK: $$goods"; \
87 fi
88
b75a7d8f
A
89all-local:
90
91install-local:
92
93dist-local:
94
95clean-local:
96 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
97
98distclean-local: clean-local
99 $(RMV) Makefile
100
101check-local: all-local
102
103Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
104 cd $(top_builddir) \
105 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
106