]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/letest/Makefile.in
ICU-6.2.14.tar.gz
[apple/icu.git] / icuSources / test / letest / Makefile.in
CommitLineData
b75a7d8f
A
1## Makefile.in for ICU - test/letest
2## Copyright (c) 2001-2003, International Business Machines Corporation and
3## others. All Rights Reserved.
4
5## Source directory information
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8
9top_builddir = ../..
10
11include $(top_builddir)/icudefs.mk
12
13## Platform-specific setup
14include @platform_make_fragment@
15
16## Build directory information
17subdir = test/letest
18
19## Extra files to remove for 'make clean'
20CLEANFILES = *~ $(DEPS)
21
22## Target information
23TESTTARGET = letest
24GENTARGET = gendata
25
26CPPFLAGS += -DLE_USE_CMEMORY -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/layout -I$(top_srcdir)
27LIBS = $(LIBICULE) $(LIBICUUC) @LIBS@ @LIB_M@
28
29COMMONOBJECTS = cmaps.o FontTableCache.o PortableFontInstance.o
30TESTOBJECTS = testdata.o letest.o
31GENOBJECTS = gendata.o
32
33OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
34
35DEPS = $(OBJECTS:.o=.d)
36
37## List of phony targets
38.PHONY : all all-local install install-local clean clean-local \
39distclean distclean-local dist dist-local check check-local
40
41## Clear suffix list
42.SUFFIXES :
43
44## List of standard targets
45all: all-local
46install: install-local
47clean: clean-local
48distclean : distclean-local
49dist: dist-local
50check: all check-local
51
52all-local: $(TESTTARGET)
53
54install-local:
55
56dist-local:
57
58clean-local:
59 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
60 $(RMV) $(OBJECTS) $(TARGET)
61
62distclean-local: clean-local
63 $(RMV) Makefile
64
65check-local: all-local
66 $(INVOKE) ./$(TESTTARGET)
67
68Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
69 cd $(top_builddir) \
70 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
71
72$(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS)
73 $(LINK.cc) -o $@ $^ $(LIBS)
74
75$(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
76 $(LINK.cc) -o $@ $^ $(LIBS)
77
78invoke:
79 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
80
81ifeq (,$(MAKECMDGOALS))
82-include $(DEPS)
83else
84ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
85ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
86-include $(DEPS)
87endif
88endif
89endif