• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Makefile.in for ICU - test/perf/collperf
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-2013, 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-include Makefile.local
17
18## Build directory information
19subdir = test/perf/leperf
20
21## Extra files to remove for 'make clean'
22CLEANFILES = *~ $(DEPS)
23
24## Target information
25TARGET = leperf
26
27CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/layout/.. -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io -I$(top_srcdir)/i18n
28LIBS = $(LIBCTESTFW) $(LIBICUIO) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
29
30OBJECTS = $(TARGET).o
31
32DEPS = $(OBJECTS:.o=.d)
33
34## List of phony targets
35.PHONY : all all-local install install-local clean clean-local	\
36distclean distclean-local dist dist-local check check-local
37
38## Clear suffix list
39.SUFFIXES :
40
41## List of standard targets
42all: all-local
43install: install-local
44clean: clean-local
45distclean : distclean-local
46dist: dist-local
47check: all check-local
48
49all-local: $(TARGET)
50
51install-local:
52
53dist-local:
54
55clean-local:
56	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
57	$(RMV) $(OBJECTS) $(TARGET)
58
59distclean-local: clean-local
60	$(RMV) Makefile
61
62check-local: all-local
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
72invoke:
73	@$(RMV) current.out
74# following is bash specific
75	set -o pipefail && ( ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(TARGET) $(INVOCATION) | tee current.out )
76
77ifeq (,$(MAKECMDGOALS))
78-include $(DEPS)
79else
80ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
81ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
82-include $(DEPS)
83endif
84endif
85endif
86
87