summaryrefslogtreecommitdiff
path: root/lib/gen-classlist.sh.in
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2006-12-10 20:25:39 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2006-12-10 20:25:39 +0000
commitda66af5951b18b6f5e8752cbbe11f5f842332a33 (patch)
treea28e126d1415e3689be6c7b2c2d061ae51194195 /lib/gen-classlist.sh.in
parentab90923ee693a17e2e0e37b6ba5a84794c9236de (diff)
downloadclasspath-da66af5951b18b6f5e8752cbbe11f5f842332a33.tar.gz
2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* Merge of generics-branch to HEAD (woohoo!)
Diffstat (limited to 'lib/gen-classlist.sh.in')
-rwxr-xr-xlib/gen-classlist.sh.in25
1 files changed, 16 insertions, 9 deletions
diff --git a/lib/gen-classlist.sh.in b/lib/gen-classlist.sh.in
index 6e4b8b876..ba540cfcc 100755
--- a/lib/gen-classlist.sh.in
+++ b/lib/gen-classlist.sh.in
@@ -25,15 +25,22 @@ echo "Adding java source files from srcdir '@top_srcdir@'."
done) > ${top_builddir}/lib/classes.1
# The same, but for the external code.
-# Right now all external code is in org/.
-for dir in @top_srcdir@/external/w3c_dom \
- @top_srcdir@/external/sax @top_srcdir@/external/relaxngDatatype; do
- (cd $dir
- @FIND@ org -follow -name '*.java' -print |
- sort -r | sed -e 's,/\([^/]*\)$, \1,' |
- while read pkg file; do
- echo $pkg $dir $pkg/$file
- done)
+for dir in \
+ @top_srcdir@/external/w3c_dom \
+ @top_srcdir@/external/sax \
+ @top_srcdir@/external/relaxngDatatype \
+ @top_srcdir@/external/jsr166 \
+ ; do
+ (cd $dir
+ for subdir in java javax gnu org sun; do
+ if test -d $subdir; then
+ @FIND@ $subdir -follow -name '*.java' -print |
+ sort -r | sed -e 's,/\([^/]*\)$, \1,' |
+ while read pkg file; do
+ echo $pkg $dir $pkg/$file
+ done
+ fi
+ done)
done >> ${top_builddir}/lib/classes.1
# Generate files for the VM classes.