diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-07 14:29:53 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-07 14:29:53 +0000 |
commit | 0df6dd4d8aea6edc733de81fb7eec115ea59a36e (patch) | |
tree | e2f7056cb53c58c8ef5779450ac468091b2bd86d /Build/source/libs/icu/Makefile.am | |
parent | 3675a91dd83af3eaa1c1a12e91af1e6c86f710f8 (diff) |
build system: additional Makefile fragments
better handling of dependencies for highly parallel make
git-svn-id: svn://tug.org/texlive/trunk@31127 c570f23f-e606-0410-a88d-b1316a301751
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 + |