]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/Makefile.in
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / test / cintltst / Makefile.in
CommitLineData
73c04bcf
A
1#******************************************************************************
2#
2ca993e8 3# Copyright (C) 1999-2016, International Business Machines
73c04bcf
A
4# Corporation and others. All Rights Reserved.
5#
6#******************************************************************************
b75a7d8f 7## Makefile.in for ICU - test/cintltst
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/cintltst
20
21## Extra files to remove for 'make clean'
729e4ab9 22CLEANFILES = *~ $(DEPS) $(TESTXML)
b75a7d8f
A
23
24## Target information
25TARGET = cintltst$(EXEEXT)
26
374ca955 27BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
73c04bcf 28# Simplify the path for Unix
b75a7d8f 29BUILDDIR := $(BUILDDIR:test/cintltst/../../=)
73c04bcf
A
30# Simplify the path for Windows
31BUILDDIR := $(BUILDDIR:test\\cintltst/../../=)
32# Simplify the path for Windows 98
33BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=)
b75a7d8f
A
34
35# we define ICU_UNICODE_VERSION so we can test it
73c04bcf 36CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil
374ca955 37DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
729e4ab9 38LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 39
57a6839d 40OBJECTS = callcoll.o calltest.o capitst.o cbiapts.o cbkittst.o \
729e4ab9 41ccaltst.o ucnvseltst.o cctest.o ccapitst.o ccolltst.o encoll.o cconvtst.o ccurrtst.o \
4388f060
A
42cdateintervalformattest.o cdattst.o cdetst.o cdtdptst.o cdtrgtst.o cestst.o cfintst.o \
43cformtst.o cfrtst.o cg7coll.o chashtst.o cintltst.o citertst.o cjaptst.o cloctst.o \
2ca993e8 44cmeasureformattest.o \
4388f060 45cmsccoll.o cmsgtst.o cpluralrulestest.o cposxtst.o cldrtest.o \
2ca993e8 46cnmdptst.o cnormtst.o cnumtst.o crelativedateformattest.o crestst.o creststn.o cturtst.o \
73c04bcf 47cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o \
b75a7d8f 48cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o \
46f4442e 49ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o \
729e4ab9 50stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o trie2test.o usettest.o \
73c04bcf
A
51uenumtst.o utmstest.o currtest.o \
52idnatest.o nfsprep.o spreptst.o sprpdata.o \
b331163b
A
53hpmufn.o tracetst.o reapits.o uregiontest.o ulistfmttest.o\
54utexttst.o ucsdetst.o spooftest.o \
51004dcb 55cgendtst.o
b75a7d8f
A
56
57DEPS = $(OBJECTS:.o=.d)
58
73c04bcf
A
59-include Makefile.local
60
b75a7d8f
A
61## List of phony targets
62.PHONY : all all-local install install-local clean clean-local \
4388f060
A
63distclean distclean-local dist dist-local check check-local xcheck \
64check-exhaustive check-exhaustive-local
b75a7d8f
A
65
66## Clear suffix list
67.SUFFIXES :
68
69## List of standard targets
70all: all-local
71install: install-local
72clean: clean-local
73distclean : distclean-local
74dist: dist-local
75check: all check-local
729e4ab9 76xcheck: all xcheck-local
4388f060 77check-exhaustive: all check-exhaustive-local
b75a7d8f
A
78
79all-local: $(TARGET)
80
81install-local:
82
83dist-local:
84
85clean-local:
86 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
87 $(RMV) $(OBJECTS) $(TARGET)
88
89distclean-local: clean-local
90 $(RMV) Makefile
91
57a6839d
A
92# cintltest gets $(THREADSENVFLAGS) - just in case we get a threaded cintltst.
93
b75a7d8f 94check-local: all-local
57a6839d 95 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS)
b75a7d8f 96
4388f060 97check-exhaustive-local: all-local
57a6839d 98 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e
4388f060 99
729e4ab9
A
100TESTXML=$(top_builddir)/test-$(TARGET).xml
101xcheck-local: all-local
57a6839d 102 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) -x $(TESTXML)
729e4ab9 103
b75a7d8f
A
104Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
105 cd $(top_builddir) \
106 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
107
108$(TARGET) : $(OBJECTS)
46f4442e
A
109 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
110 $(POST_BUILD_STEP)
b75a7d8f
A
111
112ifeq (,$(MAKECMDGOALS))
113-include $(DEPS)
114else
115ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
116ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
117-include $(DEPS)
118endif
119endif
120endif