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