Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / perf / charperf / Makefile.in
1 ## Makefile.in for ICU - test/perf/charperf
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-2011, 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 ## Build directory information
17 subdir = test/perf/charperf
18
19 ## Extra files to remove for 'make clean'
20 CLEANFILES = *~ $(DEPS)
21
22 ## Target information
23 TARGET = charperf
24
25 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
26 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
27
28 OBJECTS = charperf.o
29
30 DEPS = $(OBJECTS:.o=.d)
31
32 ## List of phony targets
33 .PHONY : all all-local install install-local clean clean-local  \
34 distclean distclean-local dist dist-local check check-local
35
36 ## Clear suffix list
37 .SUFFIXES :
38
39 ## List of standard targets
40 all: all-local
41 install: install-local
42 clean: clean-local
43 distclean : distclean-local
44 dist: dist-local
45 check: all check-local
46
47 all-local: $(TARGET)
48
49 install-local:
50
51 dist-local:
52
53 clean-local:
54         test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
55         $(RMV) $(OBJECTS) $(TARGET)
56
57 distclean-local: clean-local
58         $(RMV) Makefile
59
60 check-local: all-local
61
62 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
63         cd $(top_builddir) \
64          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
65
66 $(TARGET) : $(OBJECTS)
67         $(LINK.cc) -o $@ $^ $(LIBS)
68         $(POST_BUILD_STEP)
69
70 invoke:
71         ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
72
73 ifeq (,$(MAKECMDGOALS))
74 -include $(DEPS)
75 else
76 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
77 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
78 -include $(DEPS)
79 endif
80 endif
81 endif
82