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
|
|
|
|
|
|
|
## Platform-specific setup
|
2000-10-24 19:50:20 +00:00
|
|
|
include @platform_make_fragment@
|
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
|
|
|
|
TARGET = intltest
|
|
|
|
|
|
|
|
DEFS = @DEFS@
|
2001-09-28 00:31:53 +00:00
|
|
|
DATADIR := $(shell pwd)/../../../data
|
|
|
|
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -D'U_SRCDATADIR=$(MACRO_SEPARATOR)"$(DATADIR)/"'
|
1999-08-16 21:50:52 +00:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@ \
|
2000-10-03 23:19:26 +00:00
|
|
|
ENABLE_RPATH = @ENABLE_RPATH@
|
|
|
|
ifeq ($(ENABLE_RPATH),YES)
|
|
|
|
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
|
|
|
|
endif
|
|
|
|
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
|
2001-08-10 20:50:07 +00:00
|
|
|
INVOKE = $(LDLIBRARYPATH_ENVVAR)=$(top_builddir)/common:$(top_builddir)/i18n:$(top_builddir)/tools/toolutil:$(top_builddir)/data:$$$(LDLIBRARYPATH_ENVVAR)
|
2001-01-23 23:52:49 +00:00
|
|
|
LIBS = $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
OBJECTS = allcoll.o apicoll.o callimts.o calregts.o caltest.o \
|
2000-08-16 22:30:12 +00:00
|
|
|
caltztst.o citrtest.o cppcnvt.o cputilst.o currcoll.o dacoll.o \
|
1999-08-16 21:50:52 +00:00
|
|
|
dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \
|
2001-10-04 01:42:16 +00:00
|
|
|
encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o itconv.o \
|
2001-03-30 00:29:59 +00:00
|
|
|
itercoll.o itformat.o itmajor.o ittxtbd.o itutil.o jacoll.o lcukocol.o \
|
|
|
|
loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \
|
2000-05-15 18:39:17 +00:00
|
|
|
numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o sdtfmtts.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 \
|
2000-01-15 17:51:25 +00:00
|
|
|
tzregts.o tztest.o ucdtest.o usettest.o ustrtest.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-10-11 04:06:16 +00:00
|
|
|
ufltlgts.o testutil.o transrt.o normconf.o sfwdchit.o \
|
2001-10-10 21:43:11 +00:00
|
|
|
jamotest.o srchtest.o \
|
|
|
|
itrbnf.o itrbnfrt.o
|
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
|
2001-08-10 20:50:07 +00:00
|
|
|
TZ=PST8PDT $(INVOKE) ./$(TARGET) $(INTLTESTOPTS) || 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)
|
|
|
|
$(LINK.cc) -o $@ $^ $(LIBS)
|
|
|
|
|
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)),)
|
1999-08-16 21:50:52 +00:00
|
|
|
-include $(DEPS)
|
|
|
|
endif
|
2000-04-13 22:08:07 +00:00
|
|
|
endif
|