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