]>
Commit | Line | Data |
---|---|---|
73c04bcf | 1 | ## Makefile.in for ICU - test/perf/normperf |
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 A |
6 | ## others. All Rights Reserved. |
7 | ||
8 | ## Source directory information | |
9 | srcdir = @srcdir@ | |
10 | top_srcdir = @top_srcdir@ | |
11 | ||
73c04bcf | 12 | top_builddir = ../../.. |
b75a7d8f A |
13 | |
14 | include $(top_builddir)/icudefs.mk | |
15 | ||
b75a7d8f | 16 | ## Build directory information |
73c04bcf | 17 | subdir = test/perf/normperf |
b75a7d8f A |
18 | |
19 | ## Extra files to remove for 'make clean' | |
3d1f044b | 20 | CLEANFILES = *~ $(DEPS) $(SIMPLE_DEPS) |
b75a7d8f A |
21 | |
22 | ## Target information | |
23 | TARGET = normperf | |
3d1f044b | 24 | SIMPLE = simplenormperf |
b75a7d8f | 25 | |
4388f060 | 26 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw |
73c04bcf | 27 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) |
b75a7d8f A |
28 | |
29 | OBJECTS = normperf.o | |
3d1f044b | 30 | SIMPLE_OBJ = simplenormperf.o |
b75a7d8f A |
31 | |
32 | DEPS = $(OBJECTS:.o=.d) | |
3d1f044b | 33 | SIMPLE_DEPS = $(SIMPLE_OBJ:.o=.d) |
b75a7d8f A |
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 | ||
3d1f044b | 50 | all-local: $(TARGET) $(SIMPLE) |
b75a7d8f A |
51 | |
52 | install-local: | |
53 | ||
54 | dist-local: | |
55 | ||
56 | clean-local: | |
57 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
3d1f044b | 58 | $(RMV) $(OBJECTS) $(SIMPLE_OBJ) $(TARGET) $(SIMPLE) |
b75a7d8f A |
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) | |
46f4442e | 71 | $(POST_BUILD_STEP) |
b75a7d8f | 72 | |
3d1f044b A |
73 | $(SIMPLE) : $(SIMPLE_OBJ) |
74 | $(LINK.cc) -o $@ $^ $(LIBS) | |
75 | $(POST_BUILD_STEP) | |
76 | ||
b75a7d8f A |
77 | invoke: |
78 | ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) | |
79 | ||
80 | ifeq (,$(MAKECMDGOALS)) | |
81 | -include $(DEPS) | |
3d1f044b | 82 | -include $(SIMPLE_DEPS) |
b75a7d8f A |
83 | else |
84 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
85 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
86 | -include $(DEPS) | |
3d1f044b | 87 | -include $(SIMPLE_DEPS) |
b75a7d8f A |
88 | endif |
89 | endif | |
90 | endif |