1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/test/cintltst/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,118 @@ 1.4 +#****************************************************************************** 1.5 +# 1.6 +# Copyright (C) 1999-2013, International Business Machines 1.7 +# Corporation and others. All Rights Reserved. 1.8 +# 1.9 +#****************************************************************************** 1.10 +## Makefile.in for ICU - test/cintltst 1.11 + 1.12 +## Source directory information 1.13 +srcdir = @srcdir@ 1.14 +top_srcdir = @top_srcdir@ 1.15 + 1.16 +top_builddir = ../.. 1.17 + 1.18 +## All the flags and other definitions are included here. 1.19 +include $(top_builddir)/icudefs.mk 1.20 + 1.21 +## Build directory information 1.22 +subdir = test/cintltst 1.23 + 1.24 +## Extra files to remove for 'make clean' 1.25 +CLEANFILES = *~ $(DEPS) $(TESTXML) 1.26 + 1.27 +## Target information 1.28 +TARGET = cintltst$(EXEEXT) 1.29 + 1.30 +BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ 1.31 +# Simplify the path for Unix 1.32 +BUILDDIR := $(BUILDDIR:test/cintltst/../../=) 1.33 +# Simplify the path for Windows 1.34 +BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) 1.35 +# Simplify the path for Windows 98 1.36 +BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) 1.37 + 1.38 +# we define ICU_UNICODE_VERSION so we can test it 1.39 +CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil 1.40 +DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' 1.41 +LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) 1.42 + 1.43 +OBJECTS = callcoll.o calltest.o capitst.o cbiapts.o cbkittst.o \ 1.44 +ccaltst.o ucnvseltst.o cctest.o ccapitst.o ccolltst.o encoll.o cconvtst.o ccurrtst.o \ 1.45 +cdateintervalformattest.o cdattst.o cdetst.o cdtdptst.o cdtrgtst.o cestst.o cfintst.o \ 1.46 +cformtst.o cfrtst.o cg7coll.o chashtst.o cintltst.o citertst.o cjaptst.o cloctst.o \ 1.47 +cmsccoll.o cmsgtst.o cpluralrulestest.o cposxtst.o cldrtest.o \ 1.48 +cnmdptst.o cnormtst.o cnumtst.o crestst.o creststn.o cturtst.o \ 1.49 +cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o \ 1.50 +cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o \ 1.51 +ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o \ 1.52 +stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o trie2test.o usettest.o \ 1.53 +uenumtst.o utmstest.o currtest.o \ 1.54 +idnatest.o nfsprep.o spreptst.o sprpdata.o \ 1.55 +hpmufn.o tracetst.o reapits.o uregiontest.o utexttst.o ucsdetst.o spooftest.o \ 1.56 +cgendtst.o 1.57 + 1.58 +DEPS = $(OBJECTS:.o=.d) 1.59 + 1.60 +-include Makefile.local 1.61 + 1.62 +## List of phony targets 1.63 +.PHONY : all all-local install install-local clean clean-local \ 1.64 +distclean distclean-local dist dist-local check check-local xcheck \ 1.65 +check-exhaustive check-exhaustive-local 1.66 + 1.67 +## Clear suffix list 1.68 +.SUFFIXES : 1.69 + 1.70 +## List of standard targets 1.71 +all: all-local 1.72 +install: install-local 1.73 +clean: clean-local 1.74 +distclean : distclean-local 1.75 +dist: dist-local 1.76 +check: all check-local 1.77 +xcheck: all xcheck-local 1.78 +check-exhaustive: all check-exhaustive-local 1.79 + 1.80 +all-local: $(TARGET) 1.81 + 1.82 +install-local: 1.83 + 1.84 +dist-local: 1.85 + 1.86 +clean-local: 1.87 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.88 + $(RMV) $(OBJECTS) $(TARGET) 1.89 + 1.90 +distclean-local: clean-local 1.91 + $(RMV) Makefile 1.92 + 1.93 +# cintltest gets $(THREADSENVFLAGS) - just in case we get a threaded cintltst. 1.94 + 1.95 +check-local: all-local 1.96 + $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) 1.97 + 1.98 +check-exhaustive-local: all-local 1.99 + $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e 1.100 + 1.101 +TESTXML=$(top_builddir)/test-$(TARGET).xml 1.102 +xcheck-local: all-local 1.103 + $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) -x $(TESTXML) 1.104 + 1.105 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.106 + cd $(top_builddir) \ 1.107 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.108 + 1.109 +$(TARGET) : $(OBJECTS) 1.110 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 1.111 + $(POST_BUILD_STEP) 1.112 + 1.113 +ifeq (,$(MAKECMDGOALS)) 1.114 +-include $(DEPS) 1.115 +else 1.116 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.117 +ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) 1.118 +-include $(DEPS) 1.119 +endif 1.120 +endif 1.121 +endif