]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | ## Makefile.in for ICU - test/intltest |
374ca955 | 2 | ## Copyright (c) 1999-2004, International Business Machines Corporation and |
b75a7d8f A |
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/intltest | |
15 | ||
16 | ## Extra files to remove for 'make clean' | |
17 | CLEANFILES = *~ $(DEPS) | |
18 | ||
19 | ## Target information | |
20 | TARGET = intltest$(EXEEXT) | |
21 | ||
374ca955 | 22 | BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ |
b75a7d8f | 23 | BUILDDIR := $(BUILDDIR:test/intltest/../../=) |
374ca955 | 24 | BUILDDIR := $(BUILDDIR:test\\\\intltest/../../=) |
b75a7d8f | 25 | |
374ca955 | 26 | CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw |
b75a7d8f | 27 | DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' |
374ca955 | 28 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) |
b75a7d8f | 29 | |
374ca955 A |
30 | OBJECTS = allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \ |
31 | caltztst.o canittst.o citrtest.o cntabcol.o convtest.o currcoll.o dacoll.o \ | |
b75a7d8f A |
32 | dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \ |
33 | encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \ | |
34 | itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \ | |
35 | loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \ | |
36 | numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o sdtfmtts.o svccoll.o tchcfmt.o \ | |
37 | tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \ | |
374ca955 | 38 | tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \ |
b75a7d8f | 39 | tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \ |
374ca955 A |
40 | itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \ |
41 | testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \ | |
b75a7d8f | 42 | jamotest.o srchtest.o reptest.o regextst.o \ |
374ca955 A |
43 | itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \ |
44 | uobjtest.o idnaref.o nptrans.o punyref.o testidn.o testidna.o incaltst.o \ | |
45 | calcasts.o v32test.o textfile.o tokiter.o | |
b75a7d8f A |
46 | |
47 | ||
48 | DEPS = $(OBJECTS:.o=.d) | |
49 | ||
50 | ## List of phony targets | |
51 | .PHONY : all all-local install install-local clean clean-local \ | |
52 | distclean distclean-local dist dist-local check check-local | |
53 | ||
54 | ## Clear suffix list | |
55 | .SUFFIXES : | |
56 | ||
57 | ## List of standard targets | |
58 | all: all-local | |
59 | install: install-local | |
60 | clean: clean-local | |
61 | distclean : distclean-local | |
62 | dist: dist-local | |
63 | check: all check-local | |
64 | ||
65 | all-local: $(TARGET) | |
66 | ||
67 | install-local: | |
68 | ||
69 | dist-local: | |
70 | ||
71 | clean-local: | |
72 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
73 | $(RMV) $(OBJECTS) $(TARGET) | |
74 | ||
75 | distclean-local: clean-local | |
76 | $(RMV) Makefile | |
77 | ||
78 | -include Makefile.local | |
79 | ||
80 | check-local: all-local | |
374ca955 | 81 | $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) || true |
b75a7d8f A |
82 | |
83 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
84 | cd $(top_builddir) \ | |
85 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
86 | ||
87 | $(TARGET) : $(OBJECTS) | |
88 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
89 | ||
b75a7d8f A |
90 | ifeq (,$(MAKECMDGOALS)) |
91 | -include $(DEPS) | |
92 | else | |
93 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
94 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
95 | -include $(DEPS) | |
96 | endif | |
97 | endif | |
98 | endif | |
99 |