michael@0: ## Makefile.in for ICU - test/letest michael@0: ## Copyright (c) 2001-2013, International Business Machines Corporation and michael@0: ## others. All Rights Reserved. michael@0: michael@0: ## Source directory information michael@0: srcdir = @srcdir@ michael@0: top_srcdir = @top_srcdir@ michael@0: michael@0: top_builddir = ../.. michael@0: michael@0: include $(top_builddir)/icudefs.mk michael@0: michael@0: ## Platform-specific setup michael@0: include @platform_make_fragment@ michael@0: michael@0: ## Build directory information michael@0: subdir = test/letest michael@0: michael@0: ## Extra files to remove for 'make clean' michael@0: CLEANFILES = *~ $(DEPS) michael@0: michael@0: ## Target information michael@0: TESTTARGET = letest michael@0: GENTARGET = gendata michael@0: michael@0: BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ michael@0: # Simplify the path for Unix michael@0: BUILDDIR := $(BUILDDIR:test/cintltst/../../=) michael@0: # Simplify the path for Windows michael@0: BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) michael@0: # Simplify the path for Windows 98 michael@0: BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) michael@0: michael@0: 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) michael@0: DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' michael@0: LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@ michael@0: michael@0: COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o michael@0: TESTOBJECTS = letest.o michael@0: CTESTOBJECTS = cfonts.o xmlreader.o cletest.o michael@0: GENOBJECTS = gendata.o michael@0: michael@0: OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) michael@0: michael@0: DEPS = $(OBJECTS:.o=.d) michael@0: michael@0: ## List of phony targets michael@0: .PHONY : all all-local install install-local clean clean-local \ michael@0: distclean distclean-local dist dist-local check check-local michael@0: michael@0: ## Clear suffix list michael@0: .SUFFIXES : michael@0: michael@0: ## List of standard targets michael@0: all: all-local michael@0: install: install-local michael@0: clean: clean-local michael@0: distclean : distclean-local michael@0: dist: dist-local michael@0: check: all check-local michael@0: michael@0: all-local: $(TESTTARGET) michael@0: michael@0: install-local: michael@0: michael@0: dist-local: michael@0: michael@0: clean-local: michael@0: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) michael@0: $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(TARGET) michael@0: michael@0: distclean-local: clean-local michael@0: $(RMV) Makefile michael@0: michael@0: check-local: all-local michael@0: $(INVOKE) ./$(TESTTARGET) michael@0: michael@0: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status michael@0: cd $(top_builddir) \ michael@0: && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status michael@0: michael@0: $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) michael@0: $(LINK.cc) -o $@ $^ $(LIBS) michael@0: $(POST_BUILD_STEP) michael@0: michael@0: $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) michael@0: $(LINK.cc) -o $@ $^ $(LIBS) michael@0: $(POST_BUILD_STEP) michael@0: michael@0: invoke: michael@0: ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) michael@0: michael@0: gen-data: $(GENTARGET) michael@0: ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GENTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml michael@0: michael@0: ifeq (,$(MAKECMDGOALS)) michael@0: -include $(DEPS) michael@0: else michael@0: ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) michael@0: ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) michael@0: -include $(DEPS) michael@0: endif michael@0: endif michael@0: endif