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