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