Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | ## Makefile.in for ICU tests |
michael@0 | 2 | ## Copyright (c) 1999-2011, International Business Machines Corporation and |
michael@0 | 3 | ## others. All Rights Reserved. |
michael@0 | 4 | |
michael@0 | 5 | ## Source directory information |
michael@0 | 6 | srcdir = @srcdir@ |
michael@0 | 7 | top_srcdir = @top_srcdir@ |
michael@0 | 8 | |
michael@0 | 9 | top_builddir = ../.. |
michael@0 | 10 | |
michael@0 | 11 | include $(top_builddir)/icudefs.mk |
michael@0 | 12 | |
michael@0 | 13 | ## Build directory information |
michael@0 | 14 | subdir = test/perf |
michael@0 | 15 | |
michael@0 | 16 | @ICUIO_TRUE@IOTEST = iotest |
michael@0 | 17 | |
michael@0 | 18 | ## Files to remove for 'make clean' |
michael@0 | 19 | CLEANFILES = *~ |
michael@0 | 20 | |
michael@0 | 21 | SUBDIRS = collationperf charperf dicttrieperf normperf ubrkperf unisetperf usetperf ustrperf utfperf utrie2perf DateFmtPerf howExpensiveIs |
michael@0 | 22 | |
michael@0 | 23 | # Subdirs that support 'xperf' |
michael@0 | 24 | XSUBDIRS = DateFmtPerf |
michael@0 | 25 | |
michael@0 | 26 | ## List of phony targets |
michael@0 | 27 | .PHONY : everything all all-local all-recursive install install-local \ |
michael@0 | 28 | install-recursive clean clean-local clean-recursive distclean \ |
michael@0 | 29 | distclean-local distclean-recursive dist dist-recursive dist-local \ |
michael@0 | 30 | check check-recursive check-local xperf xperf-recursive |
michael@0 | 31 | |
michael@0 | 32 | ## Clear suffix list |
michael@0 | 33 | .SUFFIXES : |
michael@0 | 34 | |
michael@0 | 35 | ## List of standard targets |
michael@0 | 36 | everything: all-recursive all-local |
michael@0 | 37 | all: |
michael@0 | 38 | ifneq ($(RECURSIVE),YES) |
michael@0 | 39 | @echo simply use \`make\' \(or \`make everything\'\) to do all |
michael@0 | 40 | endif |
michael@0 | 41 | |
michael@0 | 42 | install: install-recursive install-local |
michael@0 | 43 | clean: clean-recursive clean-local |
michael@0 | 44 | distclean : distclean-recursive distclean-local |
michael@0 | 45 | $(RMV) hdrtst/Makefile |
michael@0 | 46 | $(RMV) perf/convperf/Makefile |
michael@0 | 47 | |
michael@0 | 48 | dist: dist-recursive dist-local |
michael@0 | 49 | check: everything check-recursive check-local |
michael@0 | 50 | check-recursive: all-recursive |
michael@0 | 51 | |
michael@0 | 52 | xperf: everything |
michael@0 | 53 | list='$(XSUBDIRS)'; for xsubdir in $$list; do \ |
michael@0 | 54 | $(MAKE) -w -C $$xsubdir xperf; \ |
michael@0 | 55 | done |
michael@0 | 56 | |
michael@0 | 57 | ## Recursive targets |
michael@0 | 58 | all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: |
michael@0 | 59 | @dot_seen=no; \ |
michael@0 | 60 | target=`echo $@ | sed s/-recursive//`; \ |
michael@0 | 61 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
michael@0 | 62 | echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ |
michael@0 | 63 | if test "$$subdir" = "."; then \ |
michael@0 | 64 | dot_seen=yes; \ |
michael@0 | 65 | local_target="$$target-local"; \ |
michael@0 | 66 | else \ |
michael@0 | 67 | local_target="$$target"; \ |
michael@0 | 68 | fi; \ |
michael@0 | 69 | (cd $$subdir && $(MAKE) $$local_target) || exit; \ |
michael@0 | 70 | done; \ |
michael@0 | 71 | if test "$$dot_seen" = "no"; then \ |
michael@0 | 72 | $(MAKE) "$$target-local" || exit; \ |
michael@0 | 73 | fi |
michael@0 | 74 | |
michael@0 | 75 | all-local: |
michael@0 | 76 | |
michael@0 | 77 | install-local: |
michael@0 | 78 | |
michael@0 | 79 | dist-local: |
michael@0 | 80 | |
michael@0 | 81 | clean-local: |
michael@0 | 82 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
michael@0 | 83 | |
michael@0 | 84 | distclean-local: clean-local |
michael@0 | 85 | $(RMV) Makefile |
michael@0 | 86 | |
michael@0 | 87 | check-local: all-local |
michael@0 | 88 | |
michael@0 | 89 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
michael@0 | 90 | cd $(top_builddir) \ |
michael@0 | 91 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
michael@0 | 92 |