1 ## Makefile.in for ICU tests
2 ## Copyright (c) 1999-2011, International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Source directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
13 ## Build directory information
16 @ICUIO_TRUE@IOTEST = iotest
18 ## Files to remove for 'make clean'
21 SUBDIRS = testdata intltest $(IOTEST) cintltst
23 ## List of phony targets
24 .PHONY : everything all all-local all-recursive install install-local \
25 install-recursive clean clean-local clean-recursive distclean \
26 distclean-local distclean-recursive dist dist-recursive dist-local \
27 check check-recursive check-local xcheck xcheck-recursive xcheck-local \
28 check-exhaustive check-exhaustive-recursive
33 ## List of standard targets
34 everything: all-recursive all-local
36 ifneq ($(RECURSIVE),YES)
37 @echo simply use \`make\' \(or \`make everything\'\) to do all
40 install: install-recursive install-local
41 clean: clean-recursive clean-local
42 distclean : distclean-recursive distclean-local
43 $(RMV) hdrtst/Makefile
44 $(RMV) perf/convperf/Makefile
46 dist: dist-recursive dist-local
47 check: everything check-recursive check-local
48 check-recursive: all-recursive
49 # the xcheck targets create a ../test-*.xml file in JUnit format.
50 xcheck: everything xcheck-recursive xcheck-local
51 xcheck-recursive: all-recursive
52 check-exhaustive: everything check-exhaustive-recursive check-local
55 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive:
57 target=`echo $@ | sed s/-recursive//`; \
58 list='$(SUBDIRS)'; for subdir in $$list; do \
59 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
60 if test "$$subdir" = "."; then \
62 local_target="$$target-local"; \
64 local_target="$$target"; \
66 (cd $$subdir && $(MAKE) $$local_target) || exit; \
68 if test "$$dot_seen" = "no"; then \
69 $(MAKE) "$$target-local" || exit; \
72 xcheck-recursive check-recursive check-exhaustive-recursive:
75 target=`echo $@ | sed s/-recursive//`; \
76 list='$(SUBDIRS)'; for subdir in $$list; do \
77 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
78 local_target="$$target"; \
79 if (cd $$subdir && $(MAKE) $$local_target); then \
80 goods="$$goods $$subdir"; \
82 bads="$$bads $$subdir"; \
85 echo "---------------"; \
86 echo "ALL TESTS SUMMARY:"; \
87 if test ! "x$$bads" = "x"; then \
89 echo "===== ERRS: $$bads"; exit 1; \
91 echo "All tests OK: $$goods"; \
101 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
103 distclean-local: clean-local
106 xcheck-local check-local: all-local
108 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
110 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status