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