Makefile.in (5699B)
1 # Copyright (C) 2016 and later: Unicode, Inc. and others. 2 # License & terms of use: http://www.unicode.org/copyright.html 3 #****************************************************************************** 4 # 5 # Copyright (C) 1999-2016, International Business Machines 6 # Corporation and others. All Rights Reserved. 7 # 8 #****************************************************************************** 9 ## Makefile.in for ICU - test/intltest 10 11 ## Source directory information 12 srcdir = @srcdir@ 13 top_srcdir = @top_srcdir@ 14 15 top_builddir = ../.. 16 17 ## All the flags and other definitions are included here. 18 include $(top_builddir)/icudefs.mk 19 20 ## Build directory information 21 subdir = test/intltest 22 23 ## Extra files to remove for 'make clean' 24 CLEANFILES = *~ $(DEPS) $(TESTXML) 25 26 ## Target information 27 TARGET = intltest$(EXEEXT) 28 29 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ 30 # Simplify the path for Unix 31 BUILDDIR := $(BUILDDIR:test/intltest/../../=) 32 # Simplify the path for Windows 33 BUILDDIR := $(BUILDDIR:test\\intltest/../../=) 34 # Simplify the path for Windows 98 35 BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=) 36 37 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/io -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw 38 CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= 39 ifdef QNX_TARGET 40 DEFS += -D'U_TOPSRCDIR="/var/icu_tests"' -D'U_TOPBUILDDIR="/var/icu_tests/"' 41 else 42 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' 43 endif 44 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD) 45 46 OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \ 47 caltztst.o canittst.o citrtest.o colldata.o convtest.o currcoll.o collationtest.o \ 48 fldset.o dadrfmt.o dadrcal.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \ 49 dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \ 50 itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \ 51 loctest.o localebuildertest.o localematchertest.o \ 52 messageformat2test.o messageformat2test_custom.o messageformat2test_read_json.o \ 53 miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \ 54 numfmtst.o numrgts.o plurults.o plurfmts.o pptest.o regcoll.o restest.o restsnew.o \ 55 sdtfmtts.o svccoll.o tchcfmt.o selfmts.o \ 56 tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \ 57 tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \ 58 tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \ 59 bytestrietest.o ucharstrietest.o \ 60 itrbbi.o lstmbetst.o rbbiapts.o rbbitst.o rbbimonkeytest.o ittrans.o transapi.o cpdtrtst.o \ 61 testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \ 62 jamotest.o srchtest.o reptest.o regextst.o \ 63 itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \ 64 uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o uts46test.o \ 65 incaltst.o calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \ 66 windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o tzoffloc.o tzfmttst.o ssearch.o dtifmtts.o \ 67 tufmtts.o itspoof.o simplethread.o bidiconf.o locnmtst.o dcfmtest.o alphaindextst.o listformattertest.o genderinfotest.o compactdecimalformattest.o regiontst.o \ 68 reldatefmttest.o simpleformattertest.o measfmttest.o numfmtspectest.o unifiedcachetest.o quantityformattertest.o \ 69 scientificnumberformattertest.o datadrivennumberformattestsuite.o \ 70 numberformattesttuple.o pluralmaptest.o \ 71 numbertest_affixutils.o numbertest_api.o numbertest_decimalquantity.o \ 72 numbertest_modifiers.o numbertest_patternmodifier.o numbertest_patternstring.o \ 73 string_segment_test.o \ 74 numbertest_parse.o numbertest_doubleconversion.o numbertest_skeletons.o \ 75 static_unisets_test.o numfmtdatadriventest.o numbertest_range.o erarulestest.o \ 76 formattedvaluetest.o formatted_string_builder_test.o numbertest_permutation.o \ 77 units_data_test.o units_router_test.o units_test.o displayoptions_test.o \ 78 numbertest_simple.o \ 79 cplusplus_header_api_build_test.o uchar_type_build_test.o \ 80 ucolheaderonlytest.o usetheaderonlytest.o utfiteratortest.o utfstringtest.o \ 81 intltesttest.o 82 83 DEPS = $(OBJECTS:.o=.d) 84 85 -include Makefile.local 86 87 ## List of phony targets 88 .PHONY : all all-local install install-local clean clean-local \ 89 distclean distclean-local dist dist-local check check-local xcheck xcheck-local \ 90 check-exhaustive check-exhaustive-local 91 92 ## Clear suffix list 93 .SUFFIXES : 94 95 ## List of standard targets 96 all: all-local 97 install: install-local 98 clean: clean-local 99 distclean : distclean-local 100 dist: dist-local 101 check: all check-local 102 xcheck: all xcheck-local 103 check-exhaustive: all check-exhaustive-local 104 105 all-local: $(TARGET) 106 107 install-local: 108 109 dist-local: 110 111 clean-local: 112 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 113 $(RMV) $(OBJECTS) $(TARGET) 114 115 distclean-local: clean-local 116 $(RMV) Makefile 117 118 # note- intltest gets $(THREADSENVFLAGS) so that it runs threaded on OS400 119 check-local: all-local 120 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS) 121 122 check-exhaustive-local: all-local 123 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) -e 124 125 TESTXML=$(top_builddir)/test-$(TARGET).xml 126 xcheck-local: all-local 127 $(THREADSENVFLAGS) $(INVOKE) ./$(TARGET) $(TEST_OUTPUT_OPTS) $(INTLTEST_OPTS) -x $(TESTXML) 128 129 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 130 cd $(top_builddir) \ 131 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 132 133 $(TARGET) : $(OBJECTS) 134 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 135 $(POST_BUILD_STEP) 136 137 ifeq (,$(MAKECMDGOALS)) 138 -include $(DEPS) 139 else 140 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 141 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) 142 -include $(DEPS) 143 endif 144 endif 145 endif