• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Makefile.in for ICU - test/perf/collperf
2## Copyright (c) 2001-2013, 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-include Makefile.local
14
15## Build directory information
16subdir = test/perf/leperf
17
18## Extra files to remove for 'make clean'
19CLEANFILES = *~ $(DEPS)
20
21## Target information
22TARGET = leperf
23
24CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/layout/.. -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io -I$(top_srcdir)/i18n
25LIBS = $(LIBCTESTFW) $(LIBICUIO) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
26
27OBJECTS = $(TARGET).o
28
29DEPS = $(OBJECTS:.o=.d)
30
31## List of phony targets
32.PHONY : all all-local install install-local clean clean-local	\
33distclean distclean-local dist dist-local check check-local
34
35## Clear suffix list
36.SUFFIXES :
37
38## List of standard targets
39all: all-local
40install: install-local
41clean: clean-local
42distclean : distclean-local
43dist: dist-local
44check: all check-local
45
46all-local: $(TARGET)
47
48install-local:
49
50dist-local:
51
52clean-local:
53	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
54	$(RMV) $(OBJECTS) $(TARGET)
55
56distclean-local: clean-local
57	$(RMV) Makefile
58
59check-local: all-local
60
61Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
62	cd $(top_builddir) \
63	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
64
65$(TARGET) : $(OBJECTS)
66	$(LINK.cc) -o $@ $^ $(LIBS)
67	$(POST_BUILD_STEP)
68
69invoke:
70	@$(RMV) current.out
71# following is bash specific
72	set -o pipefail && ( ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(TARGET) $(INVOCATION) | tee current.out )
73
74ifeq (,$(MAKECMDGOALS))
75-include $(DEPS)
76else
77ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
78ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
79-include $(DEPS)
80endif
81endif
82endif
83
84