|
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 |
|
6 srcdir = @srcdir@ |
|
7 top_srcdir = @top_srcdir@ |
|
8 |
|
9 top_builddir = ../../.. |
|
10 |
|
11 include $(top_builddir)/icudefs.mk |
|
12 |
|
13 -include Makefile.local |
|
14 |
|
15 ## Build directory information |
|
16 subdir = test/perf/leperf |
|
17 |
|
18 ## Extra files to remove for 'make clean' |
|
19 CLEANFILES = *~ $(DEPS) |
|
20 |
|
21 ## Target information |
|
22 TARGET = leperf |
|
23 |
|
24 CPPFLAGS += -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 |
|
25 LIBS = $(LIBCTESTFW) $(LIBICUIO) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) |
|
26 |
|
27 OBJECTS = $(TARGET).o |
|
28 |
|
29 DEPS = $(OBJECTS:.o=.d) |
|
30 |
|
31 ## List of phony targets |
|
32 .PHONY : all all-local install install-local clean clean-local \ |
|
33 distclean distclean-local dist dist-local check check-local |
|
34 |
|
35 ## Clear suffix list |
|
36 .SUFFIXES : |
|
37 |
|
38 ## List of standard targets |
|
39 all: all-local |
|
40 install: install-local |
|
41 clean: clean-local |
|
42 distclean : distclean-local |
|
43 dist: dist-local |
|
44 check: all check-local |
|
45 |
|
46 all-local: $(TARGET) |
|
47 |
|
48 install-local: |
|
49 |
|
50 dist-local: |
|
51 |
|
52 clean-local: |
|
53 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
|
54 $(RMV) $(OBJECTS) $(TARGET) |
|
55 |
|
56 distclean-local: clean-local |
|
57 $(RMV) Makefile |
|
58 |
|
59 check-local: all-local |
|
60 |
|
61 Makefile: $(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 |
|
69 invoke: |
|
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 |
|
74 ifeq (,$(MAKECMDGOALS)) |
|
75 -include $(DEPS) |
|
76 else |
|
77 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) |
|
78 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) |
|
79 -include $(DEPS) |
|
80 endif |
|
81 endif |
|
82 endif |
|
83 |