1 ## Makefile.in for ICU tests 2 ## Copyright (c) 1999-2007, International Business Machines Corporation and 3 ## others. All Rights Reserved. 4 5 ## Source directory information 6 srcdir = . 7 top_srcdir = .. 8 9 top_builddir = .. 10 11 include $(top_builddir)/icudefs.mk 12 13 ## Build directory information 14 subdir = test 15 16 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 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 49 ## Recursive targets 50 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-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 67 all-local: 68 69 install-local: 70 71 dist-local: 72 73 clean-local: 74 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 75 76 distclean-local: clean-local 77 $(RMV) Makefile 78 79 check-local: all-local 80 81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 82 cd $(top_builddir) \ 83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 84 85