1 ## Makefile.in for ICU - test/letest
2 ## Copyright (c) 2001-2006, 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)
39 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
40 LIBS = $(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 GENOBJECTS = gendata.o
46 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
48 DEPS = $(OBJECTS:.o=.d)
50 ## List of phony targets
51 .PHONY : all all-local install install-local clean clean-local \
52 distclean distclean-local dist dist-local check check-local
57 ## List of standard targets
59 install: install-local
61 distclean : distclean-local
63 check: all check-local
65 all-local: $(TESTTARGET)
72 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
73 $(RMV) $(OBJECTS) $(TARGET)
75 distclean-local: clean-local
78 check-local: all-local
79 $(INVOKE) ./$(TESTTARGET)
81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
85 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS)
86 $(LINK.cc) -o $@ $^ $(LIBS)
88 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
89 $(LINK.cc) -o $@ $^ $(LIBS)
92 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
94 ifeq (,$(MAKECMDGOALS))
97 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
98 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)