]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/Makefile.in
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / test / cintltst / Makefile.in
CommitLineData
73c04bcf
A
1#******************************************************************************
2#
b331163b 3# Copyright (C) 1999-2015, 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 \
44cmsccoll.o cmsgtst.o cpluralrulestest.o cposxtst.o cldrtest.o \
73c04bcf
A
45cnmdptst.o cnormtst.o cnumtst.o crestst.o creststn.o cturtst.o \
46cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o \
b75a7d8f 47cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o \
46f4442e 48ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o \
729e4ab9 49stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o trie2test.o usettest.o \
73c04bcf
A
50uenumtst.o utmstest.o currtest.o \
51idnatest.o nfsprep.o spreptst.o sprpdata.o \
b331163b
A
52hpmufn.o tracetst.o reapits.o uregiontest.o ulistfmttest.o\
53utexttst.o ucsdetst.o spooftest.o \
51004dcb 54cgendtst.o
b75a7d8f
A
55
56DEPS = $(OBJECTS:.o=.d)
57
73c04bcf
A
58-include Makefile.local
59
b75a7d8f
A
60## List of phony targets
61.PHONY : all all-local install install-local clean clean-local \
4388f060
A
62distclean distclean-local dist dist-local check check-local xcheck \
63check-exhaustive check-exhaustive-local
b75a7d8f
A
64
65## Clear suffix list
66.SUFFIXES :
67
68## List of standard targets
69all: all-local
70install: install-local
71clean: clean-local
72distclean : distclean-local
73dist: dist-local
74check: all check-local
729e4ab9 75xcheck: all xcheck-local
4388f060 76check-exhaustive: all check-exhaustive-local
b75a7d8f
A
77
78all-local: $(TARGET)
79
80install-local:
81
82dist-local:
83
84clean-local:
85 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
86 $(RMV) $(OBJECTS) $(TARGET)
87
88distclean-local: clean-local
89 $(RMV) Makefile
90
57a6839d
A
91# cintltest gets $(THREADSENVFLAGS) - just in case we get a threaded cintltst.
92
b75a7d8f 93check-local: all-local
57a6839d 94 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS)
b75a7d8f 95
4388f060 96check-exhaustive-local: all-local
57a6839d 97 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e
4388f060 98
729e4ab9
A
99TESTXML=$(top_builddir)/test-$(TARGET).xml
100xcheck-local: all-local
57a6839d 101 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) -x $(TESTXML)
729e4ab9 102
b75a7d8f
A
103Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
104 cd $(top_builddir) \
105 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
106
107$(TARGET) : $(OBJECTS)
46f4442e
A
108 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
109 $(POST_BUILD_STEP)
b75a7d8f
A
110
111ifeq (,$(MAKECMDGOALS))
112-include $(DEPS)
113else
114ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
115ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
116-include $(DEPS)
117endif
118endif
119endif