OLD | NEW |
1 ## Makefile.in for ICU - test/letest | 1 ## Makefile.in for ICU - test/letest |
2 ## Copyright (c) 2001-2013, International Business Machines Corporation and | 2 ## Copyright (c) 2001-2014, International Business Machines Corporation and |
3 ## others. All Rights Reserved. | 3 ## others. All Rights Reserved. |
4 | 4 |
5 ## Source directory information | 5 ## Source directory information |
6 srcdir = @srcdir@ | 6 srcdir = @srcdir@ |
7 top_srcdir = @top_srcdir@ | 7 top_srcdir = @top_srcdir@ |
8 | 8 |
9 top_builddir = ../.. | 9 top_builddir = ../.. |
10 | 10 |
11 include $(top_builddir)/icudefs.mk | 11 include $(top_builddir)/icudefs.mk |
12 | 12 |
(...skipping 11 matching lines...) Expand all Loading... |
24 GENTARGET = gendata | 24 GENTARGET = gendata |
25 | 25 |
26 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ | 26 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ |
27 # Simplify the path for Unix | 27 # Simplify the path for Unix |
28 BUILDDIR := $(BUILDDIR:test/cintltst/../../=) | 28 BUILDDIR := $(BUILDDIR:test/cintltst/../../=) |
29 # Simplify the path for Windows | 29 # Simplify the path for Windows |
30 BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) | 30 BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) |
31 # Simplify the path for Windows 98 | 31 # Simplify the path for Windows 98 |
32 BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) | 32 BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) |
33 | 33 |
34 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ct
estfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layout -I$(top_srcdir)/layo
utex -I$(top_srcdir) | 34 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ct
estfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layoutex $(ICULE_CFLAGS) |
| 35 ifeq ($(USING_ICULEHB),no) |
| 36 CPPFLAGS+=-I$(top_srcdir)/layout |
| 37 endif |
35 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | 38 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' |
36 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUT
OOLUTIL) @LIBS@ @LIB_M@ | 39 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUT
OOLUTIL) $(DEFAULT_LIBS) $(LIB_M) |
37 | 40 |
38 COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o Portabl
eFontInstance.o | 41 COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o Portabl
eFontInstance.o |
39 TESTOBJECTS = letest.o | 42 TESTOBJECTS = letest.o |
40 CTESTOBJECTS = cfonts.o xmlreader.o cletest.o | 43 CTESTOBJECTS = cfonts.o xmlreader.o cletest.o |
41 GENOBJECTS = gendata.o | 44 GENOBJECTS = gendata.o |
42 | 45 |
43 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) | 46 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) |
44 | 47 |
45 DEPS = $(OBJECTS:.o=.d) | 48 DEPS = $(OBJECTS:.o=.d) |
46 | 49 |
47 ## List of phony targets | 50 ## List of phony targets |
48 .PHONY : all all-local install install-local clean clean-local \ | 51 .PHONY : all all-local install install-local clean clean-local \ |
49 distclean distclean-local dist dist-local check check-local | 52 distclean distclean-local dist dist-local check check-local xcheck xcheck-local |
50 | 53 |
51 ## Clear suffix list | 54 ## Clear suffix list |
52 .SUFFIXES : | 55 .SUFFIXES : |
53 | 56 |
54 ## List of standard targets | 57 ## List of standard targets |
55 all: all-local | 58 all: all-local |
56 install: install-local | 59 install: install-local |
57 clean: clean-local | 60 clean: clean-local |
58 distclean : distclean-local | 61 distclean : distclean-local |
59 dist: dist-local | 62 dist: dist-local |
60 check: all check-local | 63 check: all check-local |
| 64 xcheck: all xcheck-local |
61 | 65 |
62 all-local: $(TESTTARGET) | 66 all-local: $(TESTTARGET) |
63 | 67 |
64 install-local: | 68 install-local: |
65 | 69 |
66 dist-local: | 70 dist-local: |
67 | 71 |
68 clean-local: | 72 clean-local: |
69 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | 73 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
70 $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(T
ARGET) | 74 $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(T
ARGET) |
71 | 75 |
72 distclean-local: clean-local | 76 distclean-local: clean-local |
73 $(RMV) Makefile | 77 $(RMV) Makefile |
74 | 78 |
75 check-local: all-local | 79 check-local: all-local |
76 » $(INVOKE) ./$(TESTTARGET) | 80 » $(INVOKE) ./$(TESTTARGET) $(TEST_OUTPUT_OPTS) $(LETEST_OPTS) |
| 81 |
| 82 TESTXML=$(top_builddir)/test-$(TESTTARGET).xml |
| 83 xcheck-local: all-local |
| 84 » $(INVOKE) ./$(TESTTARGET) $(TEST_OUTPUT_OPTS) $(LETEST_OPTS) -x $(TESTXM
L) |
77 | 85 |
78 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | 86 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
79 cd $(top_builddir) \ | 87 cd $(top_builddir) \ |
80 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | 88 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
81 | 89 |
82 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) | 90 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) |
83 » $(LINK.cc) -o $@ $^ $(LIBS) | 91 » $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) |
84 $(POST_BUILD_STEP) | 92 $(POST_BUILD_STEP) |
85 | 93 |
86 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) | 94 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) |
87 » $(LINK.cc) -o $@ $^ $(LIBS) | 95 » $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) |
88 $(POST_BUILD_STEP) | 96 $(POST_BUILD_STEP) |
89 | 97 |
90 invoke: | 98 invoke: |
91 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVO
CATION) | 99 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVO
CATION) |
92 | 100 |
93 gen-data: $(GENTARGET) | 101 gen-data: $(GENTARGET) |
94 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GE
NTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml | 102 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GE
NTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml |
95 | 103 |
96 ifeq (,$(MAKECMDGOALS)) | 104 ifeq (,$(MAKECMDGOALS)) |
97 -include $(DEPS) | 105 -include $(DEPS) |
98 else | 106 else |
99 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) | 107 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) |
100 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) | 108 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) |
101 -include $(DEPS) | 109 -include $(DEPS) |
102 endif | 110 endif |
103 endif | 111 endif |
104 endif | 112 endif |
OLD | NEW |