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