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