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