1 ## Makefile.in for ICU - test/letest
2 ## Copyright (c) 2001-2007, International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Source directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
13 ## Platform-specific setup
14 include @platform_make_fragment@
16 ## Build directory information
19 ## Extra files to remove for 'make clean'
20 CLEANFILES = *~ $(DEPS)
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 ifneq ($(top_builddir),$(top_srcdir))
35 CPPFLAGS += -I$(top_builddir)/common
38 CPPFLAGS += -I$(top_builddir)/common -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)
39 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
40 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@
42 COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o
43 TESTOBJECTS = letest.o
44 CTESTOBJECTS = cfonts.o xmlreader.o cletest.o
45 GENOBJECTS = gendata.o
47 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
49 DEPS = $(OBJECTS:.o=.d)
51 ## List of phony targets
52 .PHONY : all all-local install install-local clean clean-local \
53 distclean distclean-local dist dist-local check check-local
58 ## List of standard targets
60 install: install-local
62 distclean : distclean-local
64 check: all check-local
66 all-local: $(TESTTARGET)
73 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
74 $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(TARGET)
76 distclean-local: clean-local
79 check-local: all-local
80 $(INVOKE) ./$(TESTTARGET)
82 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
84 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
86 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS)
87 $(LINK.cc) -o $@ $^ $(LIBS)
90 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
91 $(LINK.cc) -o $@ $^ $(LIBS)
95 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
97 ifeq (,$(MAKECMDGOALS))
100 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
101 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)