]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/perf/collationperf/Makefile.in
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / test / perf / collationperf / Makefile.in
CommitLineData
46f4442e 1## Makefile.in for ICU - test/perf/collationperf
f3c0d7a5
A
2## Copyright (C) 2016 and later: Unicode, Inc. and others.
3## License & terms of use: http://www.unicode.org/copyright.html#License
4##
4388f060 5## Copyright (c) 2001-2011, International Business Machines Corporation and
9d88c943
A
6## others. All Rights Reserved.
7
8## Source directory information
9srcdir = @srcdir@
10top_srcdir = @top_srcdir@
11
46f4442e 12top_builddir = ../../..
9d88c943
A
13
14include $(top_builddir)/icudefs.mk
15
9d88c943 16## Build directory information
46f4442e 17subdir = test/perf/collationperf
9d88c943
A
18
19## Extra files to remove for 'make clean'
20CLEANFILES = *~ $(DEPS)
21
22## Target information
46f4442e 23TARGET = collperf
73c04bcf 24
4388f060 25CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
46f4442e 26LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
73c04bcf 27
46f4442e 28OBJECTS = collperf.o
9d88c943
A
29
30DEPS = $(OBJECTS:.o=.d)
31
32## List of phony targets
33.PHONY : all all-local install install-local clean clean-local \
34distclean distclean-local dist dist-local check check-local
35
36## Clear suffix list
37.SUFFIXES :
38
39## List of standard targets
40all: all-local
41install: install-local
42clean: clean-local
43distclean : distclean-local
44dist: dist-local
45check: all check-local
46
47all-local: $(TARGET)
48
49install-local:
50
51dist-local:
52
53clean-local:
54 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
55 $(RMV) $(OBJECTS) $(TARGET)
56
57distclean-local: clean-local
58 $(RMV) Makefile
59
60check-local: all-local
729e4ab9 61 $(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
9d88c943
A
62
63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
64 cd $(top_builddir) \
65 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
66
67$(TARGET) : $(OBJECTS)
68 $(LINK.cc) -o $@ $^ $(LIBS)
46f4442e 69 $(POST_BUILD_STEP)
9d88c943
A
70
71invoke:
72 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
73
74ifeq (,$(MAKECMDGOALS))
75-include $(DEPS)
76else
77ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
46f4442e 78ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
9d88c943
A
79-include $(DEPS)
80endif
81endif
46f4442e
A
82endif
83