/[classpath]/classpath/lib/split-for-gcj.sh
ViewVC logotype

Diff of /classpath/lib/split-for-gcj.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tromey, Wed Aug 10 22:39:37 2005 UTC revision 1.5 by aph, Thu Aug 11 14:18:21 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # Split in multiple parts for gcj.  This uses a somewhat hacky  # This script is used when compiling Classpath with gcj.  The idea is
4  # procedure for finding the package of a given file.  # to compile one package at a time, and only recompile packages when
5    # actually required.
6    
7    # We build java->class by package so we need to know what .java files
8    # correspond to what package.
9    
10    # We have a .stamp file for each package; this is the makefile target.
11    # We also have a .list file for each package, which lists all the
12    # input files in that package.
13    
14    # gen-classlist.sh makes a list of all the .java files we are going to compile.
15    
16    # This script generates Makefile.deps, which looks like this:
17    #
18    # java/awt/AWTUtilities.class: lists/java-awt.stamp
19    # lists/java-awt.list: /home/aph/gcc/gcc/libjava/classpath/gnu/java/awt/AWTUtilities.java
20    # java/awt/BitMaskExtent.class: lists/java-awt.stamp
21    # lists/java-awt.list: /home/aph/gcc/gcc/libjava/classpath/gnu/java/awt/BitMaskExtent.java
22    # java/awt/BitwiseXORComposite.class: lists/java-awt.stamp
23    # lists/java-awt.list: /home/aph/gcc/gcc/libjava/classpath/gnu/java/awt/BitwiseXORComposite.java
24    
25    # This uses a somewhat hacky procedure for finding the package of a
26    # given file.
27    
28  echo "Splitting for gcj"  echo "Splitting for gcj"
29  rm -f Makefile.deps > /dev/null 2>&1  rm -f Makefile.deps > /dev/null 2>&1
30  test -d lists || mkdir lists  test -d lists || mkdir lists

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26