1999-08-16 21:50:52 +00:00
|
|
|
## Makefile.in for ICU - test/intltest
|
2001-03-21 20:09:56 +00:00
|
|
|
## Copyright (c) 2001, International Business Machines Corporation and
|
2000-01-17 19:48:20 +00:00
|
|
|
## others. All Rights Reserved.
|
1999-08-16 21:50:52 +00:00
|
|
|
|
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 = ../..
|
|
|
|
|
|
|
|
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
|
|
|
|
2002-07-24 00:27:11 +00:00
|
|
|
BUILDDIR := $(shell pwd)/../../
|
2003-02-17 17:48:50 +00:00
|
|
|
BUILDDIR := $(BUILDDIR:test/intltest/../../=)
|
|
|
|
|
2002-05-13 23:51:50 +00:00
|
|
|
CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil
|
|
|
|
DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
|
2002-04-19 02:19:24 +00:00
|
|
|
LIBS = $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
OBJECTS = allcoll.o apicoll.o callimts.o calregts.o caltest.o \
|
2003-02-26 23:22:03 +00:00
|
|
|
caltztst.o canittst.o citrtest.o cntabcol.o cputilst.o currcoll.o dacoll.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 \
|
2003-05-02 19:36:23 +00:00
|
|
|
numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o 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 \
|
|
|
|
tsmthred.o tsmutex.o tsnmfmt.o tsputil.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 \
|
2000-03-28 23:37:12 +00:00
|
|
|
itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o unhxtrts.o hxuntrts.o \
|
2001-11-17 09:18:11 +00:00
|
|
|
ufltlgts.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 \
|
2002-11-27 21:20:20 +00:00
|
|
|
itrbnf.o itrbnfrt.o tstdtmod.o testdata.o datamap.o ucaconf.o icusvtst.o \
|
2003-02-28 21:37:55 +00:00
|
|
|
uobjtest.o idnaref.o nptrans.o punyref.o testidn.o testidna.o
|
2002-11-27 21:20:20 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
DEPS = $(OBJECTS:.o=.d)
|
|
|
|
|
|
|
|
## List of phony targets
|
|
|
|
.PHONY : all all-local install install-local clean clean-local \
|
|
|
|
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-12-01 21:07:42 +00:00
|
|
|
-include Makefile.local
|
|
|
|
|
2000-08-01 01:55:54 +00:00
|
|
|
check-local: all-local
|
2002-12-12 18:11:16 +00:00
|
|
|
TZ=PST8PDT $(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
|
|
|
|
2001-03-16 18:54:36 +00:00
|
|
|
invoke:
|
|
|
|
ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
|
|
|
|
|
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
|
|
|
|
|