/[classpath]/classpath/lib/Makefile.gcj
ViewVC logotype

Diff of /classpath/lib/Makefile.gcj

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

revision 1.1 by tromey, Wed Jul 6 22:12:18 2005 UTC revision 1.2 by tromey, Fri Jul 8 16:48:27 2005 UTC
# Line 7  Line 7 
7  all_list_files := $(shell echo lists/*.list)  all_list_files := $(shell echo lists/*.list)
8  # The corresponding stamp files.  # The corresponding stamp files.
9  # Each .class file depends on its package's stamp file.  # Each .class file depends on its package's stamp file.
 # Each list file depends on the java files in its package.  
10  # Each stamp file depends on the corresponding list file.  # Each stamp file depends on the corresponding list file.
11    # Each list file depends on the java files in its package.
12  # This way touching a single java source will cause the minimum  # This way touching a single java source will cause the minimum
13  # number of rebuilds.  # number of rebuilds.
14  all_stamp_files := $(all_list_files:.list=.stamp)  all_stamp_files := $(all_list_files:.list=.stamp)
# Line 24  GCJF = $(GCJ) -Wno-deprecated --encoding Line 24  GCJF = $(GCJ) -Wno-deprecated --encoding
24      --bootclasspath '' --classpath $(compile_classpath) \      --bootclasspath '' --classpath $(compile_classpath) \
25      -C -d .      -C -d .
26    
27  # Rule to rebuild a stamp file and update the deps file.  # Rule to rebuild a stamp file and update the deps file.  Note that we
28    # make the target be the stamp file.  This ensures that if a needed
29    # source is changed, this rule is re-run for the appropriate package.
30  %.stamp: %.list  %.stamp: %.list
31          $(GCJF) -MD -MF ${@:.stamp=.deps} @$<          $(GCJF) -MD -MF ${@:.stamp=.deps} -MT $@ @$<
32          echo timestamp > $@          echo timestamp > $@

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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