]> git.saurik.com Git - apple/icu.git/blame - icuSources/Makefile.in
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / Makefile.in
CommitLineData
b75a7d8f
A
1#******************************************************************************
2#
2ca993e8 3# Copyright (C) 1998-2016, International Business Machines
b75a7d8f
A
4# Corporation and others. All Rights Reserved.
5#
6#******************************************************************************
7## Top-level Makefile.in for ICU
8## Stephen F. Booth
9
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12
13top_builddir = .
14
15include $(top_builddir)/icudefs.mk
16
17docdir = $(datadir)/doc
18docsubdir = $(PACKAGE)$(ICULIBDASHSUFFIX)/html
729e4ab9 19docfilesdir = doc/html
51004dcb 20docfiles = $(docfilesdir)/*.png $(docfilesdir)/*.html $(docfilesdir)/*.css $(docfilesdir)/*.tag
729e4ab9
A
21docsrchdir = $(docfilesdir)/search
22docsrchfiles = $(docsrchdir)/*
b75a7d8f
A
23
24##
25
26## Build directory information
27subdir = .
28
374ca955 29#AUTOCONF = @AUTOCONF@
b75a7d8f
A
30
31## Optional directory setup
b331163b
A
32@LAYOUT_TRUE@LAYOUT = layout
33@LAYOUTEX_TRUE@LAYOUTEX = layoutex
374ca955
A
34@ICUIO_TRUE@ICUIO = io
35@EXTRAS_TRUE@EXTRA = extra
b75a7d8f 36@TESTS_TRUE@TEST = test
b75a7d8f 37@SAMPLES_TRUE@SAMPLE = samples
57a6839d 38@TOOLS_TRUE@TOOLS = tools
b75a7d8f 39
51004dcb
A
40## pkgconfig setup. Always have uc and i18n. Others are optional.
41ALL_PKGCONFIG_SUFFIX=uc i18n
b331163b
A
42@LAYOUT_TRUE@ALL_PKGCONFIG_SUFFIX+= le
43@LAYOUTEX_TRUE@ALL_PKGCONFIG_SUFFIX+= lx
51004dcb
A
44@ICUIO_TRUE@ALL_PKGCONFIG_SUFFIX+= io
45
b75a7d8f 46DOXYGEN = @DOXYGEN@
46f4442e 47DOCZIP = icu-docs.zip
b75a7d8f
A
48
49## Files to remove for 'make clean'
46f4442e 50CLEANFILES = *~
b75a7d8f 51
729e4ab9
A
52ALL_PKGCONFIG_FILES=$(ALL_PKGCONFIG_SUFFIX:%=$(top_builddir)/config/icu-%.pc)
53
b75a7d8f 54## Files built (autoconfed) and installed
729e4ab9 55INSTALLED_BUILT_FILES = $(top_builddir)/config/Makefile.inc $(top_builddir)/config/pkgdata.inc $(top_builddir)/config/icu-config @platform_make_fragment@ $(EXTRA_DATA:%=$(DESTDIR)$(pkglibdir)/%) $(ALL_PKGCONFIG_FILES)
b75a7d8f
A
56
57## Files built (autoconfed) but not installed
51004dcb 58LOCAL_BUILT_FILES = icudefs.mk config/icucross.mk config/icucross.inc
b75a7d8f
A
59
60DOCDIRS = common i18n
b331163b 61SUBDIRS = stubdata common i18n $(LAYOUT) $(LAYOUTEX) $(ICUIO) $(TOOLS) data $(EXTRA) $(SAMPLE) $(TEST)
b75a7d8f
A
62
63SECTION = 1
64
65MANX_FILES = config/icu-config.$(SECTION)
66
67ALL_MAN_FILES = $(MANX_FILES)
68
69## Extra files to install [nothing at present]
70EXTRA_DATA =
71
72## List of phony targets
73.PHONY : all all-local all-recursive install install-local install-udata install-udata-files install-udata-dlls \
74install-recursive clean clean-local clean-recursive distclean \
75distclean-local distclean-recursive doc dist dist-local dist-recursive \
76check check-local check-recursive clean-recursive-with-twist install-icu \
4388f060
A
77doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \
78check-exhaustive check-exhaustive-local check-exhaustive-recursive releaseDist
b75a7d8f
A
79
80## Clear suffix list
81.SUFFIXES :
82
83## List of standard targets
84all: all-local all-recursive
85install: install-recursive install-local
86clean: clean-recursive-with-twist clean-local
87distclean : distclean-recursive distclean-local
88dist: dist-recursive dist-local
729e4ab9 89check: all check-recursive
374ca955 90check-recursive: all
729e4ab9
A
91xcheck: all xcheck-recursive
92xperf: all xperf-recursive
4388f060
A
93check-exhaustive: all check-exhaustive-recursive
94
57a6839d
A
95pcheck: all tests
96 @$(MAKE) -C test pcheck
97
4388f060 98check-exhaustive-local: check-local
729e4ab9
A
99
100xcheck-recursive: all xcheck-local
101 @$(MAKE) -C test xcheck
102
103xperf-recursive: all tests
104 @$(MAKE) -C test/perf xperf
b75a7d8f 105
4388f060
A
106$(top_builddir)/config/icuinfo.xml: all
107 @$(MAKE) -C tools/icuinfo check
108
b75a7d8f 109ifeq ($(DOXYGEN),)
4388f060 110doc doc-searchengine:
b75a7d8f
A
111 @echo you need Doxygen to generate documentation. Doxygen can be found on the Web
112 @echo at http://www.doxygen.org/
113else
114doc: doc/html/index.html
115
4388f060
A
116doc-searchengine: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/common/unicode/*.h $(srcdir)/i18n/unicode/*.h $(srcdir)/layout/unicode/*.h $(srcdir)/io/unicode/*.h)
117 sed < Doxyfile -e 's%[^#]*SEARCHENGINE.*%SEARCHENGINE=YES%' | $(DOXYGEN) -
51004dcb
A
118 @echo adding links from non-namespaced class files
119 find doc/html -name 'classicu_1_1*' -print | sed -e 's%^\(.*class\)icu_1_1\(.*\)$$%ln & \1\2%' | sh
4388f060
A
120 @echo Docs created - WARNING, probably contains non-GPL .js files
121
374ca955 122doc/html/index.html: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/common/unicode/*.h $(srcdir)/i18n/unicode/*.h $(srcdir)/layout/unicode/*.h $(srcdir)/io/unicode/*.h)
b75a7d8f 123 $(DOXYGEN)
51004dcb
A
124 @echo adding links from non-namespaced class files
125 find doc/html -name 'classicu_1_1*' -print | sed -e 's%^\(.*class\)icu_1_1\(.*\)$$%ln & \1\2%' | sh
b75a7d8f
A
126
127Doxyfile: $(srcdir)/Doxyfile.in
128 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
46f4442e
A
129
130$(DOCZIP): doc
131 -$(RMV) $(DOCZIP)
132 ( cd doc/html ; zip -r ../../$(DOCZIP) * )
b75a7d8f
A
133endif
134
135LOCAL_SUBDIRS = $(SUBDIRS)
57a6839d 136CLEAN_FIRST_SUBDIRS = $(TOOLS)
b75a7d8f 137
374ca955
A
138$(LIBDIR) $(BINDIR):
139 -$(MKINSTALLDIRS) $@
140
b75a7d8f 141## Recursive targets
4388f060 142all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive check-exhaustive-recursive: $(LIBDIR) $(BINDIR)
b75a7d8f
A
143 @dot_seen=no; \
144 target=`echo $@ | sed s/-recursive//`; \
145 list='$(LOCAL_SUBDIRS)'; for subdir in $$list; do \
146 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
147 if test "$$subdir" = "."; then \
148 dot_seen=yes; \
149 local_target="$$target-local"; \
150 else \
151 local_target="$$target"; \
152 fi; \
153 (cd $$subdir && $(MAKE) RECURSIVE=YES $$local_target) || exit; \
154 done; \
155 if test "$$dot_seen" = "no"; then \
156 $(MAKE) "$$target-local" || exit; \
157 fi
158
159clean-recursive-with-twist:
160 $(MAKE) clean-recursive LOCAL_SUBDIRS='$(CLEAN_FIRST_SUBDIRS) $(filter-out $(CLEAN_FIRST_SUBDIRS),$(LOCAL_SUBDIRS))'
161
162all-local: $(srcdir)/configure $(LOCAL_BUILT_FILES) $(INSTALLED_BUILT_FILES)
51004dcb
A
163ifndef VERBOSE
164 @echo "Note: rebuild with \"$(MAKE) VERBOSE=1 $(MAKECMDGOALS)\" to show all compiler parameters."
165endif
b75a7d8f
A
166install-local: install-icu install-manx
167
b331163b
A
168# always installs. Used by layoutex.
169install-pkgconfig: $(ALL_PKGCONFIG_FILES)
170 @$(MKINSTALLDIRS) $(DESTDIR)$(libdir)/pkgconfig
171 $(INSTALL_DATA) $(ALL_PKGCONFIG_FILES) $(DESTDIR)$(libdir)/pkgconfig/
172
b75a7d8f
A
173install-icu: $(INSTALLED_BUILT_FILES)
174 @$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/config
175 @$(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
176 @$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
177 @$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
374ca955
A
178 $(INSTALL_DATA) @platform_make_fragment@ $(DESTDIR)$(pkgdatadir)/config/@platform_make_fragment_name@
179 $(INSTALL_SCRIPT) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir)/mkinstalldirs
46f4442e 180 $(INSTALL_SCRIPT) $(top_srcdir)/install-sh $(DESTDIR)$(pkgdatadir)/install-sh
729e4ab9
A
181 @$(MKINSTALLDIRS) $(DESTDIR)$(libdir)/pkgconfig
182 $(INSTALL_DATA) $(ALL_PKGCONFIG_FILES) $(DESTDIR)$(libdir)/pkgconfig/
2ca993e8 183 $(INSTALL_DATA) $(top_srcdir)/../LICENSE $(DESTDIR)$(pkgdatadir)/LICENSE
374ca955 184 $(INSTALL_SCRIPT) $(top_builddir)/config/icu-config $(DESTDIR)$(bindir)/icu-config
b75a7d8f 185 $(INSTALL_DATA) $(top_builddir)/config/Makefile.inc $(DESTDIR)$(pkglibdir)/Makefile.inc
729e4ab9 186 $(INSTALL_DATA) $(top_builddir)/config/pkgdata.inc $(DESTDIR)$(pkglibdir)/pkgdata.inc
4388f060
A
187# @echo icuinfo.xml is built after make check.
188# -$(INSTALL_DATA) $(top_builddir)/config/icuinfo.xml $(DESTDIR)$(pkglibdir)/icuinfo.xml
b75a7d8f
A
189 cd $(DESTDIR)$(pkglibdir)/..; \
190 $(RM) current && ln -s $(VERSION) current; \
729e4ab9
A
191 $(RM) Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \
192 $(RM) pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc
b75a7d8f
A
193
194ifeq ($(DOXYGEN),)
195install-doc:
196else
197install-doc: doc
198 $(RM) -r $(DESTDIR)$(docdir)/$(docsubdir)
51004dcb 199 $(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(docsubdir)
729e4ab9 200 $(INSTALL_DATA) $(docfiles) $(DESTDIR)$(docdir)/$(docsubdir)
51004dcb 201
b75a7d8f
A
202endif
203
204$(DESTDIR)$(pkglibdir)/%: $(top_srcdir)/../data/%
205 $(INSTALL_DATA) $< $@
206
46f4442e
A
207# Build the tests, but don't run them.
208tests: all
209 $(MAKE) -C $(top_builddir)/test
210
b75a7d8f
A
211clean-local:
212 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
729e4ab9
A
213 -$(RMV) "test-*.xml"
214 -$(RMV) "perf-*.xml"
4388f060 215 -$(RMV) $(ALL_PKGCONFIG_FILES) $(top_builddir)/config/icuinfo.xml
46f4442e 216 $(RMV) Doxyfile doc $(DOCZIP)
b75a7d8f
A
217
218distclean-local: clean-local
729e4ab9 219 $(RMV) $(top_builddir)/config/Makefile.inc $(top_builddir)/config/pkgdata.inc $(top_builddir)/config/icu-config $(top_builddir)/config/icu.pc $(ALL_PKGCONFIG_FILES)
51004dcb 220 $(RMV) config.cache config.log config.status $(top_builddir)/config/icucross.mk $(top_builddir)/config/icucross.inc autom4te.cache uconfig.h.prepend
46f4442e 221 $(RMV) Makefile config/Makefile icudefs.mk $(LIBDIR) $(BINDIR)
729e4ab9
A
222 -$(RMV) dist
223
224check-local: xcheck-local
225 -$(RMV) test-local.xml
b75a7d8f 226
729e4ab9
A
227xcheck-local: $(top_builddir)/config/icu-config $(top_builddir)/config/Makefile.inc $(top_builddir)/config/pkgdata.inc
228 @echo verifying that icu-config --selfcheck can operate
229 @test "passed" = "$(shell $(top_builddir)/config/icu-config --selfcheck 2>&1)" || (echo "FAIL: icu-config could not run properly." ; exit 1)
230 @echo verifying that $(MAKE) -f Makefile.inc selfcheck can operate
231 @test "passed" = "$(shell $(MAKE) --no-print-directory -f $(top_builddir)/config/Makefile.inc SELFCHECK=1 selfcheck)" || (echo "FAIL: Makefile.inc could not run properly." ; exit 1 )
232 @echo "PASS: config selfcheck OK"
b75a7d8f 233
57a6839d
A
234#$(srcdir)/configure : $(srcdir)/configure.ac $(top_srcdir)/aclocal.m4
235# cd $(srcdir) && aclocal && $(AUTOCONF)
b75a7d8f
A
236
237icudefs.mk: $(srcdir)/icudefs.mk.in $(top_builddir)/config.status
238 cd $(top_builddir) \
239 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
240
729e4ab9
A
241config/icucross.mk: $(top_builddir)/icudefs.mk $(top_builddir)/Makefile
242 @echo rebuilding $@
243 @(echo "CROSS_ICU_VERSION=$(VERSION)" ;\
244 echo "TOOLEXEEXT=$(EXEEXT)" \
245 ) > $@
246 @(echo 'TOOLBINDIR=$$(cross_buildroot)/bin' ;\
247 echo 'TOOLLIBDIR=$$(cross_buildroot)/lib' ;\
248 echo "INVOKE=$(LDLIBRARYPATH_ENVVAR)=$(LIBRARY_PATH_PREFIX)"'$$(TOOLLIBDIR):$$(cross_buildroot)/stubdata:$$(cross_buildroot)/tools/ctestfw:$$$$'"$(LDLIBRARYPATH_ENVVAR)" ;\
51004dcb 249 echo "PKGDATA_INVOKE=$(LDLIBRARYPATH_ENVVAR)=$(LIBRARY_PATH_PREFIX)"'$$(cross_buildroot)/stubdata:$$(cross_buildroot)/tools/ctestfw:$$(TOOLLIBDIR):$$$$'"$(LDLIBRARYPATH_ENVVAR) " ;\
729e4ab9
A
250 echo ) >> $@
251
51004dcb
A
252config/icucross.inc: $(top_builddir)/icudefs.mk $(top_builddir)/Makefile @platform_make_fragment@
253 @echo rebuilding $@
254 @(grep '^CURR_FULL_DIR' $(top_builddir)/icudefs.mk ; \
255 grep '^CURR_FULL_DIR' @platform_make_fragment@ || echo ""; \
256 ) > $@
729e4ab9
A
257
258config/icu.pc: $(srcdir)/config/icu.pc.in
259 cd $(top_builddir) \
260 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
261
262config/icu-uc.pc: config/icu.pc Makefile icudefs.mk
263 @cat config/icu.pc > $@
264 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries" >> $@
265 @echo "Name: $(PACKAGE)-uc" >> $@
266 @echo "Libs:" '-L$${libdir}' "${ICULIBS_UC}" "${ICULIBS_DT}" >> $@
267 @echo "Libs.private:" '$${baselibs}' >> $@
268 @echo $@ updated.
269
270config/icu-i18n.pc: config/icu.pc Makefile icudefs.mk
271 @cat config/icu.pc > $@
272 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Internationalization library" >> $@
273 @echo "Name: $(PACKAGE)-i18n" >> $@
274 @echo "Requires: icu-uc" >> $@
275 @echo "Libs:" "${ICULIBS_I18N}" >> $@
276 @echo $@ updated.
277
278config/icu-io.pc: config/icu.pc Makefile icudefs.mk
279 @cat config/icu.pc > $@
280 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Stream and I/O Library" >> $@
281 @echo "Name: $(PACKAGE)-io" >> $@
282 @echo "Requires: icu-i18n" >> $@
283 @echo "Libs:" "${ICULIBS_IO}" >> $@
284 @echo $@ updated.
285
286config/icu-le.pc: config/icu.pc Makefile icudefs.mk
287 @cat config/icu.pc > $@
288 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Layout library" >> $@
289 @echo "Name: $(PACKAGE)-le" >> $@
290 @echo "Requires: icu-uc" >> $@
291 @echo "Libs:" "${ICULIBS_LE}" >> $@
292 @echo $@ updated.
293
b331163b
A
294ICULEHB_LIBS=@ICULEHB_LIBS@
295USING_HB=
296ifneq ($(ICULEHB_LIBS),)
297USING_HB=(Using HarfBuzz)
298endif
299
300
729e4ab9
A
301config/icu-lx.pc: config/icu.pc Makefile icudefs.mk
302 @cat config/icu.pc > $@
b331163b 303 @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Paragraph Layout library $(USING_HB)" >> $@
729e4ab9 304 @echo "Name: $(PACKAGE)-lx" >> $@
b331163b
A
305ifneq ($(ICULEHB_LIBS),)
306 @echo "Requires: icu-le-hb icu-uc" >> $@
307else
729e4ab9 308 @echo "Requires: icu-le" >> $@
b331163b 309endif
729e4ab9
A
310 @echo "Libs:" "${ICULIBS_LX}" >> $@
311 @echo $@ updated.
312
313
b75a7d8f
A
314Makefile: $(srcdir)/Makefile.in icudefs.mk $(top_builddir)/config.status
315 cd $(top_builddir) \
316 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
317
318$(top_builddir)/config/Makefile.inc: $(srcdir)/config/Makefile.inc.in $(top_builddir)/config.status
319 cd $(top_builddir) \
320 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
321
729e4ab9
A
322$(top_builddir)/config/pkgdata.inc: icudefs.mk $(top_builddir)/config/pkgdataMakefile
323 cd $(top_builddir)/config; \
324 $(MAKE) -f pkgdataMakefile
325
326$(top_builddir)/config/pkgdataMakefile:
327 cd $(top_builddir) \
328 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
329
b75a7d8f
A
330$(top_builddir)/config/icu-config: $(top_builddir)/Makefile $(top_srcdir)/config/icu-config-top $(top_srcdir)/config/icu-config-bottom $(top_builddir)/config/Makefile.inc @platform_make_fragment@ $(top_srcdir)/config/make2sh.sed
331 -$(RMV) $@
374ca955 332 $(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@
73c04bcf 333 chmod u+w $@
b75a7d8f 334 @echo "# Following from @platform_make_fragment@" >> $@
729e4ab9
A
335 LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@
336 LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < @platform_make_fragment@ | grep -v '#M#' | uniq >> $@
b75a7d8f 337 cat $(top_srcdir)/config/icu-config-bottom >> $@
73c04bcf 338 chmod u-w $@
b75a7d8f 339
729e4ab9 340config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h
b75a7d8f
A
341 @echo
342 @echo
343 @echo "*** config.status has become stale ***"
729e4ab9 344 @echo " 'configure' and/or 'uvernum.h' have changed, please"
b75a7d8f
A
345 @echo " do 'runConfigureICU' (or 'configure') again, as per"
346 @echo " the readme.html."
347 @echo
348 @echo
349 exit 1
350
351
352install-manx: $(MANX_FILES)
353 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
354 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
355
356config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in
357 cd $(top_builddir) \
358 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
359
729e4ab9
A
360icu4j-data-install icu4j-data: all tests
361 @echo ICU4J_ROOT=$(ICU4J_ROOT)
362 @$(MAKE) -C test/testdata $@
363 @$(MAKE) -C data $@
364
365# For updating Windows makefiles
366
367WINDOWS_UPDATEFILES=$(srcdir)/data/makedata.mak $(shell find $(srcdir) -name '*.vcproj' -o -name '*.vcxproj')
368
369WINDOWS_UPDATEFILES_SED=config/windows-update.sed
370
371update-windows-makefiles: config.status
372 @echo Updating Windows Makefiles for ICU $(VERSION)
373 CONFIG_FILES=$(WINDOWS_UPDATEFILES_SED) CONFIG_HEADERS= $(SHELL) ./config.status
374 @for file in $(WINDOWS_UPDATEFILES); do \
375 echo "Updating $$file"; \
376 mv "$${file}" "$${file}.bak" && \
377 sed -f $(WINDOWS_UPDATEFILES_SED) < "$${file}.bak" > "$${file}" && \
378 rm "$${file}.bak"; \
379 done;
380 $(RMV) $(WINDOWS_UPDATEFILES_SED)
381 @echo Please check over the changes carefully before checking them in.
382
383# For building a source distribution.
384distcheck dist-local:
51004dcb 385 $(MAKE) -C . -f $(top_srcdir)/config/dist.mk srcdir="$(srcdir)" top_srcdir="$(top_srcdir)" $@
4388f060
A
386
387ifeq ($(DESTDIR),)
388releaseDist:
389 @echo "Please provide DESTDIR when calling the target releaseDist."
390else
391releaseDist: install
392 @echo -n "ICU Version: " > $(DESTDIR)/readme.txt
393 @echo `./config/icu-config --noverify --version` >> $(DESTDIR)/readme.txt
394 @echo -n "HOST: " >> $(DESTDIR)/readme.txt
395 @echo `./config/icu-config --noverify --host` >> $(DESTDIR)/readme.txt
396 @echo -n "CC Compiler: " >> $(DESTDIR)/readme.txt
397 @echo `./config/icu-config --noverify --cc` >> $(DESTDIR)/readme.txt
398 @echo -n "CXX Compiler: " >> $(DESTDIR)/readme.txt
399 @echo `./config/icu-config --noverify --cxx` >> $(DESTDIR)/readme.txt
400endif
401
402check-installed-icu: install
403 @echo "Testing ICU installed in $(prefix)"
404 $(INSTALLED_INVOKE) $(bindir)/icuinfo$(EXEEXT)
405 $(INSTALLED_INVOKE) $(bindir)/uconv$(EXEEXT) -V
406 $(INSTALLED_INVOKE) $(bindir)/genrb$(EXEEXT) -V
407 $(INSTALLED_INVOKE) $(bindir)/gencnval$(EXEEXT) -h
408 @echo INSTALLED ICU IN "$(prefix)" OK!