Makefile.in revision 85bf2e2fbc60a9f938064abc8127d61da7d19882
1## Makefile.in for ICU tests 2## Copyright (c) 1999-2008, International Business Machines Corporation and 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 13## Build directory information 14subdir = test 15 16@ICUIO_TRUE@IOTEST = iotest 17 18## Files to remove for 'make clean' 19CLEANFILES = *~ 20 21SUBDIRS = testdata intltest $(IOTEST) cintltst 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 42 $(RMV) hdrtst/Makefile 43 $(RMV) perf/convperf/Makefile 44 45dist: dist-recursive dist-local 46check: everything check-recursive check-local 47check-recursive: all-recursive 48 49## Recursive targets 50all-recursive install-recursive clean-recursive distclean-recursive dist-recursive: 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 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 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 107