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