summaryrefslogtreecommitdiff
path: root/lib/Makefile.gcj
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-08-22 21:04:34 +0000
committerTom Tromey <tromey@redhat.com>2005-08-22 21:04:34 +0000
commit38f85fb28281b9f56a84618540c534a37e82d907 (patch)
tree6de14a510d7b54fe9096cd85102d7ec1f29d2774 /lib/Makefile.gcj
parent8a47a147c0d63cf18e34cf7fbec6680a5c4d4865 (diff)
downloadclasspath-38f85fb28281b9f56a84618540c534a37e82d907.tar.gz
* lib/split-for-gcj.sh: Create Makefile.deps atomically.
* lib/gen-classlist.sh.in: Don't run split-for-gcj.sh. * lib/Makefile.gcj (Makefile.deps): New target. * lib/Makefile.am (compile-classes): Pass top_srcdir to Makefile.gcj.
Diffstat (limited to 'lib/Makefile.gcj')
-rw-r--r--lib/Makefile.gcj5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile.gcj b/lib/Makefile.gcj
index 815238f66..7bac691e8 100644
--- a/lib/Makefile.gcj
+++ b/lib/Makefile.gcj
@@ -17,6 +17,11 @@ all_deps_files := $(all_list_files:.list=.deps)
all: $(all_stamp_files)
+# Ensure this is rebuilt whenever the list of classes changes.
+# The list will always exist when this Makefile is used.
+Makefile.deps: classes
+ $(SHELL) $(top_srcdir)/lib/split-for-gcj.sh
+
-include Makefile.deps $(all_deps_files)
## Like GCJ but include some common flags.