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