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/harfbuzz/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/harfbuzz/Makefile.am')
-rw-r--r-- | Build/source/libs/harfbuzz/Makefile.am | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/Build/source/libs/harfbuzz/Makefile.am b/Build/source/libs/harfbuzz/Makefile.am index d469e36914d..5479ae821d5 100644 --- a/Build/source/libs/harfbuzz/Makefile.am +++ b/Build/source/libs/harfbuzz/Makefile.am @@ -8,10 +8,6 @@ ## ACLOCAL_AMFLAGS = -I ../../m4 -# Rebuild -.PHONY: rebuild -rebuild: all - ## We want to re-distribute the whole original harfbuzz source tree. ## EXTRA_DIST = $(HARFBUZZ_TREE) @@ -117,24 +113,36 @@ libharfbuzz_a_SOURCES += @HARFBUZZ_TREE@/src/hb-graphite2.cc $(libharfbuzz_a_OBJECTS): config.force -config.force: $(libharfbuzz_dependencies) - echo timestamp >config.force - $(SHELL) ./config.status --recheck +if build +check_PROGRAMS = hbtest +dist_check_SCRIPTS = harfbuzz.test +TESTS = harfbuzz.test +endif build + +hbtest_SOURCES = hbtest.c + +# Force Automake to use CXXLD for linking +nodist_EXTRA_hbtest_SOURCES = dummy.cxx -DISTCLEANFILES = config.force +hbtest_CPPFLAGS = -Iinclude $(ICU_INCLUDES) $(GRAPHITE2_INCLUDES) + +LDADD = libharfbuzz.a $(ICU_LIBS) $(GRAPHITE2_LIBS) ## Rebuild libsicuxxx @ICU_RULE@ ## Rebuild libgraphite2 @GRAPHITE2_RULE@ -##if build -## check_PROGRAMS = -## dist_check_SCRIPTS = harfbuzz.test -## TESTS = harfbuzz.test -## endif build +# Reconfig +reconfig_prereq = $(libharfbuzz_dependencies) +DISTCLEANFILES = + +include $(srcdir)/../../am/reconfig.am -LDADD = libharfbuzz.a +# Rebuild +rebuild_prereq = +rebuild_target = all +CLEANFILES = -## Files generated by TESTS +include $(srcdir)/../../am/rebuild.am |