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