2005-12-02 10:21:39 +00:00
|
|
|
#******************************************************************************
|
|
|
|
#
|
2013-01-14 19:06:31 +00:00
|
|
|
# Copyright (C) 1999-2013, International Business Machines
|
2005-12-02 10:21:39 +00:00
|
|
|
# Corporation and others. All Rights Reserved.
|
|
|
|
#
|
|
|
|
#******************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
## Makefile.in for ICU - test/intltest
|
|
|
|
|
2000-10-24 19:50:20 +00:00
|
|
|
## Source directory information
|
1999-08-16 21:50:52 +00:00
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
2000-10-26 19:28:33 +00:00
|
|
|
top_builddir = ../..
|
|
|
|
|
2005-12-02 10:21:39 +00:00
|
|
|
## All the flags and other definitions are included here.
|
2000-10-26 19:28:33 +00:00
|
|
|
include $(top_builddir)/icudefs.mk
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Build directory information
|
|
|
|
subdir = test/intltest
|
|
|
|
|
|
|
|
## Extra files to remove for 'make clean'
|
2010-07-12 15:24:57 +00:00
|
|
|
CLEANFILES = *~ $(DEPS) $(TESTXML)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Target information
|
2003-02-11 00:13:48 +00:00
|
|
|
TARGET = intltest$(EXEEXT)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2004-03-31 22:33:46 +00:00
|
|
|
BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
|
2005-03-22 00:11:20 +00:00
|
|
|
# Simplify the path for Unix
|
|
|
|
BUILDDIR := $(BUILDDIR:test/intltest/../../=)
|
|
|
|
# Simplify the path for Windows
|
2005-03-22 03:37:06 +00:00
|
|
|
BUILDDIR := $(BUILDDIR:test\\intltest/../../=)
|
2005-03-22 00:11:20 +00:00
|
|
|
# Simplify the path for Windows 98
|
2005-03-22 03:37:06 +00:00
|
|
|
BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=)
|
2003-02-17 17:48:50 +00:00
|
|
|
|
2005-12-02 10:21:39 +00:00
|
|
|
CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw
|
2002-05-13 23:51:50 +00:00
|
|
|
DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
|
2007-06-26 01:52:09 +00:00
|
|
|
LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2005-08-15 16:11:39 +00:00
|
|
|
OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \
|
2012-12-19 05:12:25 +00:00
|
|
|
caltztst.o canittst.o citrtest.o cntabcol.o colldata.o convtest.o currcoll.o \
|
2007-08-10 02:09:24 +00:00
|
|
|
fldset.o dadrfmt.o dadrcal.o dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
|
2007-08-03 18:43:04 +00:00
|
|
|
dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \
|
2002-08-28 00:13:27 +00:00
|
|
|
itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \
|
2001-03-30 00:29:59 +00:00
|
|
|
loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \
|
2007-12-17 01:39:55 +00:00
|
|
|
numfmtst.o numrgts.o plurults.o plurfmts.o pptest.o regcoll.o restest.o restsnew.o \
|
2010-01-16 03:07:18 +00:00
|
|
|
sdtfmtts.o svccoll.o tchcfmt.o selfmts.o \
|
1999-08-16 21:50:52 +00:00
|
|
|
tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \
|
2003-08-08 16:23:38 +00:00
|
|
|
tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \
|
2003-02-26 23:22:03 +00:00
|
|
|
tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \
|
2011-01-05 21:05:47 +00:00
|
|
|
bytestrietest.o ucharstrietest.o \
|
2012-01-20 02:35:00 +00:00
|
|
|
itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \
|
2004-02-26 02:03:11 +00:00
|
|
|
testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \
|
2003-02-25 19:40:00 +00:00
|
|
|
jamotest.o srchtest.o reptest.o regextst.o \
|
2004-04-09 19:58:58 +00:00
|
|
|
itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \
|
2010-06-15 15:54:53 +00:00
|
|
|
uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46test.o \
|
|
|
|
incaltst.o calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \
|
2008-09-19 19:05:37 +00:00
|
|
|
windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o tzoffloc.o tzfmttst.o ssearch.o dtifmtts.o \
|
2013-01-14 19:06:31 +00:00
|
|
|
tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o alphaindextst.o listformattertest.o genderinfotest.o compactdecimalformattest.o regiontst.o
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
DEPS = $(OBJECTS:.o=.d)
|
|
|
|
|
2005-12-02 10:21:39 +00:00
|
|
|
-include Makefile.local
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
## List of phony targets
|
2005-12-02 10:21:39 +00:00
|
|
|
.PHONY : all all-local install install-local clean clean-local \
|
2011-11-14 22:33:19 +00:00
|
|
|
distclean distclean-local dist dist-local check check-local xcheck xcheck-local \
|
|
|
|
check-exhaustive check-exhaustive-local
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Clear suffix list
|
|
|
|
.SUFFIXES :
|
|
|
|
|
|
|
|
## List of standard targets
|
|
|
|
all: all-local
|
|
|
|
install: install-local
|
|
|
|
clean: clean-local
|
|
|
|
distclean : distclean-local
|
|
|
|
dist: dist-local
|
2000-08-01 01:55:54 +00:00
|
|
|
check: all check-local
|
2010-07-12 15:24:57 +00:00
|
|
|
xcheck: all xcheck-local
|
2011-11-14 22:33:19 +00:00
|
|
|
check-exhaustive: all check-exhaustive-local
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
all-local: $(TARGET)
|
|
|
|
|
2000-10-12 03:13:46 +00:00
|
|
|
install-local:
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
dist-local:
|
|
|
|
|
|
|
|
clean-local:
|
2000-05-15 22:32:11 +00:00
|
|
|
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
|
|
|
$(RMV) $(OBJECTS) $(TARGET)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
distclean-local: clean-local
|
2000-10-02 23:37:16 +00:00
|
|
|
$(RMV) Makefile
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2013-09-13 05:48:16 +00:00
|
|
|
# note- intltest gets $(THREADSENVFLAGS) so that it runs threaded on OS400
|
2000-08-01 01:55:54 +00:00
|
|
|
check-local: all-local
|
2013-09-13 05:48:16 +00:00
|
|
|
$(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2011-11-14 22:33:19 +00:00
|
|
|
check-exhaustive-local: all-local
|
2013-09-13 05:48:16 +00:00
|
|
|
$(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e
|
2011-11-14 22:33:19 +00:00
|
|
|
|
2010-07-12 15:24:57 +00:00
|
|
|
TESTXML=$(top_builddir)/test-$(TARGET).xml
|
|
|
|
xcheck-local: all-local
|
2013-09-13 05:48:16 +00:00
|
|
|
$(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS) -x $(TESTXML)
|
2010-07-12 15:24:57 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(TARGET) : $(OBJECTS)
|
2003-02-11 00:13:48 +00:00
|
|
|
$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
|
2006-12-16 21:07:01 +00:00
|
|
|
$(POST_BUILD_STEP)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-04-13 22:08:07 +00:00
|
|
|
ifeq (,$(MAKECMDGOALS))
|
|
|
|
-include $(DEPS)
|
|
|
|
else
|
2000-04-05 22:14:24 +00:00
|
|
|
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
2002-02-06 02:08:02 +00:00
|
|
|
ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
|
1999-08-16 21:50:52 +00:00
|
|
|
-include $(DEPS)
|
|
|
|
endif
|
2000-04-13 22:08:07 +00:00
|
|
|
endif
|
2002-02-06 02:08:02 +00:00
|
|
|
endif
|