• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#******************************************************************************
2#
3#   Copyright (C) 1999-2010, International Business Machines
4#   Corporation and others.  All Rights Reserved.
5#
6#******************************************************************************
7## Makefile.in for ICU - test/intltest
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/intltest
20
21## Extra files to remove for 'make clean'
22CLEANFILES = *~ $(DEPS) $(TESTXML)
23
24## Target information
25TARGET = intltest$(EXEEXT)
26
27BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
28# Simplify the path for Unix
29BUILDDIR := $(BUILDDIR:test/intltest/../../=)
30# Simplify the path for Windows
31BUILDDIR := $(BUILDDIR:test\\intltest/../../=)
32# Simplify the path for Windows 98
33BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=)
34
35ifneq ($(top_builddir),$(top_srcdir))
36CPPFLAGS += -I$(top_builddir)/common
37endif
38CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
39DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
40LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD)
41
42OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \
43caltztst.o canittst.o citrtest.o cntabcol.o convtest.o currcoll.o \
44fldset.o dadrfmt.o dadrcal.o dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o	\
45dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o	\
46itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o	\
47loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o		\
48numfmtst.o numrgts.o  plurults.o plurfmts.o pptest.o regcoll.o restest.o restsnew.o \
49sdtfmtts.o svccoll.o tchcfmt.o	selfmts.o \
50tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o	\
51tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o		\
52tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \
53itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \
54testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \
55jamotest.o srchtest.o reptest.o regextst.o \
56itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \
57uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46test.o \
58incaltst.o calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \
59windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o tzoffloc.o tzfmttst.o ssearch.o dtifmtts.o \
60tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o
61
62DEPS = $(OBJECTS:.o=.d)
63
64-include Makefile.local
65
66## List of phony targets
67.PHONY : all all-local install install-local clean clean-local	\
68distclean distclean-local dist dist-local check check-local xcheck xcheck-local
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
80xcheck: all xcheck-local
81
82all-local: $(TARGET)
83
84install-local:
85
86dist-local:
87
88clean-local:
89	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
90	$(RMV) $(OBJECTS) $(TARGET)
91
92distclean-local: clean-local
93	$(RMV) Makefile
94
95check-local: all-local
96	$(INVOKE) ./$(TARGET) $(INTLTEST_OPTS)
97
98TESTXML=$(top_builddir)/test-$(TARGET).xml
99xcheck-local: all-local
100	$(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) -x $(TESTXML)
101
102Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
103	cd $(top_builddir) \
104	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
105
106$(TARGET) : $(OBJECTS)
107	$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
108	$(POST_BUILD_STEP)
109
110ifeq (,$(MAKECMDGOALS))
111-include $(DEPS)
112else
113ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
114ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
115-include $(DEPS)
116endif
117endif
118endif
119
120