diff options
author | neal <neal> | 2008-06-26 12:01:20 +0000 |
---|---|---|
committer | neal <neal> | 2008-06-26 12:01:20 +0000 |
commit | 49b7f9fb77a047d28bbd940163cbbdd5e9ef0af9 (patch) | |
tree | c63415338d88fded9d341c125564e8cca7b0c451 /benchmarks | |
parent | 798417351465648e8b1dc56eb97651262f8f1494 (diff) |
2008-06-26 Neal H. Walfield <neal@gnu.org>
* Makefile.am (noinst_LIBRARIES): Remove target.
(gc-build/build-stamp): Remove target.
(libgc.a): Remove target.
(all-local): Depend on gc-build/configure-stamp. Build the Boehm
GC. Only run make install if gc-build/libgc.la has changed.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/boehm-gc/ChangeLog | 8 | ||||
-rw-r--r-- | benchmarks/boehm-gc/Makefile.am | 17 |
2 files changed, 13 insertions, 12 deletions
diff --git a/benchmarks/boehm-gc/ChangeLog b/benchmarks/boehm-gc/ChangeLog index 41ded0b..ba04584 100644 --- a/benchmarks/boehm-gc/ChangeLog +++ b/benchmarks/boehm-gc/ChangeLog @@ -1,3 +1,11 @@ +2008-06-26 Neal H. Walfield <neal@gnu.org> + + * Makefile.am (noinst_LIBRARIES): Remove target. + (gc-build/build-stamp): Remove target. + (libgc.a): Remove target. + (all-local): Depend on gc-build/configure-stamp. Build the Boehm + GC. Only run make install if gc-build/libgc.la has changed. + 2008-06-24 Neal H. Walfield <neal@gnu.org> * patches/05-viengoos-scheduler.patch: Update to use madvise and diff --git a/benchmarks/boehm-gc/Makefile.am b/benchmarks/boehm-gc/Makefile.am index 4d93580..394e503 100644 --- a/benchmarks/boehm-gc/Makefile.am +++ b/benchmarks/boehm-gc/Makefile.am @@ -20,8 +20,6 @@ include $(top_srcdir)/Makefoo.am -noinst_LIBRARIES = libgc.a - # Patches to apply to the source tree. patch_files = 01-gc-include-private-gcconfig-h.patch \ 02-gc-mach_dep-c.patch \ @@ -100,19 +98,14 @@ gc-build/configure-stamp: $(srcdir)/gc/patch.stamp Makefile.am --build=$(build_alias) --host=$(host_alias)) touch $@ -gc-build/build-stamp: gc-build/configure-stamp +all-local: gc-build/configure-stamp cd gc-build && \ make all && \ make gctest - touch $@ - -gc-install/install-stamp: gc-build/build-stamp - cd gc-build && \ - make install - touch $@ - -libgc.a: gc-install/install-stamp - $(LN_S) -f gc-install/lib/libgc.a . + if test gc-build/libgc.la -nt gc-build/build-stamp; then \ + ( cd gc-build && make install ); \ + touch gc-build/build-stamp; \ + fi clean-local: rm -rf gc-build |