gcc/libjava/classpath/lib/Makefile.gcj
Tom Tromey 1ea63ef8be Imported Classpath 0.18.
* sources.am, Makefile.in: Updated.
	* Makefile.am (nat_source_files): Removed natProxy.cc.
	* java/lang/reflect/natProxy.cc: Removed.
	* gnu/classpath/jdwp/VMFrame.java,
	gnu/classpath/jdwp/VMIdManager.java,
	gnu/classpath/jdwp/VMVirtualMachine.java,
	java/lang/reflect/VMProxy.java: New files.

2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
	list.

2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/net/DefaultContentHandlerFactory.java (getContent):
	Remove ClasspathToolkit references.

2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
	* gnu/awt/xlib/XFramePeer.java: Likewise.
	* gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.

2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
	classpath/native/jawt/jawt.c.
	* Makefile.in: Regenerate.
	* jawt.c: Remove file.
	* include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
	jawt_md.h.  Add ../classpath/include/jawt.h and
	../classpath/include/jawt_md.h.
	* include/Makefile.in: Regenerate.
	* include/jawt.h: Regenerate.
	* include/jawt_md.h: Regenerate.

From-SVN: r104586
2005-09-23 21:31:04 +00:00

38 lines
1.4 KiB
Makefile

# This Makefile is used when building with gcj. It is separate from
# the ordinary Makefile as it does special GNU-make-specific things,
# and this avoids making other builds unnecessarily ugly.
# A .list file is made by split-for-gcj.sh.
# It lists all the files in a given package.
all_list_files := $(shell echo lists/*.list)
# The corresponding stamp files.
# Each .class file depends on its package's stamp file.
# Each stamp file depends on the corresponding list file.
# Each list file depends on the java files in its package.
# This way touching a single java source will cause the minimum
# number of rebuilds.
all_stamp_files := $(all_list_files:.list=.stamp)
# The dependency file generated by gcj.
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.
GCJF = $(GCJ) -Wno-deprecated --encoding=UTF-8 \
--bootclasspath '' --classpath $(compile_classpath) \
-C -d .
# Rule to rebuild a stamp file and update the deps file. Note that we
# make the target be the stamp file. This ensures that if a needed
# source is changed, this rule is re-run for the appropriate package.
%.stamp: %.list
$(GCJF) -MD -MF ${@:.stamp=.deps} -MT $@ -MP @$<
echo timestamp > $@