OLD | NEW |
| (Empty) |
1 #****************************************************************************** | |
2 # | |
3 # Copyright (C) 1999-2015, International Business Machines | |
4 # Corporation and others. All Rights Reserved. | |
5 # | |
6 #****************************************************************************** | |
7 ## Makefile.in for ICU - test/intltest | |
8 | |
9 ## Source directory information | |
10 srcdir = @srcdir@ | |
11 top_srcdir = @top_srcdir@ | |
12 | |
13 top_builddir = ../.. | |
14 | |
15 ## All the flags and other definitions are included here. | |
16 include $(top_builddir)/icudefs.mk | |
17 | |
18 ## Build directory information | |
19 subdir = test/intltest | |
20 | |
21 ## Extra files to remove for 'make clean' | |
22 CLEANFILES = *~ $(DEPS) $(TESTXML) | |
23 | |
24 ## Target information | |
25 TARGET = intltest$(EXEEXT) | |
26 | |
27 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ | |
28 # Simplify the path for Unix | |
29 BUILDDIR := $(BUILDDIR:test/intltest/../../=) | |
30 # Simplify the path for Windows | |
31 BUILDDIR := $(BUILDDIR:test\\intltest/../../=) | |
32 # Simplify the path for Windows 98 | |
33 BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=) | |
34 | |
35 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/to
olutil -I$(top_srcdir)/tools/ctestfw | |
36 CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= | |
37 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | |
38 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS)
$(LIB_M) $(LIB_THREAD) | |
39 | |
40 OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltes
t.o \ | |
41 caltztst.o canittst.o citrtest.o colldata.o convtest.o currcoll.o collationtest.
o \ | |
42 fldset.o dadrfmt.o dadrcal.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts
.o dtfmttst.o \ | |
43 dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \ | |
44 itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \ | |
45 loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \ | |
46 numfmtst.o numrgts.o plurults.o plurfmts.o pptest.o regcoll.o restest.o restsne
w.o \ | |
47 sdtfmtts.o svccoll.o tchcfmt.o selfmts.o \ | |
48 tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \ | |
49 tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \ | |
50 tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.
o thcoll.o \ | |
51 bytestrietest.o ucharstrietest.o \ | |
52 itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \ | |
53 testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \ | |
54 jamotest.o srchtest.o reptest.o regextst.o \ | |
55 itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \ | |
56 uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46te
st.o \ | |
57 incaltst.o calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \ | |
58 windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o tzoffloc.o tzfmttst.o ssea
rch.o dtifmtts.o \ | |
59 tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o alphaindexts
t.o listformattertest.o genderinfotest.o compactdecimalformattest.o regiontst.o
\ | |
60 reldatefmttest.o simplepatternformattertest.o measfmttest.o numfmtspectest.o uni
fiedcachetest.o quantityformattertest.o \ | |
61 scientificnumberformattertest.o datadrivennumberformattestsuite.o \ | |
62 numberformattesttuple.o numberformat2test.o pluralmaptest.o | |
63 | |
64 DEPS = $(OBJECTS:.o=.d) | |
65 | |
66 -include Makefile.local | |
67 | |
68 ## List of phony targets | |
69 .PHONY : all all-local install install-local clean clean-local \ | |
70 distclean distclean-local dist dist-local check check-local xcheck xcheck-local
\ | |
71 check-exhaustive check-exhaustive-local | |
72 | |
73 ## Clear suffix list | |
74 .SUFFIXES : | |
75 | |
76 ## List of standard targets | |
77 all: all-local | |
78 install: install-local | |
79 clean: clean-local | |
80 distclean : distclean-local | |
81 dist: dist-local | |
82 check: all check-local | |
83 xcheck: all xcheck-local | |
84 check-exhaustive: all check-exhaustive-local | |
85 | |
86 all-local: $(TARGET) | |
87 | |
88 install-local: | |
89 | |
90 dist-local: | |
91 | |
92 clean-local: | |
93 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
94 $(RMV) $(OBJECTS) $(TARGET) | |
95 | |
96 distclean-local: clean-local | |
97 $(RMV) Makefile | |
98 | |
99 # note- intltest gets $(THREADSENVFLAGS) so that it runs threaded on OS400 | |
100 check-local: all-local | |
101 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_
OPTS) | |
102 | |
103 check-exhaustive-local: all-local | |
104 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e | |
105 | |
106 TESTXML=$(top_builddir)/test-$(TARGET).xml | |
107 xcheck-local: all-local | |
108 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_
OPTS) -x $(TESTXML) | |
109 | |
110 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
111 cd $(top_builddir) \ | |
112 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
113 | |
114 $(TARGET) : $(OBJECTS) | |
115 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
116 $(POST_BUILD_STEP) | |
117 | |
118 ifeq (,$(MAKECMDGOALS)) | |
119 -include $(DEPS) | |
120 else | |
121 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
122 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
123 -include $(DEPS) | |
124 endif | |
125 endif | |
126 endif | |
OLD | NEW |