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