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