1 #****************************************************************************** 2 # 3 # Copyright (C) 1999-2007, International Business Machines 4 # Corporation and others. All Rights Reserved. 5 # 6 #****************************************************************************** 7 ## Makefile.in for ICU - test/intltest 8 9 ## Source directory information 10 srcdir = . 11 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/intltest 20 21 ## Extra files to remove for 'make clean' 22 CLEANFILES = *~ $(DEPS) 23 24 ## Target information 25 TARGET = intltest$(EXEEXT) 26 27 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ 28 # Simplify the path for Unix 29 BUILDDIR := $(BUILDDIR:test/intltest/../../=) 30 # Simplify the path for Windows 31 BUILDDIR := $(BUILDDIR:test\\intltest/../../=) 32 # Simplify the path for Windows 98 33 BUILDDIR := $(BUILDDIR:TEST\\INTLTEST/../../=) 34 35 ifneq ($(top_builddir),$(top_srcdir)) 36 CPPFLAGS += -I$(top_builddir)/common 37 endif 38 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw 39 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' 40 LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD) 41 42 OBJECTS = aliastst.o allcoll.o apicoll.o astrotst.o callimts.o calregts.o caltest.o \ 43 caltztst.o canittst.o citrtest.o cntabcol.o convtest.o currcoll.o \ 44 fldset.o dadrfmt.o dadrcal.o dadrcoll.o dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \ 45 dtptngts.o encoll.o escoll.o ficoll.o frcoll.o g7coll.o intltest.o \ 46 itercoll.o itformat.o itmajor.o itutil.o jacoll.o lcukocol.o \ 47 loctest.o miscdtfm.o mnkytst.o msfmrgts.o nmfmapts.o nmfmtrt.o \ 48 numfmtst.o numrgts.o pptest.o regcoll.o restest.o restsnew.o \ 49 sdtfmtts.o svccoll.o tchcfmt.o \ 50 tfsmalls.o tmsgfmt.o trcoll.o tscoll.o tsdate.o tsdcfmsy.o tsdtfmsy.o \ 51 tsmthred.o tsnmfmt.o tsputil.o tstnrapi.o tstnorm.o tzbdtest.o \ 52 tzregts.o tztest.o ucdtest.o usettest.o ustrtest.o strcase.o transtst.o strtest.o thcoll.o \ 53 itrbbi.o rbbiapts.o rbbitst.o ittrans.o transapi.o cpdtrtst.o \ 54 testutil.o transrt.o trnserr.o normconf.o sfwdchit.o \ 55 jamotest.o srchtest.o reptest.o regextst.o \ 56 itrbnf.o itrbnfrt.o itrbnfp.o ucaconf.o icusvtst.o \ 57 uobjtest.o idnaref.o idnaconf.o nptrans.o punyref.o testidn.o testidna.o incaltst.o \ 58 calcasts.o v32test.o uvectest.o textfile.o tokiter.o utxttest.o \ 59 windttst.o winnmtst.o winutil.o csdetest.o tzrulets.o 60 61 62 DEPS = $(OBJECTS:.o=.d) 63 64 -include Makefile.local 65 66 ## List of phony targets 67 .PHONY : all all-local install install-local clean clean-local \ 68 distclean distclean-local dist dist-local check check-local 69 70 ## Clear suffix list 71 .SUFFIXES : 72 73 ## List of standard targets 74 all: all-local 75 install: install-local 76 clean: clean-local 77 distclean : distclean-local 78 dist: dist-local 79 check: all check-local 80 81 all-local: $(TARGET) 82 83 install-local: 84 85 dist-local: 86 87 clean-local: 88 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 89 $(RMV) $(OBJECTS) $(TARGET) 90 91 distclean-local: clean-local 92 $(RMV) Makefile 93 94 check-local: all-local 95 $(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) || true 96 97 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 98 cd $(top_builddir) \ 99 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 100 101 $(TARGET) : $(OBJECTS) 102 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 103 $(POST_BUILD_STEP) 104 105 ifeq (,$(MAKECMDGOALS)) 106 -include $(DEPS) 107 else 108 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 109 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) 110 -include $(DEPS) 111 endif 112 endif 113 endif 114 115