]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/Makefile.in
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / test / intltest / Makefile.in
1 #******************************************************************************
2 #
3 # Copyright (C) 1999-2013, 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/toolutil -I$(top_srcdir)/tools/ctestfw
36 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
37 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD)
38
39 OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \
40 caltztst.o canittst.o citrtest.o cntabcol.o colldata.o convtest.o currcoll.o \
41 fldset.o dadrfmt.o dadrcal.o dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
42 dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \
43 itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \
44 loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \
45 numfmtst.o numrgts.o plurults.o plurfmts.o pptest.o regcoll.o restest.o restsnew.o \
46 sdtfmtts.o svccoll.o tchcfmt.o selfmts.o \
47 tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \
48 tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \
49 tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \
50 bytestrietest.o ucharstrietest.o \
51 itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \
52 testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \
53 jamotest.o srchtest.o reptest.o regextst.o \
54 itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \
55 uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46test.o \
56 incaltst.o calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \
57 windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o tzoffloc.o tzfmttst.o ssearch.o dtifmtts.o \
58 tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o alphaindextst.o listformattertest.o genderinfotest.o compactdecimalformattest.o regiontst.o
59
60 DEPS = $(OBJECTS:.o=.d)
61
62 -include Makefile.local
63
64 ## List of phony targets
65 .PHONY : all all-local install install-local clean clean-local \
66 distclean distclean-local dist dist-local check check-local xcheck xcheck-local \
67 check-exhaustive check-exhaustive-local
68
69 ## Clear suffix list
70 .SUFFIXES :
71
72 ## List of standard targets
73 all: all-local
74 install: install-local
75 clean: clean-local
76 distclean : distclean-local
77 dist: dist-local
78 check: all check-local
79 xcheck: all xcheck-local
80 check-exhaustive: all check-exhaustive-local
81
82 all-local: $(TARGET)
83
84 install-local:
85
86 dist-local:
87
88 clean-local:
89 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
90 $(RMV) $(OBJECTS) $(TARGET)
91
92 distclean-local: clean-local
93 $(RMV) Makefile
94
95 check-local: all-local
96 $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS)
97
98 check-exhaustive-local: all-local
99 $(INVOKE) ./$(TARGET) -e
100
101 TESTXML=$(top_builddir)/test-$(TARGET).xml
102 xcheck-local: all-local
103 $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) -x $(TESTXML)
104
105 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
106 cd $(top_builddir) \
107 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
108
109 $(TARGET) : $(OBJECTS)
110 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
111 $(POST_BUILD_STEP)
112
113 ifeq (,$(MAKECMDGOALS))
114 -include $(DEPS)
115 else
116 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
117 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
118 -include $(DEPS)
119 endif
120 endif
121 endif