• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 strsrchperf 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: everything
42
43install: install-recursive install-local
44clean: clean-recursive clean-local
45distclean : distclean-recursive distclean-local
46	$(RMV) hdrtst/Makefile
47	$(RMV) perf/convperf/Makefile
48
49dist: dist-recursive dist-local
50check: everything check-recursive check-local
51check-recursive: all-recursive
52
53xperf: everything
54	list='$(XSUBDIRS)'; for xsubdir in $$list; do \
55		$(MAKE) -w -C $$xsubdir xperf; \
56	done
57
58## Recursive targets
59all-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
76all-local:
77
78install-local:
79
80dist-local:
81
82clean-local:
83	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
84
85distclean-local: clean-local
86	$(RMV) Makefile
87
88check-local: all-local
89
90Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
91	cd $(top_builddir) \
92	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
93
94