X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..57a6839dcb3bba09e8228b822b290604668416fe:/icuSources/test/iotest/Makefile.in diff --git a/icuSources/test/iotest/Makefile.in b/icuSources/test/iotest/Makefile.in index 4e6a5c85..07e55f49 100644 --- a/icuSources/test/iotest/Makefile.in +++ b/icuSources/test/iotest/Makefile.in @@ -1,6 +1,10 @@ +#****************************************************************************** +# +# Copyright (C) 1999-2014, International Business Machines +# Corporation and others. All Rights Reserved. +# +#****************************************************************************** ## Makefile.in for ICU - test/iotest -## Copyright (c) 2002-2004, International Business Machines Corporation and -## others. All Rights Reserved. ## Source directory information srcdir = @srcdir@ @@ -8,33 +12,41 @@ top_srcdir = @top_srcdir@ top_builddir = ../.. +## All the flags and other definitions are included here. include $(top_builddir)/icudefs.mk ## Build directory information subdir = test/iotest ## Extra files to remove for 'make clean' -CLEANFILES = *~ $(DEPS) +CLEANFILES = *~ $(DEPS) $(TESTXML) ## Target information TARGET = iotest$(EXEEXT) BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ +# Simplify the path for Unix BUILDDIR := $(BUILDDIR:test/iotest/../../=) -BUILDDIR := $(BUILDDIR:test\\\\iotest/../../=) +# Simplify the path for Windows +BUILDDIR := $(BUILDDIR:test\\iotest/../../=) +# Simplify the path for Windows 98 +BUILDDIR := $(BUILDDIR:TEST\\IOTEST/../../=) -CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n \ --I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io +CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io +CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' -LIBS = $(LIBCTESTFW) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) +LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) -OBJECTS = iotest.o strtst.o filetst.o +OBJECTS = iotest.o stream.o strtst.o filetst.o trnstst.o DEPS = $(OBJECTS:.o=.d) +-include Makefile.local + ## List of phony targets .PHONY : all all-local install install-local clean clean-local \ -distclean distclean-local dist dist-local check check-local +distclean distclean-local dist dist-local check check-local xcheck \ +check-exhaustive check-exhaustive-local ## Clear suffix list .SUFFIXES : @@ -46,6 +58,8 @@ clean: clean-local distclean : distclean-local dist: dist-local check: all check-local +xcheck: all xcheck-local +check-exhaustive: all check-exhaustive-local all-local: $(TARGET) @@ -60,10 +74,15 @@ clean-local: distclean-local: clean-local $(RMV) Makefile --include Makefile.local - check-local: all-local - $(INVOKE) ./$(TARGET) $(IOTEST_OPTS) || true + $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) + +check-exhaustive-local: all-local + $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e + +TESTXML=$(top_builddir)/test-$(TARGET).xml +xcheck-local: all-local + $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) -x $(TESTXML) Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ @@ -71,6 +90,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(TARGET) : $(OBJECTS) $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) + $(POST_BUILD_STEP) ifeq (,$(MAKECMDGOALS)) -include $(DEPS) @@ -81,3 +101,4 @@ ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) endif endif endif +