]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/Makefile.in
ICU-6.2.22.tar.gz
[apple/icu.git] / icuSources / test / intltest / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU - test/intltest
374ca955 2## Copyright (c) 1999-2004, International Business Machines Corporation and
b75a7d8f
A
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
374ca955 22BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
b75a7d8f 23BUILDDIR := $(BUILDDIR:test/intltest/../../=)
374ca955 24BUILDDIR := $(BUILDDIR:test\\\\intltest/../../=)
b75a7d8f 25
374ca955 26CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
b75a7d8f 27DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
374ca955 28LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 29
374ca955
A
30OBJECTS = allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \
31caltztst.o canittst.o citrtest.o cntabcol.o convtest.o currcoll.o dacoll.o \
b75a7d8f
A
32dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
33encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \
34itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \
35loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \
36numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o sdtfmtts.o svccoll.o tchcfmt.o \
37tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \
374ca955 38tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \
b75a7d8f 39tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \
374ca955
A
40itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \
41testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \
b75a7d8f 42jamotest.o srchtest.o reptest.o regextst.o \
374ca955
A
43itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \
44uobjtest.o idnaref.o nptrans.o punyref.o testidn.o testidna.o incaltst.o \
45calcasts.o v32test.o textfile.o tokiter.o
b75a7d8f
A
46
47
48DEPS = $(OBJECTS:.o=.d)
49
50## List of phony targets
51.PHONY : all all-local install install-local clean clean-local \
52distclean distclean-local dist dist-local check check-local
53
54## Clear suffix list
55.SUFFIXES :
56
57## List of standard targets
58all: all-local
59install: install-local
60clean: clean-local
61distclean : distclean-local
62dist: dist-local
63check: all check-local
64
65all-local: $(TARGET)
66
67install-local:
68
69dist-local:
70
71clean-local:
72 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
73 $(RMV) $(OBJECTS) $(TARGET)
74
75distclean-local: clean-local
76 $(RMV) Makefile
77
78-include Makefile.local
79
80check-local: all-local
374ca955 81 $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) || true
b75a7d8f
A
82
83Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
84 cd $(top_builddir) \
85 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
86
87$(TARGET) : $(OBJECTS)
88 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
89
b75a7d8f
A
90ifeq (,$(MAKECMDGOALS))
91-include $(DEPS)
92else
93ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
94ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
95-include $(DEPS)
96endif
97endif
98endif
99