intl/icu/source/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,391 @@
     1.4 +#******************************************************************************
     1.5 +#
     1.6 +#   Copyright (C) 1998-2013, International Business Machines
     1.7 +#   Corporation and others.  All Rights Reserved.
     1.8 +#
     1.9 +#******************************************************************************
    1.10 +## Top-level Makefile.in for ICU
    1.11 +## Stephen F. Booth
    1.12 +
    1.13 +srcdir = @srcdir@
    1.14 +top_srcdir = @top_srcdir@
    1.15 +
    1.16 +top_builddir = .
    1.17 +
    1.18 +include $(top_builddir)/icudefs.mk
    1.19 +
    1.20 +docdir = $(datadir)/doc
    1.21 +docsubdir = $(PACKAGE)$(ICULIBDASHSUFFIX)/html
    1.22 +docfilesdir = doc/html
    1.23 +docfiles = $(docfilesdir)/*.png $(docfilesdir)/*.html $(docfilesdir)/*.css $(docfilesdir)/*.tag 
    1.24 +docsrchdir = $(docfilesdir)/search
    1.25 +docsrchfiles = $(docsrchdir)/*
    1.26 +
    1.27 +##
    1.28 +
    1.29 +## Build directory information
    1.30 +subdir = .
    1.31 +
    1.32 +#AUTOCONF = @AUTOCONF@
    1.33 +
    1.34 +## Optional directory setup
    1.35 +@LAYOUT_TRUE@LAYOUT = layout layoutex
    1.36 +@ICUIO_TRUE@ICUIO = io
    1.37 +@EXTRAS_TRUE@EXTRA = extra
    1.38 +@TESTS_TRUE@TEST = test
    1.39 +@SAMPLES_TRUE@SAMPLE = samples
    1.40 +@TOOLS_TRUE@TOOLS = tools
    1.41 +
    1.42 +## pkgconfig setup. Always have uc and i18n. Others are optional.
    1.43 +ALL_PKGCONFIG_SUFFIX=uc i18n
    1.44 +@LAYOUT_TRUE@ALL_PKGCONFIG_SUFFIX+= le lx
    1.45 +@ICUIO_TRUE@ALL_PKGCONFIG_SUFFIX+= io
    1.46 +
    1.47 +DOXYGEN = @DOXYGEN@
    1.48 +DOCZIP = icu-docs.zip
    1.49 +
    1.50 +## Files to remove for 'make clean'
    1.51 +CLEANFILES = *~
    1.52 +
    1.53 +ALL_PKGCONFIG_FILES=$(ALL_PKGCONFIG_SUFFIX:%=$(top_builddir)/config/icu-%.pc)
    1.54 +
    1.55 +## Files built (autoconfed) and installed
    1.56 +INSTALLED_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)
    1.57 +
    1.58 +## Files built (autoconfed) but not installed
    1.59 +LOCAL_BUILT_FILES = icudefs.mk config/icucross.mk config/icucross.inc
    1.60 +
    1.61 +DOCDIRS = common i18n
    1.62 +SUBDIRS =  stubdata common i18n $(LAYOUT) $(ICUIO) $(TOOLS) data $(EXTRA) $(SAMPLE) $(TEST)
    1.63 +
    1.64 +SECTION = 1
    1.65 +
    1.66 +MANX_FILES = config/icu-config.$(SECTION)
    1.67 +
    1.68 +ALL_MAN_FILES = $(MANX_FILES)
    1.69 +
    1.70 +## Extra files to install [nothing at present]
    1.71 +EXTRA_DATA =
    1.72 +
    1.73 +## List of phony targets
    1.74 +.PHONY : all all-local all-recursive install install-local install-udata install-udata-files install-udata-dlls		\
    1.75 +install-recursive clean clean-local clean-recursive distclean		\
    1.76 +distclean-local distclean-recursive doc dist dist-local dist-recursive	\
    1.77 +check check-local check-recursive clean-recursive-with-twist install-icu \
    1.78 +doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \
    1.79 +check-exhaustive check-exhaustive-local check-exhaustive-recursive releaseDist
    1.80 +
    1.81 +## Clear suffix list
    1.82 +.SUFFIXES :
    1.83 +
    1.84 +## List of standard targets
    1.85 +all: all-local all-recursive
    1.86 +install: install-recursive install-local
    1.87 +clean: clean-recursive-with-twist clean-local
    1.88 +distclean : distclean-recursive distclean-local
    1.89 +dist: dist-recursive dist-local
    1.90 +check: all check-recursive
    1.91 +check-recursive: all
    1.92 +xcheck: all xcheck-recursive
    1.93 +xperf: all xperf-recursive
    1.94 +check-exhaustive: all check-exhaustive-recursive
    1.95 +
    1.96 +pcheck: all tests
    1.97 +	@$(MAKE) -C test pcheck
    1.98 +
    1.99 +check-exhaustive-local: check-local
   1.100 +
   1.101 +xcheck-recursive: all xcheck-local
   1.102 +	@$(MAKE) -C test xcheck
   1.103 +
   1.104 +xperf-recursive: all tests
   1.105 +	@$(MAKE) -C test/perf xperf
   1.106 +
   1.107 +$(top_builddir)/config/icuinfo.xml: all
   1.108 +	@$(MAKE) -C tools/icuinfo check
   1.109 +
   1.110 +ifeq ($(DOXYGEN),)
   1.111 +doc doc-searchengine:
   1.112 +	@echo you need Doxygen to generate documentation. Doxygen can be found on the Web
   1.113 +	@echo at http://www.doxygen.org/
   1.114 +else
   1.115 +doc: doc/html/index.html
   1.116 +
   1.117 +doc-searchengine: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/common/unicode/*.h $(srcdir)/i18n/unicode/*.h $(srcdir)/layout/unicode/*.h $(srcdir)/io/unicode/*.h)
   1.118 +	sed < Doxyfile -e 's%[^#]*SEARCHENGINE.*%SEARCHENGINE=YES%' | $(DOXYGEN) -
   1.119 +	@echo adding links from non-namespaced class files
   1.120 +	find doc/html -name 'classicu_1_1*' -print | sed -e 's%^\(.*class\)icu_1_1\(.*\)$$%ln & \1\2%' | sh
   1.121 +	@echo Docs created - WARNING, probably contains non-GPL .js files
   1.122 +
   1.123 +doc/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)
   1.124 +	$(DOXYGEN)
   1.125 +	@echo adding links from non-namespaced class files
   1.126 +	find doc/html -name 'classicu_1_1*' -print | sed -e 's%^\(.*class\)icu_1_1\(.*\)$$%ln & \1\2%' | sh
   1.127 +
   1.128 +Doxyfile: $(srcdir)/Doxyfile.in
   1.129 +	CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.130 +
   1.131 +$(DOCZIP): doc
   1.132 +	-$(RMV) $(DOCZIP)
   1.133 +	( cd doc/html ; zip -r ../../$(DOCZIP) * )
   1.134 +endif
   1.135 +
   1.136 +LOCAL_SUBDIRS = $(SUBDIRS)
   1.137 +CLEAN_FIRST_SUBDIRS = $(TOOLS)
   1.138 +
   1.139 +$(LIBDIR) $(BINDIR):
   1.140 +	-$(MKINSTALLDIRS) $@
   1.141 +
   1.142 +## Recursive targets
   1.143 +all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive check-exhaustive-recursive: $(LIBDIR) $(BINDIR)
   1.144 +	@dot_seen=no; \
   1.145 +	target=`echo $@ | sed s/-recursive//`; \
   1.146 +	list='$(LOCAL_SUBDIRS)'; for subdir in $$list; do \
   1.147 +	  echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
   1.148 +	  if test "$$subdir" = "."; then \
   1.149 +	    dot_seen=yes; \
   1.150 +	    local_target="$$target-local"; \
   1.151 +	  else \
   1.152 +	    local_target="$$target"; \
   1.153 +	  fi; \
   1.154 +	  (cd $$subdir && $(MAKE) RECURSIVE=YES $$local_target) || exit; \
   1.155 +	done; \
   1.156 +	if test "$$dot_seen" = "no"; then \
   1.157 +	  $(MAKE) "$$target-local" || exit; \
   1.158 +	fi
   1.159 +
   1.160 +clean-recursive-with-twist:
   1.161 +	$(MAKE) clean-recursive LOCAL_SUBDIRS='$(CLEAN_FIRST_SUBDIRS) $(filter-out $(CLEAN_FIRST_SUBDIRS),$(LOCAL_SUBDIRS))'
   1.162 +
   1.163 +all-local: $(srcdir)/configure $(LOCAL_BUILT_FILES) $(INSTALLED_BUILT_FILES)
   1.164 +ifndef VERBOSE
   1.165 +	@echo "Note: rebuild with \"$(MAKE) VERBOSE=1 $(MAKECMDGOALS)\" to show all compiler parameters."
   1.166 +endif
   1.167 +install-local: install-icu install-manx
   1.168 +
   1.169 +install-icu: $(INSTALLED_BUILT_FILES)
   1.170 +	@$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/config
   1.171 +	@$(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
   1.172 +	@$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
   1.173 +	@$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
   1.174 +	$(INSTALL_DATA) @platform_make_fragment@ $(DESTDIR)$(pkgdatadir)/config/@platform_make_fragment_name@
   1.175 +	$(INSTALL_SCRIPT) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir)/mkinstalldirs
   1.176 +	$(INSTALL_SCRIPT) $(top_srcdir)/install-sh $(DESTDIR)$(pkgdatadir)/install-sh
   1.177 +	@$(MKINSTALLDIRS) $(DESTDIR)$(libdir)/pkgconfig
   1.178 +	$(INSTALL_DATA) $(ALL_PKGCONFIG_FILES) $(DESTDIR)$(libdir)/pkgconfig/
   1.179 +	$(INSTALL_DATA) $(top_srcdir)/../license.html $(DESTDIR)$(pkgdatadir)/license.html
   1.180 +	$(INSTALL_SCRIPT) $(top_builddir)/config/icu-config $(DESTDIR)$(bindir)/icu-config
   1.181 +	$(INSTALL_DATA) $(top_builddir)/config/Makefile.inc $(DESTDIR)$(pkglibdir)/Makefile.inc
   1.182 +	$(INSTALL_DATA) $(top_builddir)/config/pkgdata.inc $(DESTDIR)$(pkglibdir)/pkgdata.inc
   1.183 +#	@echo icuinfo.xml is built after make check.
   1.184 +#	-$(INSTALL_DATA) $(top_builddir)/config/icuinfo.xml $(DESTDIR)$(pkglibdir)/icuinfo.xml
   1.185 +	cd $(DESTDIR)$(pkglibdir)/..; \
   1.186 +	    $(RM) current && ln -s $(VERSION) current; \
   1.187 +	    $(RM) Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \
   1.188 +	    $(RM) pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc
   1.189 +
   1.190 +ifeq ($(DOXYGEN),)
   1.191 +install-doc:
   1.192 +else
   1.193 +install-doc: doc
   1.194 +	$(RM) -r $(DESTDIR)$(docdir)/$(docsubdir)
   1.195 +	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(docsubdir)
   1.196 +	$(INSTALL_DATA) $(docfiles) $(DESTDIR)$(docdir)/$(docsubdir)
   1.197 +
   1.198 +endif
   1.199 +
   1.200 +$(DESTDIR)$(pkglibdir)/%: $(top_srcdir)/../data/%
   1.201 +	$(INSTALL_DATA) $< $@
   1.202 +
   1.203 +# Build the tests, but don't run them.
   1.204 +tests: all
   1.205 +	$(MAKE) -C $(top_builddir)/test
   1.206 +
   1.207 +clean-local:
   1.208 +	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
   1.209 +	-$(RMV) "test-*.xml"
   1.210 +	-$(RMV) "perf-*.xml"
   1.211 +	-$(RMV) $(ALL_PKGCONFIG_FILES) $(top_builddir)/config/icuinfo.xml
   1.212 +	$(RMV) Doxyfile doc $(DOCZIP)
   1.213 +
   1.214 +distclean-local: clean-local
   1.215 +	$(RMV) $(top_builddir)/config/Makefile.inc $(top_builddir)/config/pkgdata.inc $(top_builddir)/config/icu-config $(top_builddir)/config/icu.pc $(ALL_PKGCONFIG_FILES)
   1.216 +	$(RMV) config.cache config.log config.status $(top_builddir)/config/icucross.mk $(top_builddir)/config/icucross.inc autom4te.cache uconfig.h.prepend
   1.217 +	$(RMV) Makefile config/Makefile icudefs.mk $(LIBDIR) $(BINDIR)
   1.218 +	-$(RMV) dist
   1.219 +
   1.220 +check-local: xcheck-local
   1.221 +	-$(RMV) test-local.xml
   1.222 +
   1.223 +xcheck-local: $(top_builddir)/config/icu-config $(top_builddir)/config/Makefile.inc $(top_builddir)/config/pkgdata.inc
   1.224 +	@echo verifying that icu-config --selfcheck can operate
   1.225 +	@test "passed" = "$(shell $(top_builddir)/config/icu-config --selfcheck 2>&1)" || (echo "FAIL: icu-config could not run properly." ; exit 1)
   1.226 +	@echo verifying that $(MAKE) -f Makefile.inc selfcheck can operate
   1.227 +	@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 )
   1.228 +	@echo "PASS: config selfcheck OK"
   1.229 +
   1.230 +#$(srcdir)/configure : $(srcdir)/configure.ac $(top_srcdir)/aclocal.m4
   1.231 +#	cd $(srcdir) && aclocal && $(AUTOCONF)
   1.232 +
   1.233 +icudefs.mk: $(srcdir)/icudefs.mk.in  $(top_builddir)/config.status
   1.234 +	cd $(top_builddir) \
   1.235 +		&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.236 +
   1.237 +config/icucross.mk: $(top_builddir)/icudefs.mk  $(top_builddir)/Makefile
   1.238 +	@echo rebuilding $@
   1.239 +	@(echo "CROSS_ICU_VERSION=$(VERSION)" ;\
   1.240 +	  echo "TOOLEXEEXT=$(EXEEXT)" \
   1.241 +	   ) > $@
   1.242 +	@(echo 'TOOLBINDIR=$$(cross_buildroot)/bin' ;\
   1.243 +	  echo 'TOOLLIBDIR=$$(cross_buildroot)/lib' ;\
   1.244 +	  echo "INVOKE=$(LDLIBRARYPATH_ENVVAR)=$(LIBRARY_PATH_PREFIX)"'$$(TOOLLIBDIR):$$(cross_buildroot)/stubdata:$$(cross_buildroot)/tools/ctestfw:$$$$'"$(LDLIBRARYPATH_ENVVAR)" ;\
   1.245 +	  echo "PKGDATA_INVOKE=$(LDLIBRARYPATH_ENVVAR)=$(LIBRARY_PATH_PREFIX)"'$$(cross_buildroot)/stubdata:$$(cross_buildroot)/tools/ctestfw:$$(TOOLLIBDIR):$$$$'"$(LDLIBRARYPATH_ENVVAR) " ;\
   1.246 +	  echo ) >> $@
   1.247 +
   1.248 +config/icucross.inc: $(top_builddir)/icudefs.mk  $(top_builddir)/Makefile @platform_make_fragment@
   1.249 +	@echo rebuilding $@
   1.250 +	@(grep '^CURR_FULL_DIR' $(top_builddir)/icudefs.mk ; \
   1.251 +	  grep '^CURR_FULL_DIR' @platform_make_fragment@ || echo ""; \
   1.252 +	   ) > $@
   1.253 +
   1.254 +config/icu.pc: $(srcdir)/config/icu.pc.in
   1.255 +	cd $(top_builddir) \
   1.256 +	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.257 +
   1.258 +config/icu-uc.pc: config/icu.pc Makefile icudefs.mk
   1.259 +	@cat config/icu.pc > $@
   1.260 +	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries" >> $@
   1.261 +	@echo "Name: $(PACKAGE)-uc" >> $@
   1.262 +	@echo "Libs:" '-L$${libdir}' "${ICULIBS_UC}" "${ICULIBS_DT}" >> $@
   1.263 +	@echo "Libs.private:" '$${baselibs}' >> $@
   1.264 +	@echo $@ updated.
   1.265 +
   1.266 +config/icu-i18n.pc: config/icu.pc Makefile icudefs.mk
   1.267 +	@cat config/icu.pc > $@
   1.268 +	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Internationalization library" >> $@
   1.269 +	@echo "Name: $(PACKAGE)-i18n" >> $@
   1.270 +	@echo "Requires: icu-uc" >> $@
   1.271 +	@echo "Libs:" "${ICULIBS_I18N}" >> $@
   1.272 +	@echo $@ updated.
   1.273 +
   1.274 +config/icu-io.pc: config/icu.pc Makefile icudefs.mk
   1.275 +	@cat config/icu.pc > $@
   1.276 +	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Stream and I/O Library" >> $@
   1.277 +	@echo "Name: $(PACKAGE)-io" >> $@
   1.278 +	@echo "Requires: icu-i18n" >> $@
   1.279 +	@echo "Libs:" "${ICULIBS_IO}" >> $@
   1.280 +	@echo $@ updated.
   1.281 +
   1.282 +config/icu-le.pc: config/icu.pc Makefile icudefs.mk
   1.283 +	@cat config/icu.pc > $@
   1.284 +	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Layout library" >> $@
   1.285 +	@echo "Name: $(PACKAGE)-le" >> $@
   1.286 +	@echo "Requires: icu-uc" >> $@
   1.287 +	@echo "Libs:" "${ICULIBS_LE}" >> $@
   1.288 +	@echo $@ updated.
   1.289 +
   1.290 +config/icu-lx.pc: config/icu.pc Makefile icudefs.mk
   1.291 +	@cat config/icu.pc > $@
   1.292 +	@echo "Description: $(PACKAGE_ICU_DESCRIPTION): Paragraph Layout library" >> $@
   1.293 +	@echo "Name: $(PACKAGE)-lx" >> $@
   1.294 +	@echo "Requires: icu-le" >> $@
   1.295 +	@echo "Libs:" "${ICULIBS_LX}" >> $@
   1.296 +	@echo $@ updated.
   1.297 +
   1.298 +
   1.299 +Makefile: $(srcdir)/Makefile.in icudefs.mk $(top_builddir)/config.status
   1.300 +	cd $(top_builddir) \
   1.301 +		&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.302 +
   1.303 +$(top_builddir)/config/Makefile.inc: $(srcdir)/config/Makefile.inc.in  $(top_builddir)/config.status
   1.304 +	cd $(top_builddir) \
   1.305 +		&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.306 +
   1.307 +$(top_builddir)/config/pkgdata.inc: icudefs.mk $(top_builddir)/config/pkgdataMakefile
   1.308 +	cd $(top_builddir)/config; \
   1.309 +		$(MAKE) -f pkgdataMakefile
   1.310 +
   1.311 +$(top_builddir)/config/pkgdataMakefile:
   1.312 +	cd $(top_builddir) \
   1.313 +		&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.314 +
   1.315 +$(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
   1.316 +	-$(RMV) $@
   1.317 +	$(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@
   1.318 +	chmod u+w $@
   1.319 +	@echo "# Following from @platform_make_fragment@" >> $@
   1.320 +	LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@
   1.321 +	LC_ALL=C sed -f $(top_srcdir)/config/make2sh.sed < @platform_make_fragment@ | grep -v '#M#' | uniq >> $@
   1.322 +	cat $(top_srcdir)/config/icu-config-bottom >> $@
   1.323 +	echo "# Rebuilt on "`date` >> $@
   1.324 +	chmod u-w $@
   1.325 +
   1.326 +config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h
   1.327 +	@echo
   1.328 +	@echo
   1.329 +	@echo "*** config.status has become stale ***"
   1.330 +	@echo "   'configure' and/or 'uvernum.h' have changed, please"
   1.331 +	@echo "  do 'runConfigureICU' (or 'configure') again, as per"
   1.332 +	@echo "  the readme.html."
   1.333 +	@echo
   1.334 +	@echo
   1.335 +	exit 1
   1.336 +
   1.337 +
   1.338 +install-manx: $(MANX_FILES)
   1.339 +	$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
   1.340 +	$(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
   1.341 +
   1.342 +config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in
   1.343 +	cd $(top_builddir) \
   1.344 +	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.345 +
   1.346 +icu4j-data-install icu4j-data: all tests
   1.347 +	@echo ICU4J_ROOT=$(ICU4J_ROOT)
   1.348 +	@$(MAKE) -C test/testdata $@
   1.349 +	@$(MAKE) -C data $@
   1.350 +
   1.351 +# For updating Windows makefiles
   1.352 +
   1.353 +WINDOWS_UPDATEFILES=$(srcdir)/data/makedata.mak $(shell find $(srcdir) -name '*.vcproj' -o -name '*.vcxproj')
   1.354 +
   1.355 +WINDOWS_UPDATEFILES_SED=config/windows-update.sed
   1.356 +
   1.357 +update-windows-makefiles: config.status
   1.358 +	@echo Updating Windows Makefiles for ICU $(VERSION)
   1.359 +	CONFIG_FILES=$(WINDOWS_UPDATEFILES_SED) CONFIG_HEADERS= $(SHELL) ./config.status
   1.360 +	@for file in $(WINDOWS_UPDATEFILES); do \
   1.361 +	  echo "Updating $$file"; \
   1.362 +	  mv "$${file}" "$${file}.bak" && \
   1.363 +	  sed -f $(WINDOWS_UPDATEFILES_SED) < "$${file}.bak" > "$${file}" && \
   1.364 +	  rm "$${file}.bak"; \
   1.365 +	done;
   1.366 +	$(RMV) $(WINDOWS_UPDATEFILES_SED)
   1.367 +	@echo Please check over the changes carefully before checking them in.
   1.368 +
   1.369 +# For building a source distribution.
   1.370 +distcheck dist-local:
   1.371 +	$(MAKE) -C . -f $(top_srcdir)/config/dist.mk srcdir="$(srcdir)" top_srcdir="$(top_srcdir)" $@
   1.372 +
   1.373 +ifeq ($(DESTDIR),)
   1.374 +releaseDist:
   1.375 +	@echo "Please provide DESTDIR when calling the target releaseDist."
   1.376 +else
   1.377 +releaseDist: install
   1.378 +	@echo -n "ICU Version: " > $(DESTDIR)/readme.txt
   1.379 +	@echo `./config/icu-config --noverify --version` >> $(DESTDIR)/readme.txt
   1.380 +	@echo -n "HOST: " >> $(DESTDIR)/readme.txt
   1.381 +	@echo `./config/icu-config --noverify --host` >> $(DESTDIR)/readme.txt
   1.382 +	@echo -n "CC Compiler: " >> $(DESTDIR)/readme.txt
   1.383 +	@echo `./config/icu-config --noverify --cc` >> $(DESTDIR)/readme.txt
   1.384 +	@echo -n "CXX Compiler: " >> $(DESTDIR)/readme.txt
   1.385 +	@echo `./config/icu-config --noverify --cxx` >> $(DESTDIR)/readme.txt
   1.386 +endif
   1.387 +
   1.388 +check-installed-icu: install
   1.389 +	@echo "Testing ICU installed in $(prefix)"
   1.390 +	$(INSTALLED_INVOKE) $(bindir)/icuinfo$(EXEEXT)
   1.391 +	$(INSTALLED_INVOKE) $(bindir)/uconv$(EXEEXT) -V
   1.392 +	$(INSTALLED_INVOKE) $(bindir)/genrb$(EXEEXT) -V
   1.393 +	$(INSTALLED_INVOKE) $(bindir)/gencnval$(EXEEXT) -h
   1.394 +	@echo INSTALLED ICU IN "$(prefix)" OK!

mercurial