2005-12-02 10:21:39 +00:00
|
|
|
#******************************************************************************
|
|
|
|
#
|
2006-01-23 23:25:00 +00:00
|
|
|
# Copyright (C) 1999-2006, 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'
|
2000-10-02 23:37:16 +00:00
|
|
|
CLEANFILES = *~ $(DEPS)
|
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
|
|
|
ifneq ($(top_builddir),$(top_srcdir))
|
|
|
|
CPPFLAGS += -I$(top_builddir)/common
|
|
|
|
endif
|
|
|
|
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)"'
|
2004-03-23 06:37:36 +00:00
|
|
|
LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
|
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 \
|
2004-12-15 18:48:57 +00:00
|
|
|
caltztst.o canittst.o citrtest.o cntabcol.o convtest.o currcoll.o \
|
2002-05-01 00:43:21 +00:00
|
|
|
dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
|
2003-02-28 20:36:53 +00:00
|
|
|
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 \
|
2005-07-28 20:25:44 +00:00
|
|
|
numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o rndmcoll.o \
|
2005-07-05 18:39:00 +00:00
|
|
|
sdtfmtts.o svccoll.o tchcfmt.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 \
|
2004-02-26 02:03:11 +00:00
|
|
|
itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \
|
|
|
|
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 \
|
2005-07-12 20:33:15 +00:00
|
|
|
uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o incaltst.o \
|
2006-01-23 23:25:00 +00:00
|
|
|
calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o wbnf.o \
|
2006-02-06 18:03:11 +00:00
|
|
|
windttst.o winnmtst.o winutil.o csdetest.o
|
2002-11-27 21:20:20 +00:00
|
|
|
|
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 \
|
1999-08-16 21:50:52 +00:00
|
|
|
distclean distclean-local dist dist-local check check-local
|
|
|
|
|
|
|
|
## 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
|
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
|
|
|
|
2000-08-01 01:55:54 +00:00
|
|
|
check-local: all-local
|
2003-10-07 22:22:34 +00:00
|
|
|
$(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) || true
|
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)
|
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
|
|
|
|
|