| OLD | NEW |
| (Empty) |
| 1 #****************************************************************************** | |
| 2 # | |
| 3 # Copyright (C) 1999-2014, International Business Machines | |
| 4 # Corporation and others. All Rights Reserved. | |
| 5 # | |
| 6 #****************************************************************************** | |
| 7 ## Makefile.in for ICU - test/iotest | |
| 8 | |
| 9 ## Source directory information | |
| 10 srcdir = @srcdir@ | |
| 11 top_srcdir = @top_srcdir@ | |
| 12 | |
| 13 top_builddir = ../.. | |
| 14 | |
| 15 ## All the flags and other definitions are included here. | |
| 16 include $(top_builddir)/icudefs.mk | |
| 17 | |
| 18 ## Build directory information | |
| 19 subdir = test/iotest | |
| 20 | |
| 21 ## Extra files to remove for 'make clean' | |
| 22 CLEANFILES = *~ $(DEPS) $(TESTXML) | |
| 23 | |
| 24 ## Target information | |
| 25 TARGET = iotest$(EXEEXT) | |
| 26 | |
| 27 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ | |
| 28 # Simplify the path for Unix | |
| 29 BUILDDIR := $(BUILDDIR:test/iotest/../../=) | |
| 30 # Simplify the path for Windows | |
| 31 BUILDDIR := $(BUILDDIR:test\\iotest/../../=) | |
| 32 # Simplify the path for Windows 98 | |
| 33 BUILDDIR := $(BUILDDIR:TEST\\IOTEST/../../=) | |
| 34 | |
| 35 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ct
estfw -I$(top_srcdir)/io | |
| 36 CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= | |
| 37 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | |
| 38 LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(D
EFAULT_LIBS) $(LIB_M) | |
| 39 | |
| 40 OBJECTS = iotest.o stream.o strtst.o filetst.o trnstst.o | |
| 41 | |
| 42 DEPS = $(OBJECTS:.o=.d) | |
| 43 | |
| 44 -include Makefile.local | |
| 45 | |
| 46 ## List of phony targets | |
| 47 .PHONY : all all-local install install-local clean clean-local \ | |
| 48 distclean distclean-local dist dist-local check check-local xcheck \ | |
| 49 check-exhaustive check-exhaustive-local | |
| 50 | |
| 51 ## Clear suffix list | |
| 52 .SUFFIXES : | |
| 53 | |
| 54 ## List of standard targets | |
| 55 all: all-local | |
| 56 install: install-local | |
| 57 clean: clean-local | |
| 58 distclean : distclean-local | |
| 59 dist: dist-local | |
| 60 check: all check-local | |
| 61 xcheck: all xcheck-local | |
| 62 check-exhaustive: all check-exhaustive-local | |
| 63 | |
| 64 all-local: $(TARGET) | |
| 65 | |
| 66 install-local: | |
| 67 | |
| 68 dist-local: | |
| 69 | |
| 70 clean-local: | |
| 71 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
| 72 $(RMV) $(OBJECTS) $(TARGET) | |
| 73 | |
| 74 distclean-local: clean-local | |
| 75 $(RMV) Makefile | |
| 76 | |
| 77 check-local: all-local | |
| 78 $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) | |
| 79 | |
| 80 check-exhaustive-local: all-local | |
| 81 $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e | |
| 82 | |
| 83 TESTXML=$(top_builddir)/test-$(TARGET).xml | |
| 84 xcheck-local: all-local | |
| 85 $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(IOTEST_OPTS) -x $(TESTXML) | |
| 86 | |
| 87 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
| 88 cd $(top_builddir) \ | |
| 89 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
| 90 | |
| 91 $(TARGET) : $(OBJECTS) | |
| 92 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | |
| 93 $(POST_BUILD_STEP) | |
| 94 | |
| 95 ifeq (,$(MAKECMDGOALS)) | |
| 96 -include $(DEPS) | |
| 97 else | |
| 98 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | |
| 99 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | |
| 100 -include $(DEPS) | |
| 101 endif | |
| 102 endif | |
| 103 endif | |
| 104 | |
| OLD | NEW |