]>
Commit | Line | Data |
---|---|---|
73c04bcf A |
1 | #****************************************************************************** |
2 | # | |
57a6839d | 3 | # Copyright (C) 1999-2014, International Business Machines |
73c04bcf A |
4 | # Corporation and others. All Rights Reserved. |
5 | # | |
6 | #****************************************************************************** | |
b75a7d8f | 7 | ## Makefile.in for ICU - test/intltest |
b75a7d8f A |
8 | |
9 | ## Source directory information | |
10 | srcdir = @srcdir@ | |
11 | top_srcdir = @top_srcdir@ | |
12 | ||
13 | top_builddir = ../.. | |
14 | ||
73c04bcf | 15 | ## All the flags and other definitions are included here. |
b75a7d8f A |
16 | include $(top_builddir)/icudefs.mk |
17 | ||
18 | ## Build directory information | |
19 | subdir = test/intltest | |
20 | ||
21 | ## Extra files to remove for 'make clean' | |
729e4ab9 | 22 | CLEANFILES = *~ $(DEPS) $(TESTXML) |
b75a7d8f A |
23 | |
24 | ## Target information | |
25 | TARGET = intltest$(EXEEXT) | |
26 | ||
374ca955 | 27 | BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ |
73c04bcf | 28 | # Simplify the path for Unix |
b75a7d8f | 29 | BUILDDIR := $(BUILDDIR:test/intltest/../../=) |
73c04bcf A |
30 | # Simplify the path for Windows |
31 | BUILDDIR := $(BUILDDIR:test\\intltest/../../=) | |
32 | # Simplify the path for Windows 98 | |
33 | BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=) | |
b75a7d8f | 34 | |
73c04bcf | 35 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw |
57a6839d | 36 | CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= |
b75a7d8f | 37 | DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' |
46f4442e | 38 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD) |
b75a7d8f | 39 | |
73c04bcf | 40 | OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \ |
57a6839d A |
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 \ | |
46f4442e | 43 | dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \ |
b75a7d8f A |
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 \ | |
46f4442e | 46 | numfmtst.o numrgts.o plurults.o plurfmts.o pptest.o regcoll.o restest.o restsnew.o \ |
729e4ab9 | 47 | sdtfmtts.o svccoll.o tchcfmt.o selfmts.o \ |
b75a7d8f | 48 | tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \ |
374ca955 | 49 | tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \ |
b75a7d8f | 50 | tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \ |
4388f060 | 51 | bytestrietest.o ucharstrietest.o \ |
374ca955 A |
52 | itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \ |
53 | testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \ | |
b75a7d8f | 54 | jamotest.o srchtest.o reptest.o regextst.o \ |
374ca955 | 55 | itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \ |
729e4ab9 A |
56 | uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46test.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 ssearch.o dtifmtts.o \ | |
57a6839d | 59 | tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o alphaindextst.o listformattertest.o genderinfotest.o compactdecimalformattest.o regiontst.o \ |
b331163b A |
60 | reldatefmttest.o simplepatternformattertest.o measfmttest.o numfmtspectest.o unifiedcachetest.o quantityformattertest.o \ |
61 | scientificnumberformattertest.o | |
b75a7d8f A |
62 | |
63 | DEPS = $(OBJECTS:.o=.d) | |
64 | ||
73c04bcf A |
65 | -include Makefile.local |
66 | ||
b75a7d8f | 67 | ## List of phony targets |
73c04bcf | 68 | .PHONY : all all-local install install-local clean clean-local \ |
4388f060 A |
69 | distclean distclean-local dist dist-local check check-local xcheck xcheck-local \ |
70 | check-exhaustive check-exhaustive-local | |
b75a7d8f A |
71 | |
72 | ## Clear suffix list | |
73 | .SUFFIXES : | |
74 | ||
75 | ## List of standard targets | |
76 | all: all-local | |
77 | install: install-local | |
78 | clean: clean-local | |
79 | distclean : distclean-local | |
80 | dist: dist-local | |
81 | check: all check-local | |
729e4ab9 | 82 | xcheck: all xcheck-local |
4388f060 | 83 | check-exhaustive: all check-exhaustive-local |
b75a7d8f A |
84 | |
85 | all-local: $(TARGET) | |
86 | ||
87 | install-local: | |
88 | ||
89 | dist-local: | |
90 | ||
91 | clean-local: | |
92 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
93 | $(RMV) $(OBJECTS) $(TARGET) | |
94 | ||
95 | distclean-local: clean-local | |
96 | $(RMV) Makefile | |
97 | ||
57a6839d | 98 | # note- intltest gets $(THREADSENVFLAGS) so that it runs threaded on OS400 |
b75a7d8f | 99 | check-local: all-local |
57a6839d | 100 | $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS) |
b75a7d8f | 101 | |
4388f060 | 102 | check-exhaustive-local: all-local |
57a6839d | 103 | $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e |
4388f060 | 104 | |
729e4ab9 A |
105 | TESTXML=$(top_builddir)/test-$(TARGET).xml |
106 | xcheck-local: all-local | |
57a6839d | 107 | $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS) -x $(TESTXML) |
729e4ab9 | 108 | |
b75a7d8f A |
109 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
110 | cd $(top_builddir) \ | |
111 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
112 | ||
113 | $(TARGET) : $(OBJECTS) | |
114 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
46f4442e | 115 | $(POST_BUILD_STEP) |
b75a7d8f | 116 | |
b75a7d8f A |
117 | ifeq (,$(MAKECMDGOALS)) |
118 | -include $(DEPS) | |
119 | else | |
120 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
121 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
122 | -include $(DEPS) | |
123 | endif | |
124 | endif | |
125 | endif |