]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | ## Makefile.in for ICU - test/thaitest |
f3c0d7a5 A |
2 | ## Copyright (C) 2016 and later: Unicode, Inc. and others. |
3 | ## License & terms of use: http://www.unicode.org/copyright.html | |
4388f060 | 4 | ## Copyright (c) 2003-2011, International Business Machines Corporation and |
b75a7d8f A |
5 | ## others. All Rights Reserved. |
6 | ||
7 | ## Source directory information | |
8 | srcdir = @srcdir@ | |
9 | top_srcdir = @top_srcdir@ | |
10 | ||
11 | top_builddir = ../.. | |
12 | ||
13 | include $(top_builddir)/icudefs.mk | |
14 | ||
15 | ## Build directory information | |
16 | subdir = test/thaitest | |
17 | ||
18 | ## Extra files to remove for 'make clean' | |
19 | CLEANFILES = *~ $(DEPS) | |
20 | ||
21 | ## Target information | |
22 | TARGET = thaitest$(EXEEXT) | |
23 | ||
24 | DEFS = @DEFS@ | |
4388f060 | 25 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n |
b75a7d8f A |
26 | #CFLAGS += @CFLAGS@ |
27 | #CXXFLAGS = @CXXFLAGS@ | |
28 | ||
29 | LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | |
30 | ||
31 | OBJECTS = thaitest.o | |
32 | ||
33 | DEPS = $(OBJECTS:.o=.d) | |
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 | ||
50 | all-local: $(TARGET) | |
51 | ||
52 | install-local: | |
53 | ||
54 | dist-local: | |
55 | ||
56 | clean-local: | |
57 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
58 | $(RMV) $(OBJECTS) $(TARGET) | |
59 | ||
60 | distclean-local: clean-local | |
61 | $(RMV) Makefile | |
62 | ||
63 | check-local: all-local | |
64 | $(INVOKE) ./$(TARGET) | |
65 | ||
66 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
67 | cd $(top_builddir) \ | |
68 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
69 | ||
70 | $(TARGET) : $(OBJECTS) | |
71 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
46f4442e | 72 | $(POST_BUILD_STEP) |
b75a7d8f A |
73 | |
74 | ifeq (,$(MAKECMDGOALS)) | |
75 | -include $(DEPS) | |
76 | else | |
77 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
78 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
79 | -include $(DEPS) | |
80 | endif | |
81 | endif | |
82 | endif |