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