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/perf 15 16 @ICUIO_TRUE@IOTEST = iotest 17 18 ## Files to remove for 'make clean' 19 CLEANFILES = *~ 20 21 SUBDIRS = collationperf charperf normperf ubrkperf unisetperf usetperf ustrperf utfperf utrie2perf DateFmtPerf 22 23 # Subdirs that support 'xperf' 24 XSUBDIRS = DateFmtPerf 25 26 ## List of phony targets 27 .PHONY : everything all all-local all-recursive install install-local \ 28 install-recursive clean clean-local clean-recursive distclean \ 29 distclean-local distclean-recursive dist dist-recursive dist-local \ 30 check check-recursive check-local xperf xperf-recursive 31 32 ## Clear suffix list 33 .SUFFIXES : 34 35 ## List of standard targets 36 everything: all-recursive all-local 37 all: 38 ifneq ($(RECURSIVE),YES) 39 @echo simply use \`make\' \(or \`make everything\'\) to do all 40 endif 41 42 install: install-recursive install-local 43 clean: clean-recursive clean-local 44 distclean : distclean-recursive distclean-local 45 $(RMV) hdrtst/Makefile 46 $(RMV) perf/convperf/Makefile 47 48 dist: dist-recursive dist-local 49 check: everything check-recursive check-local 50 check-recursive: all-recursive 51 52 xperf: everything 53 list='$(XSUBDIRS)'; for xsubdir in $$list; do \ 54 $(MAKE) -w -C $$xsubdir xperf; \ 55 done 56 57 ## Recursive targets 58 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: 59 @dot_seen=no; \ 60 target=`echo $@ | sed s/-recursive//`; \ 61 list='$(SUBDIRS)'; for subdir in $$list; do \ 62 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ 63 if test "$$subdir" = "."; then \ 64 dot_seen=yes; \ 65 local_target="$$target-local"; \ 66 else \ 67 local_target="$$target"; \ 68 fi; \ 69 (cd $$subdir && $(MAKE) $$local_target) || exit; \ 70 done; \ 71 if test "$$dot_seen" = "no"; then \ 72 $(MAKE) "$$target-local" || exit; \ 73 fi 74 75 all-local: 76 77 install-local: 78 79 dist-local: 80 81 clean-local: 82 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 83 84 distclean-local: clean-local 85 $(RMV) Makefile 86 87 check-local: all-local 88 89 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 90 cd $(top_builddir) \ 91 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 92 93