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