intl/icu/source/test/iotest/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/test/iotest/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,103 @@
     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/iotest
    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/iotest
    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 = iotest$(EXEEXT)
    1.29 +
    1.30 +BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
    1.31 +# Simplify the path for Unix
    1.32 +BUILDDIR := $(BUILDDIR:test/iotest/../../=)
    1.33 +# Simplify the path for Windows
    1.34 +BUILDDIR := $(BUILDDIR:test\\iotest/../../=)
    1.35 +# Simplify the path for Windows 98
    1.36 +BUILDDIR := $(BUILDDIR:TEST\\IOTEST/../../=)
    1.37 +
    1.38 +CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io
    1.39 +DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
    1.40 +LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
    1.41 +
    1.42 +OBJECTS = iotest.o stream.o strtst.o filetst.o trnstst.o
    1.43 +
    1.44 +DEPS = $(OBJECTS:.o=.d)
    1.45 +
    1.46 +-include Makefile.local
    1.47 +
    1.48 +## List of phony targets
    1.49 +.PHONY : all all-local install install-local clean clean-local	\
    1.50 +distclean distclean-local dist dist-local check check-local xcheck	\
    1.51 +check-exhaustive check-exhaustive-local
    1.52 +
    1.53 +## Clear suffix list
    1.54 +.SUFFIXES :
    1.55 +
    1.56 +## List of standard targets
    1.57 +all: all-local
    1.58 +install: install-local
    1.59 +clean: clean-local
    1.60 +distclean : distclean-local
    1.61 +dist: dist-local
    1.62 +check: all check-local
    1.63 +xcheck: all xcheck-local
    1.64 +check-exhaustive: all check-exhaustive-local
    1.65 +
    1.66 +all-local: $(TARGET)
    1.67 +
    1.68 +install-local:
    1.69 +
    1.70 +dist-local:
    1.71 +
    1.72 +clean-local:
    1.73 +	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
    1.74 +	$(RMV) $(OBJECTS) $(TARGET)
    1.75 +
    1.76 +distclean-local: clean-local
    1.77 +	$(RMV) Makefile
    1.78 +
    1.79 +check-local: all-local
    1.80 +	$(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS)
    1.81 +
    1.82 +check-exhaustive-local: all-local
    1.83 +	$(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e
    1.84 +
    1.85 +TESTXML=$(top_builddir)/test-$(TARGET).xml
    1.86 +xcheck-local: all-local
    1.87 +	$(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) -x $(TESTXML)
    1.88 +
    1.89 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
    1.90 +	cd $(top_builddir) \
    1.91 +	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    1.92 +
    1.93 +$(TARGET) : $(OBJECTS)
    1.94 +	$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
    1.95 +	$(POST_BUILD_STEP)
    1.96 +
    1.97 +ifeq (,$(MAKECMDGOALS))
    1.98 +-include $(DEPS)
    1.99 +else
   1.100 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   1.101 +ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
   1.102 +-include $(DEPS)
   1.103 +endif
   1.104 +endif
   1.105 +endif
   1.106 +

mercurial