1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/test/letest/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,104 @@ 1.4 +## Makefile.in for ICU - test/letest 1.5 +## Copyright (c) 2001-2013, International Business Machines Corporation and 1.6 +## others. All Rights Reserved. 1.7 + 1.8 +## Source directory information 1.9 +srcdir = @srcdir@ 1.10 +top_srcdir = @top_srcdir@ 1.11 + 1.12 +top_builddir = ../.. 1.13 + 1.14 +include $(top_builddir)/icudefs.mk 1.15 + 1.16 +## Platform-specific setup 1.17 +include @platform_make_fragment@ 1.18 + 1.19 +## Build directory information 1.20 +subdir = test/letest 1.21 + 1.22 +## Extra files to remove for 'make clean' 1.23 +CLEANFILES = *~ $(DEPS) 1.24 + 1.25 +## Target information 1.26 +TESTTARGET = letest 1.27 +GENTARGET = gendata 1.28 + 1.29 +BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ 1.30 +# Simplify the path for Unix 1.31 +BUILDDIR := $(BUILDDIR:test/cintltst/../../=) 1.32 +# Simplify the path for Windows 1.33 +BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) 1.34 +# Simplify the path for Windows 98 1.35 +BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) 1.36 + 1.37 +CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layout -I$(top_srcdir)/layoutex -I$(top_srcdir) 1.38 +DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' 1.39 +LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@ 1.40 + 1.41 +COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o 1.42 +TESTOBJECTS = letest.o 1.43 +CTESTOBJECTS = cfonts.o xmlreader.o cletest.o 1.44 +GENOBJECTS = gendata.o 1.45 + 1.46 +OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) 1.47 + 1.48 +DEPS = $(OBJECTS:.o=.d) 1.49 + 1.50 +## List of phony targets 1.51 +.PHONY : all all-local install install-local clean clean-local \ 1.52 +distclean distclean-local dist dist-local check check-local 1.53 + 1.54 +## Clear suffix list 1.55 +.SUFFIXES : 1.56 + 1.57 +## List of standard targets 1.58 +all: all-local 1.59 +install: install-local 1.60 +clean: clean-local 1.61 +distclean : distclean-local 1.62 +dist: dist-local 1.63 +check: all check-local 1.64 + 1.65 +all-local: $(TESTTARGET) 1.66 + 1.67 +install-local: 1.68 + 1.69 +dist-local: 1.70 + 1.71 +clean-local: 1.72 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.73 + $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(TARGET) 1.74 + 1.75 +distclean-local: clean-local 1.76 + $(RMV) Makefile 1.77 + 1.78 +check-local: all-local 1.79 + $(INVOKE) ./$(TESTTARGET) 1.80 + 1.81 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.82 + cd $(top_builddir) \ 1.83 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.84 + 1.85 +$(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) 1.86 + $(LINK.cc) -o $@ $^ $(LIBS) 1.87 + $(POST_BUILD_STEP) 1.88 + 1.89 +$(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) 1.90 + $(LINK.cc) -o $@ $^ $(LIBS) 1.91 + $(POST_BUILD_STEP) 1.92 + 1.93 +invoke: 1.94 + ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) 1.95 + 1.96 +gen-data: $(GENTARGET) 1.97 + ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GENTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml 1.98 + 1.99 +ifeq (,$(MAKECMDGOALS)) 1.100 +-include $(DEPS) 1.101 +else 1.102 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.103 +ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) 1.104 +-include $(DEPS) 1.105 +endif 1.106 +endif 1.107 +endif