]>
Commit | Line | Data |
---|---|---|
729e4ab9 | 1 | ## Makefile.in for ICU - test/perf/utrie2perf |
f3c0d7a5 A |
2 | ## Copyright (C) 2016 and later: Unicode, Inc. and others. |
3 | ## License & terms of use: http://www.unicode.org/copyright.html#License | |
4 | ## | |
4388f060 | 5 | ## Copyright (c) 2001-2011, International Business Machines Corporation and |
b75a7d8f | 6 | ## others. All Rights Reserved. |
b75a7d8f A |
7 | |
8 | ## Source directory information | |
9 | srcdir = @srcdir@ | |
10 | top_srcdir = @top_srcdir@ | |
11 | ||
729e4ab9 | 12 | top_builddir = ../../.. |
b75a7d8f A |
13 | |
14 | include $(top_builddir)/icudefs.mk | |
15 | ||
b75a7d8f | 16 | ## Build directory information |
729e4ab9 | 17 | subdir = test/perf/utrie2perf |
73c04bcf | 18 | |
b75a7d8f | 19 | ## Extra files to remove for 'make clean' |
374ca955 | 20 | CLEANFILES = *~ $(DEPS) |
b75a7d8f A |
21 | |
22 | ## Target information | |
729e4ab9 | 23 | TARGET = utrie2perf |
b75a7d8f | 24 | |
4388f060 | 25 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw |
729e4ab9 | 26 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) |
b75a7d8f | 27 | |
729e4ab9 | 28 | OBJECTS = utrie2perf.o |
b75a7d8f A |
29 | |
30 | DEPS = $(OBJECTS:.o=.d) | |
31 | ||
32 | ## List of phony targets | |
73c04bcf | 33 | .PHONY : all all-local install install-local clean clean-local \ |
729e4ab9 | 34 | distclean distclean-local dist dist-local check check-local |
b75a7d8f A |
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 | ||
73c04bcf | 47 | all-local: $(TARGET) |
b75a7d8f | 48 | |
729e4ab9 | 49 | install-local: |
b75a7d8f A |
50 | |
51 | dist-local: | |
52 | ||
53 | clean-local: | |
54 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
729e4ab9 | 55 | $(RMV) $(OBJECTS) $(TARGET) |
b75a7d8f A |
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) | |
729e4ab9 | 67 | $(LINK.cc) -o $@ $^ $(LIBS) |
46f4442e | 68 | $(POST_BUILD_STEP) |
b75a7d8f | 69 | |
729e4ab9 A |
70 | invoke: |
71 | ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) | |
73c04bcf | 72 | |
b75a7d8f A |
73 | ifeq (,$(MAKECMDGOALS)) |
74 | -include $(DEPS) | |
75 | else | |
76 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
729e4ab9 | 77 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) |
b75a7d8f A |
78 | -include $(DEPS) |
79 | endif | |
80 | endif | |
729e4ab9 | 81 | endif |
b75a7d8f | 82 |