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/iotest 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/iotest 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 = iotest$(EXEEXT) michael@0: michael@0: BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ michael@0: # Simplify the path for Unix michael@0: BUILDDIR := $(BUILDDIR:test/iotest/../../=) michael@0: # Simplify the path for Windows michael@0: BUILDDIR := $(BUILDDIR:test\\iotest/../../=) michael@0: # Simplify the path for Windows 98 michael@0: BUILDDIR := $(BUILDDIR:TEST\\IOTEST/../../=) michael@0: michael@0: CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io michael@0: DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' michael@0: LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) michael@0: michael@0: OBJECTS = iotest.o stream.o strtst.o filetst.o trnstst.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: check-local: all-local michael@0: $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) michael@0: michael@0: check-exhaustive-local: all-local michael@0: $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e michael@0: michael@0: TESTXML=$(top_builddir)/test-$(TARGET).xml michael@0: xcheck-local: all-local michael@0: $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_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 michael@0: