michael@0: #****************************************************************************** michael@0: # michael@0: # Copyright (C) 1999-2013, International Business Machines michael@0: # Corporation and others. All Rights Reserved. michael@0: # michael@0: #****************************************************************************** michael@0: ## Makefile.in for ICU - test/cintltst michael@0: michael@0: ## Source directory information michael@0: srcdir = @srcdir@ michael@0: top_srcdir = @top_srcdir@ michael@0: michael@0: top_builddir = ../.. michael@0: michael@0: ## All the flags and other definitions are included here. michael@0: include $(top_builddir)/icudefs.mk michael@0: michael@0: ## Build directory information michael@0: subdir = test/cintltst michael@0: michael@0: ## Extra files to remove for 'make clean' michael@0: CLEANFILES = *~ $(DEPS) $(TESTXML) michael@0: michael@0: ## Target information michael@0: TARGET = cintltst$(EXEEXT) michael@0: michael@0: BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ michael@0: # Simplify the path for Unix michael@0: BUILDDIR := $(BUILDDIR:test/cintltst/../../=) michael@0: # Simplify the path for Windows michael@0: BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) michael@0: # Simplify the path for Windows 98 michael@0: BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) michael@0: michael@0: # we define ICU_UNICODE_VERSION so we can test it michael@0: CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil michael@0: 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)"' michael@0: LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) michael@0: michael@0: OBJECTS = callcoll.o calltest.o capitst.o cbiapts.o cbkittst.o \ michael@0: ccaltst.o ucnvseltst.o cctest.o ccapitst.o ccolltst.o encoll.o cconvtst.o ccurrtst.o \ michael@0: cdateintervalformattest.o cdattst.o cdetst.o cdtdptst.o cdtrgtst.o cestst.o cfintst.o \ michael@0: cformtst.o cfrtst.o cg7coll.o chashtst.o cintltst.o citertst.o cjaptst.o cloctst.o \ michael@0: cmsccoll.o cmsgtst.o cpluralrulestest.o cposxtst.o cldrtest.o \ michael@0: cnmdptst.o cnormtst.o cnumtst.o crestst.o creststn.o cturtst.o \ michael@0: cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o \ michael@0: cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o \ michael@0: ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o \ michael@0: stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o trie2test.o usettest.o \ michael@0: uenumtst.o utmstest.o currtest.o \ michael@0: idnatest.o nfsprep.o spreptst.o sprpdata.o \ michael@0: hpmufn.o tracetst.o reapits.o uregiontest.o utexttst.o ucsdetst.o spooftest.o \ michael@0: cgendtst.o michael@0: michael@0: DEPS = $(OBJECTS:.o=.d) michael@0: michael@0: -include Makefile.local michael@0: michael@0: ## List of phony targets michael@0: .PHONY : all all-local install install-local clean clean-local \ michael@0: distclean distclean-local dist dist-local check check-local xcheck \ michael@0: check-exhaustive check-exhaustive-local michael@0: michael@0: ## Clear suffix list michael@0: .SUFFIXES : michael@0: michael@0: ## List of standard targets michael@0: all: all-local michael@0: install: install-local michael@0: clean: clean-local michael@0: distclean : distclean-local michael@0: dist: dist-local michael@0: check: all check-local michael@0: xcheck: all xcheck-local michael@0: check-exhaustive: all check-exhaustive-local michael@0: michael@0: all-local: $(TARGET) michael@0: michael@0: install-local: michael@0: michael@0: dist-local: michael@0: michael@0: clean-local: michael@0: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) michael@0: $(RMV) $(OBJECTS) $(TARGET) michael@0: michael@0: distclean-local: clean-local michael@0: $(RMV) Makefile michael@0: michael@0: # cintltest gets $(THREADSENVFLAGS) - just in case we get a threaded cintltst. michael@0: michael@0: check-local: all-local michael@0: $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) michael@0: michael@0: check-exhaustive-local: all-local michael@0: $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e michael@0: michael@0: TESTXML=$(top_builddir)/test-$(TARGET).xml michael@0: xcheck-local: all-local michael@0: $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(CINTLTST_OPTS) -x $(TESTXML) michael@0: michael@0: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status michael@0: cd $(top_builddir) \ michael@0: && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status michael@0: michael@0: $(TARGET) : $(OBJECTS) michael@0: $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) michael@0: $(POST_BUILD_STEP) michael@0: michael@0: ifeq (,$(MAKECMDGOALS)) michael@0: -include $(DEPS) michael@0: else michael@0: ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) michael@0: ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) michael@0: -include $(DEPS) michael@0: endif michael@0: endif michael@0: endif