Makefile.in revision c73f511526464f8e56c242df80552e9b0d94ae3d
1## Makefile.in for ICU - test/perf/collationperf
2## Copyright (c) 2001-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/collationperf
15
16## Extra files to remove for 'make clean'
17CLEANFILES = *~ $(DEPS)
18
19## Target information
20TARGET = collperf
21
22CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
23LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
24
25OBJECTS = collperf.o
26
27DEPS = $(OBJECTS:.o=.d)
28
29## List of phony targets
30.PHONY : all all-local install install-local clean clean-local	\
31distclean distclean-local dist dist-local check check-local
32
33## Clear suffix list
34.SUFFIXES :
35
36## List of standard targets
37all: all-local
38install: install-local
39clean: clean-local
40distclean : distclean-local
41dist: dist-local
42check: all check-local
43
44all-local: $(TARGET)
45
46install-local:
47
48dist-local:
49
50clean-local:
51	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
52	$(RMV) $(OBJECTS) $(TARGET)
53
54distclean-local: clean-local
55	$(RMV) Makefile
56
57check-local: all-local
58	$(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
59
60Makefile: $(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)
66	$(POST_BUILD_STEP)
67
68invoke:
69	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
70
71ifeq (,$(MAKECMDGOALS))
72-include $(DEPS)
73else
74ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
75ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
76-include $(DEPS)
77endif
78endif
79endif
80
81