diff options
Diffstat (limited to 'Build/source/libs/icu/Makefile.am')
-rw-r--r-- | Build/source/libs/icu/Makefile.am | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/Build/source/libs/icu/Makefile.am b/Build/source/libs/icu/Makefile.am index 107d30df3bd..1f014a3ad04 100644 --- a/Build/source/libs/icu/Makefile.am +++ b/Build/source/libs/icu/Makefile.am @@ -8,13 +8,6 @@ ## ACLOCAL_AMFLAGS = -I ../../m4 -# Rebuild -.PHONY: rebuild -rebuild: icubuild - cd include/unicode && $(MAKE) $(AM_MAKEFLAGS) all - -SUBDIRS = . - ## We want to re-distribute the whole ICU source tree. EXTRA_DIST = $(ICU_TREE) @@ -26,6 +19,8 @@ EXTRA_DIST += $(ICU_TREE)-PATCHES dist-hook: rm -rf `find $(distdir) -name .svn` +SUBDIRS = . + if build all-local: icubuild SUBDIRS += include/unicode @@ -63,6 +58,7 @@ if cross cd icu-native && $(MAKE) $(AM_MAKEFLAGS) all endif cross cd icu-build && $(MAKE) $(AM_MAKEFLAGS) all + cd include/unicode && $(MAKE) $(AM_MAKEFLAGS) all check-makeflags: @for f in x $$MAKEFLAGS; do \ @@ -76,3 +72,25 @@ check-makeflags: distclean-local: rm -rf icu-build icu-native +if build +check_PROGRAMS = icutest +dist_check_SCRIPTS = icu.test +TESTS = icu.test +endif build + +icutest_SOURCES = icutest.c + +# Force Automake to use CXXLD for linking +nodist_EXTRA_icutest_SOURCES = dummy.cxx + +icutest_CPPFLAGS = -Iinclude + +LDADD = icu-build/lib/libicuuc.a icu-build/lib/libicudata.a + +# Rebuild +rebuild_prereq = +rebuild_target = icubuild +CLEANFILES = + +include $(srcdir)/../../am/rebuild.am + |