]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | ## Makefile.in for ICU - test/thaitest |
2 | ## Copyright (c) 2003, International Business Machines Corporation and | |
3 | ## others. All Rights Reserved. | |
4 | ||
5 | ## Source directory information | |
6 | srcdir = @srcdir@ | |
7 | top_srcdir = @top_srcdir@ | |
8 | ||
9 | top_builddir = ../.. | |
10 | ||
11 | include $(top_builddir)/icudefs.mk | |
12 | ||
13 | ## Build directory information | |
14 | subdir = test/thaitest | |
15 | ||
16 | ## Extra files to remove for 'make clean' | |
17 | CLEANFILES = *~ $(DEPS) | |
18 | ||
19 | ## Target information | |
20 | TARGET = thaitest$(EXEEXT) | |
21 | ||
22 | DEFS = @DEFS@ | |
23 | CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n | |
24 | #CFLAGS += @CFLAGS@ | |
25 | #CXXFLAGS = @CXXFLAGS@ | |
26 | ||
27 | LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | |
28 | ||
29 | OBJECTS = thaitest.o | |
30 | ||
31 | DEPS = $(OBJECTS:.o=.d) | |
32 | ||
33 | ## List of phony targets | |
34 | .PHONY : all all-local install install-local clean clean-local \ | |
35 | distclean distclean-local dist dist-local check check-local | |
36 | ||
37 | ## Clear suffix list | |
38 | .SUFFIXES : | |
39 | ||
40 | ## List of standard targets | |
41 | all: all-local | |
42 | install: install-local | |
43 | clean: clean-local | |
44 | distclean : distclean-local | |
45 | dist: dist-local | |
46 | check: all check-local | |
47 | ||
48 | all-local: $(TARGET) | |
49 | ||
50 | install-local: | |
51 | ||
52 | dist-local: | |
53 | ||
54 | clean-local: | |
55 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
56 | $(RMV) $(OBJECTS) $(TARGET) | |
57 | ||
58 | distclean-local: clean-local | |
59 | $(RMV) Makefile | |
60 | ||
61 | check-local: all-local | |
62 | $(INVOKE) ./$(TARGET) | |
63 | ||
64 | Makefile: $(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) $(OUTOPT)$@ $^ $(LIBS) | |
46f4442e | 70 | $(POST_BUILD_STEP) |
b75a7d8f A |
71 | |
72 | ifeq (,$(MAKECMDGOALS)) | |
73 | -include $(DEPS) | |
74 | else | |
75 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
76 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
77 | -include $(DEPS) | |
78 | endif | |
79 | endif | |
80 | endif |