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