intl/icu/source/test/letest/Makefile.in

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 ## Makefile.in for ICU - test/letest
     2 ## Copyright (c) 2001-2013, International Business Machines Corporation and
     3 ## others. All Rights Reserved.
     5 ## Source directory information
     6 srcdir = @srcdir@
     7 top_srcdir = @top_srcdir@
     9 top_builddir = ../..
    11 include $(top_builddir)/icudefs.mk
    13 ## Platform-specific setup
    14 include @platform_make_fragment@
    16 ## Build directory information
    17 subdir = test/letest
    19 ## Extra files to remove for 'make clean'
    20 CLEANFILES = *~ $(DEPS)
    22 ## Target information
    23 TESTTARGET  = letest
    24 GENTARGET   = gendata
    26 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
    27 # Simplify the path for Unix
    28 BUILDDIR := $(BUILDDIR:test/cintltst/../../=)
    29 # Simplify the path for Windows
    30 BUILDDIR := $(BUILDDIR:test\\cintltst/../../=)
    31 # Simplify the path for Windows 98
    32 BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=)
    34 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)
    35 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
    36 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@
    38 COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o
    39 TESTOBJECTS   = letest.o
    40 CTESTOBJECTS  = cfonts.o xmlreader.o cletest.o
    41 GENOBJECTS    = gendata.o
    43 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
    45 DEPS = $(OBJECTS:.o=.d)
    47 ## List of phony targets
    48 .PHONY : all all-local install install-local clean clean-local	\
    49 distclean distclean-local dist dist-local check check-local
    51 ## Clear suffix list
    52 .SUFFIXES :
    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
    62 all-local: $(TESTTARGET)
    64 install-local:
    66 dist-local:
    68 clean-local:
    69 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
    70 	$(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(TARGET)
    72 distclean-local: clean-local
    73 	$(RMV) Makefile
    75 check-local: all-local
    76 	$(INVOKE) ./$(TESTTARGET)
    78 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
    79 	cd $(top_builddir) \
    80 	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    82 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS)
    83 	$(LINK.cc) -o $@ $^ $(LIBS)
    84 	$(POST_BUILD_STEP)
    86 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
    87 	$(LINK.cc) -o $@ $^ $(LIBS)
    88 	$(POST_BUILD_STEP)
    90 invoke:
    91 	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
    93 gen-data: $(GENTARGET)
    94 	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GENTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml
    96 ifeq (,$(MAKECMDGOALS))
    97 -include $(DEPS)
    98 else
    99 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   100 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
   101 -include $(DEPS)
   102 endif
   103 endif
   104 endif

mercurial