]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/Makefile.in
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / test / intltest / Makefile.in
1 ## Makefile.in for ICU - test/intltest
2 ## Copyright (c) 1999-2003, International Business Machines Corporation and
3 ## others. All Rights Reserved.
4
5 ## Source directory information
6 srcdir = @srcdir@
7 top_srcdir = @top_srcdir@
8
9 top_builddir = ../..
10
11 include $(top_builddir)/icudefs.mk
12
13 ## Build directory information
14 subdir = test/intltest
15
16 ## Extra files to remove for 'make clean'
17 CLEANFILES = *~ $(DEPS)
18
19 ## Target information
20 TARGET = intltest$(EXEEXT)
21
22 BUILDDIR := $(shell pwd)/../../
23 BUILDDIR := $(BUILDDIR:test/intltest/../../=)
24
25 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil
26 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
27 LIBS = $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
28
29 OBJECTS = allcoll.o apicoll.o callimts.o calregts.o caltest.o \
30 caltztst.o canittst.o citrtest.o cntabcol.o cputilst.o currcoll.o dacoll.o \
31 dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
32 encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \
33 itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \
34 loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \
35 numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o sdtfmtts.o svccoll.o tchcfmt.o \
36 tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \
37 tsmthred.o tsmutex.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \
38 tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \
39 itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o unhxtrts.o hxuntrts.o \
40 ufltlgts.o testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \
41 jamotest.o srchtest.o reptest.o regextst.o \
42 itrbnf.o itrbnfrt.o tstdtmod.o testdata.o datamap.o ucaconf.o icusvtst.o \
43 uobjtest.o idnaref.o nptrans.o punyref.o testidn.o testidna.o incaltst.o
44
45
46 DEPS = $(OBJECTS:.o=.d)
47
48 ## List of phony targets
49 .PHONY : all all-local install install-local clean clean-local \
50 distclean distclean-local dist dist-local check check-local
51
52 ## Clear suffix list
53 .SUFFIXES :
54
55 ## List of standard targets
56 all: all-local
57 install: install-local
58 clean: clean-local
59 distclean : distclean-local
60 dist: dist-local
61 check: all check-local
62
63 all-local: $(TARGET)
64
65 install-local:
66
67 dist-local:
68
69 clean-local:
70 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
71 $(RMV) $(OBJECTS) $(TARGET)
72
73 distclean-local: clean-local
74 $(RMV) Makefile
75
76 -include Makefile.local
77
78 check-local: all-local
79 TZ=PST8PDT $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) || true
80
81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
82 cd $(top_builddir) \
83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
84
85 $(TARGET) : $(OBJECTS)
86 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
87
88 invoke:
89 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
90
91 ifeq (,$(MAKECMDGOALS))
92 -include $(DEPS)
93 else
94 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
95 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
96 -include $(DEPS)
97 endif
98 endif
99 endif
100