• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9srcdir = @srcdir@
10top_srcdir = @top_srcdir@
11
12top_builddir = ../../..
13
14include $(top_builddir)/icudefs.mk
15
16## Build directory information
17subdir = test/perf/normperf
18
19## Extra files to remove for 'make clean'
20CLEANFILES = *~ $(DEPS) $(SIMPLE_DEPS)
21
22## Target information
23TARGET = normperf
24SIMPLE = simplenormperf
25
26CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
27LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
28
29OBJECTS = normperf.o
30SIMPLE_OBJ = simplenormperf.o
31
32DEPS = $(OBJECTS:.o=.d)
33SIMPLE_DEPS = $(SIMPLE_OBJ:.o=.d)
34
35## List of phony targets
36.PHONY : all all-local install install-local clean clean-local	\
37distclean distclean-local dist dist-local check check-local
38
39## Clear suffix list
40.SUFFIXES :
41
42## List of standard targets
43all: all-local
44install: install-local
45clean: clean-local
46distclean : distclean-local
47dist: dist-local
48check: all check-local
49
50all-local: $(TARGET) $(SIMPLE)
51
52install-local:
53
54dist-local:
55
56clean-local:
57	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
58	$(RMV) $(OBJECTS) $(SIMPLE_OBJ) $(TARGET) $(SIMPLE)
59
60distclean-local: clean-local
61	$(RMV) Makefile
62
63check-local: all-local
64
65Makefile: $(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
77invoke:
78	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
79
80ifeq (,$(MAKECMDGOALS))
81-include $(DEPS)
82-include $(SIMPLE_DEPS)
83else
84ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
85ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
86-include $(DEPS)
87-include $(SIMPLE_DEPS)
88endif
89endif
90endif
91