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
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12
13top_builddir = ../..
14
15include $(top_builddir)/icudefs.mk
16
17## Build directory information
18subdir = test/perf
19
20@ICUIO_TRUE@IOTEST = iotest
21
22## Files to remove for 'make clean'
23CLEANFILES = *~
24
25SUBDIRS = collationperf collperf collperf2 charperf dicttrieperf localecanperf normperf ubrkperf unisetperf usetperf ustrperf utfperf utrie2perf DateFmtPerf howExpensiveIs
26
27# Subdirs that support 'xperf'
28XSUBDIRS = DateFmtPerf
29
30## List of phony targets
31.PHONY : everything all all-local all-recursive install install-local		\
32install-recursive clean clean-local clean-recursive distclean		\
33distclean-local distclean-recursive dist dist-recursive dist-local	\
34check check-recursive check-local xperf xperf-recursive
35
36## Clear suffix list
37.SUFFIXES :
38
39## List of standard targets
40everything: all-recursive all-local
41all:
42ifneq ($(RECURSIVE),YES)
43	@echo simply use \`make\' \(or \`make everything\'\) to do all
44endif
45
46install: install-recursive install-local
47clean: clean-recursive clean-local
48distclean : distclean-recursive distclean-local
49	$(RMV) hdrtst/Makefile
50	$(RMV) perf/convperf/Makefile
51
52dist: dist-recursive dist-local
53check: everything check-recursive check-local
54check-recursive: all-recursive
55
56xperf: everything
57	list='$(XSUBDIRS)'; for xsubdir in $$list; do \
58		$(MAKE) -w -C $$xsubdir xperf; \
59	done
60
61## Recursive targets
62all-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
79all-local:
80
81install-local:
82
83dist-local:
84
85clean-local:
86	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
87
88distclean-local: clean-local
89	$(RMV) Makefile
90
91check-local: all-local
92
93Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
94	cd $(top_builddir) \
95	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
96
97