| 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 |
| 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 localecanperf normperf strsrchperf 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: everything |
| 42 |
|
| 43 |
install: install-recursive install-local |
| 44 |
clean: clean-recursive clean-local |
| 45 |
distclean : distclean-recursive distclean-local |
| 46 |
$(RMV) hdrtst/Makefile |
| 47 |
$(RMV) perf/convperf/Makefile |
| 48 |
|
| 49 |
dist: dist-recursive dist-local |
| 50 |
check: everything check-recursive check-local |
| 51 |
check-recursive: all-recursive |
| 52 |
|
| 53 |
xperf: everything |
| 54 |
list='$(XSUBDIRS)'; for xsubdir in $$list; do \ |
| 55 |
$(MAKE) -w -C $$xsubdir xperf; \ |
| 56 |
done |
| 57 |
|
| 58 |
## Recursive targets |
| 59 |
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: |
| 60 |
@dot_seen=no; \ |
| 61 |
target=`echo $@ | sed s/-recursive//`; \ |
| 62 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 63 |
echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ |
| 64 |
if test "$$subdir" = "."; then \ |
| 65 |
dot_seen=yes; \ |
| 66 |
local_target="$$target-local"; \ |
| 67 |
else \ |
| 68 |
local_target="$$target"; \ |
| 69 |
fi; \ |
| 70 |
(cd $$subdir && $(MAKE) $$local_target) || exit; \ |
| 71 |
done; \ |
| 72 |
if test "$$dot_seen" = "no"; then \ |
| 73 |
$(MAKE) "$$target-local" || exit; \ |
| 74 |
fi |
| 75 |
|
| 76 |
all-local: |
| 77 |
|
| 78 |
install-local: |
| 79 |
|
| 80 |
dist-local: |
| 81 |
|
| 82 |
clean-local: |
| 83 |
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
| 84 |
|
| 85 |
distclean-local: clean-local |
| 86 |
$(RMV) Makefile |
| 87 |
|
| 88 |
check-local: all-local |
| 89 |
|
| 90 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 91 |
cd $(top_builddir) \ |
| 92 |
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 93 |
|