OSDN Git Service

d80838a3bd1bd441b22ad15cbb33e6cb39ba6e81
[pf3gnuchains/gcc-fork.git] / libjava / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 AUTOMAKE_OPTIONS = foreign
4
5 if TESTSUBDIR
6 SUBDIRS = $(DIRLTDL) testsuite gcj include
7 else
8 SUBDIRS = $(DIRLTDL) gcj include
9 endif
10
11 ## ################################################################
12
13 ##
14 ## What gets installed, and where.
15 ##
16
17 ## Install a library built with a cross compiler in tooldir, not
18 ## libdir.
19 if USE_LIBDIR
20 toolexeclibdir = $(libdir)$(MULTISUBDIR)
21 else
22 toolexecdir = $(exec_prefix)/$(target_alias)
23 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
24 endif
25
26 if XLIB_AWT
27 cond_x_ltlibrary = libgcjx.la
28 else
29 cond_x_ltlibrary =
30 endif
31
32 toolexeclib_LTLIBRARIES = libgcj.la $(cond_x_ltlibrary)
33 toolexeclib_DATA = libgcj.spec
34 data_DATA = libgcj.jar
35
36 ## For now, only on native systems.  FIXME.
37 if NATIVE
38 bin_PROGRAMS = jv-convert gij rmic rmiregistry
39 endif
40
41 bin_SCRIPTS = addr2name.awk
42
43 ## ################################################################
44
45 ##
46 ## Compilers and compilation flags.
47 ##
48
49 ## CANADIAN is a misnomer.  Really we check to see if we must pick up
50 ## the tools from the path.
51 if CANADIAN
52 if NULL_TARGET
53 ## In this case, gcj is found outside the build tree.  However, zip is
54 ## found in the build tree.
55 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/jar$(EXEEXT)
56 else
57 ZIP = jar
58 endif
59 GCJH = gcjh
60 else # CANADIAN
61 GCJH = $(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
62 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/jar$(EXEEXT)
63 endif # CANADIAN
64
65 ## The compiler with whatever flags we want for both -c and -C
66 ## compiles.
67 GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8
68
69 GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
70 GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
71 LIBLINK = $(LIBTOOL) --tag=CC --mode=link $(CC) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
72
73 ## We define this because otherwise libtool can be run with different
74 ## values of `CXX' and will then get confused and fail to work.  So,
75 ## we use --tag explicitly.  Someday automake will be changed to do
76 ## this automatically.
77 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
78
79 JAVAC = $(GCJ_WITH_FLAGS) -C
80
81 GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@
82
83 WARNINGS = -W -Wall
84 ## We need _GNU_SOURCE defined for some Linux builds.  It doesn't hurt
85 ## to always define it.
86 AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions \
87 ## Some systems don't allow `$' in identifiers by default, so we force it.
88         -fdollars-in-identifiers \
89         @LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \
90         -DPREFIX="\"$(prefix)\""
91 if USING_GCC
92 AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
93 else
94 AM_CFLAGS = @LIBGCJ_CFLAGS@
95 endif
96
97 JCFLAGS = -g
98 JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
99
100 LIBFFIINCS = @LIBFFIINCS@
101
102 INCLUDES = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
103         $(GCINCS) $(THREADINCS) $(INCLTDL) \
104         $(GCC_UNWIND_INCLUDE) $(ZINCS) $(LIBFFIINCS)
105
106
107 ## ################################################################
108
109 ##
110 ## How to build libgcj.a and libgcj.jar
111 ##
112
113 ## Objects from C++ sources in subdirs.
114 nat_files = $(nat_source_files:.cc=.lo)
115 x_nat_files = $(x_nat_source_files:.cc=.lo)
116 ## Objects from C sources in subdirs.
117 c_files = $(c_source_files:.c=.lo)
118 ## Objects from Java sources in subdirs.
119 javao_files = $(java_source_files:.java=.lo) \
120         $(built_java_source_files:.java=.lo)
121 x_javao_files = $(x_java_source_files:.java=.lo)
122
123 libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \
124         resolve.cc defineclass.cc interpret.cc name-finder.cc \
125         $(nat_source_files)
126 EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
127         $(c_source_files) $(java_source_files) $(built_java_source_files)
128 libgcj_la_DEPENDENCIES = libgcj.jar $(javao_files) \
129         $(c_files) $(GCOBJS) $(THREADOBJS) $(LIBLTDL)
130
131 libgcj_la_LIBADD = $(javao_files) $(c_files) $(GCOBJS) \
132         $(THREADOBJS)
133 # Include THREADLIBS here to ensure that the correct version of
134 # certain linuxthread functions get linked:
135 libgcj_la_LDFLAGS = -rpath $(toolexeclibdir) $(THREADLIBS) $(LIBLTDL) \
136 ## The mysterious backslash is consumed by make.
137         -version-info `grep -v '^\#' $(srcdir)/libtool-version`
138 libgcj_la_LINK = $(LIBLINK)
139
140 libgcjx_la_SOURCES = $(x_nat_source_files)
141 EXTRA_libgcjx_la_SOURCES = $(x_java_source_files)
142 libgcjx_la_DEPENDENCIES = libgcj.jar $(x_javao_files)
143 libgcjx_la_LIBADD = $(x_javao_files)
144 libgcjx_la_LDFLAGS = @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
145         -rpath $(toolexeclibdir) \
146 ## The mysterious backslash is consumed by make.
147         -version-info `grep -v '^\#' $(srcdir)/libtool-version`
148 libgcjx_la_LINK = $(LIBLINK)
149
150 ## Make a symlink for each `libgcjx' file that was installed.
151 install-exec-hook:
152         cd $(DESTDIR)$(libdir) && \
153         if test -f libgcjx.la; then \
154           rm -f gnu-awt-xlib.la; \
155           $(LN_S) libgcjx.la gnu-awt-xlib.la; \
156         fi
157
158 ## Make the .class files depend on the .zip file.  This seems
159 ## backwards, but is right.  This doesn't catch all the .class files,
160 ## but that is ok, because the ones it fails to pick up are defined in
161 ## a .java file with some other class which is caught.  Note that we
162 ## only want to create headers for those files which do not have
163 ## hand-maintained headers.
164 $(built_java_source_files:.java=.class): libgcj.jar
165 $(java_source_files:.java=.class): libgcj.jar
166
167 ## The .class files for X will not be included in libgcj.jar, but the
168 ## rule for libgcj.jar will cause all out-of-date .class files to be
169 ## built. We need this to generate headers for the nat-files.
170 $(x_java_source_files:.java=.class): libgcj.jar
171
172 ## We have the zip file depend on the java sources and not the class
173 ## files, because we don't know the names of all the class files.
174 ## FIXME: this method fails in a peculiar case: if libgcj.jar is
175 ## up-to-date, and foo.class is removed, and bar.java is touched, then
176 ## `make libgcj.jar' will not rebuilt foo.class.  That's because
177 ## libgcj.jar is not out-of-date with respect to foo.java.
178 libgcj.jar: $(built_java_source_files) $(java_source_files) $(x_java_source_files)
179 ## Create a list of all Java sources, without exceeding any shell limits.
180         @: $(shell echo Creating list of files to compile...) $(shell rm -f tmp-list || :) $(shell touch tmp-list) $(foreach source,$?,$(shell echo $(source) >> tmp-list))
181         @set fnord $(MAKEFLAGS); amf=$$2; fail=no; \
182         javac="$(JAVAC)"; \
183         cat tmp-list | (while read f; do \
184           echo $$javac $(JCFLAGS) -classpath $(here):$(srcdir) -d $(here) $$f; \
185           $$javac $(JCFLAGS) -classpath $(here):$(srcdir) -d $(here) $$f \
186             || case "$$amf" in *=*) exit 1;; *k*) fail=yes ;; *) exit 1;; esac; \
187         done; \
188         test "$$fail" = no)
189         -@rm -f tmp-list libgcj.jar
190 ## Note that we explicitly want to include directory information.
191         find java gnu org -type d -o -type f -name '*.class' | \
192           sed -e '/\/\./d' -e '/\/xlib/d' | \
193           $(ZIP) cfM0E@ $@
194
195 MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files) $(x_javao_files) $(x_nat_files) $(x_nat_headers)
196 CLEANFILES = tmp-list libgcj.jar
197
198 clean-local:
199 ## We just remove every .class file that was created.
200         find . -name '*.class' -print | xargs rm -f
201
202 SUFFIXES = .class .java .h
203
204 .class.lo:
205         $(GCJCOMPILE) -o $@ $<
206
207 .java.lo:
208         $(GCJCOMPILE) -o $@ $<
209
210 ## This is GNU make specific.  For the .o files in subdirs, use a
211 ## special rule.  The standard automake rule can't be overridden (this
212 ## is a bug in automake), and it also won't put the .o files into
213 ## subdirs.  FIXME.
214 $(nat_files) $(x_nat_files): %.lo: %.cc
215         @echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
216         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c -o $@ $<
217         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
218           < .deps/$(*F).pp > .deps/$(*F).P; \
219         tr ' ' '\012' < .deps/$(*F).pp \
220           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
221             >> .deps/$(*F).P; \
222         rm -f .deps/$(*F).pp
223
224 ## FIXME: GNU make.
225 $(c_files): %.lo: %.c
226         $(LTCOMPILE) -c -o $@ $<
227
228 $(c_files): java/lang/fdlibm.h java/lang/ieeefp.h java/lang/mprec.h
229
230 ## FIXME: GNU make.
231 $(javao_files) $(x_javao_files): %.lo: %.java
232         $(GCJCOMPILE) -o $@ $<
233
234 ## Pass the list of object files to libtool in a temporary file to 
235 ## avoid tripping platform command line length limits.
236 libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
237         @: $(shell echo Creating list of files to link...) $(shell rm -f libgcj.objectlist || :) $(shell touch libgcj.objectlist) $(foreach object,$(libgcj_la_OBJECTS) $(libgcj_la_LIBADD),$(shell echo $(object) >> libgcj.objectlist))
238         $(libgcj_la_LINK) -objectlist libgcj.objectlist \
239         @LIBFFI@ \
240         -rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
241
242 libgcjx.la: $(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
243         @: $(shell echo Creating list of files to link...) $(shell rm -f libgcjx.objectlist || :) $(shell touch libgcjx.objectlist) $(foreach object,$(libgcjx_la_OBJECTS) $(libgcjx_la_LIBADD),$(shell echo $(object) >> libgcjx.objectlist))
244         $(libgcjx_la_LINK) -objectlist libgcjx.objectlist \
245         -rpath $(toolexeclibdir) $(libgcjx_la_LDFLAGS) $(LIBS)
246
247 ## ################################################################
248
249 ##
250 ## How to build header files.
251 ##
252
253 .class.h:
254 ## FIXME: GNU make specific.
255         $(GCJH) -classpath $(top_builddir) $(basename $<)
256
257 ## Header files used when compiling some of the nat* files.
258 nat_headers = $(ordinary_java_source_files:.java=.h) \
259         $(built_java_source_files:.java=.h) \
260         java/io/ObjectOutputStream$$PutField.h \
261         java/io/ObjectInputStream$$GetField.h
262
263 x_nat_headers = $(x_java_source_files:.java=.h)
264
265 $(nat_headers) $(x_nat_headers): libgcj.jar
266
267 java/lang/ClassLoader.h: java/lang/ClassLoader.class libgcj.jar
268         $(GCJH) -classpath $(top_builddir) \
269                 -friend 'jclass _Jv_FindClass (_Jv_Utf8Const *name, java::lang::ClassLoader *loader);' \
270                 -friend 'void _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv, bool is_jar);' \
271                 $(basename $<)
272
273 ## Our internal main program needs to be able to create a FirstThread.
274 gnu/gcj/runtime/FirstThread.h: gnu/gcj/runtime/FirstThread.class libgcj.jar
275         $(GCJH) -classpath $(top_builddir) \
276                 -friend 'void JvRunMain (jclass, int, const char **);' \
277                 -friend 'void _Jv_RunMain (const char*, int, const char **);' \
278                 $(basename $<)
279
280 java/lang/Thread.h: java/lang/Thread.class libgcj.jar
281         $(GCJH) -classpath $(top_builddir) \
282                 -prepend 'class _Jv_JNIEnv;' \
283                 -prepend '#define _JV_NOT_OWNER 1' \
284                 -prepend '#define _JV_INTERRUPTED 2' \
285                 -friend '_Jv_JNIEnv * _Jv_GetCurrentJNIEnv ();' \
286                 -friend 'void _Jv_SetCurrentJNIEnv (_Jv_JNIEnv *env);' \
287                 -friend 'void _Jv_ThreadRun (java::lang::Thread* thread);' \
288                 -friend 'jint _Jv_AttachCurrentThread(java::lang::Thread* thread);' \
289                 -friend 'java::lang::Thread* _Jv_AttachCurrentThread(jstring name, java::lang::ThreadGroup* group);' \
290                 -friend 'jint _Jv_DetachCurrentThread ();' \
291                 $(basename $<)
292
293 java/lang/String.h: java/lang/String.class libgcj.jar
294         $(GCJH) -classpath $(top_builddir) \
295             -friend 'jchar* _Jv_GetStringChars (jstring str);' \
296             -friend 'jstring* _Jv_StringFindSlot (jchar*, jint, jint);' \
297             -friend 'jstring* _Jv_StringGetSlot (jstring);' \
298             -friend 'jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);' \
299             -friend 'jstring _Jv_NewStringLatin1 (const char*, jsize);' \
300             -friend 'jstring _Jv_AllocString (jsize);' \
301             $(basename $<)
302
303 java/lang/reflect/Constructor.h: java/lang/reflect/Constructor.class libgcj.jar
304         $(GCJH) -classpath $(top_builddir) \
305             -friend 'jmethodID _Jv_FromReflectedConstructor (java::lang::reflect::Constructor *);' \
306             -friend 'class java::lang::Class;' \
307             -friend 'jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);' \
308             $(basename $<)
309
310 java/lang/reflect/Field.h: java/lang/reflect/Field.class libgcj.jar
311         $(GCJH) -classpath $(top_builddir) \
312             -friend 'jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);' \
313             -friend 'jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID, jboolean);' \
314             -friend 'class java::lang::Class;' \
315             $(basename $<)
316
317 java/lang/reflect/Method.h: java/lang/reflect/Method.class libgcj.jar
318         $(GCJH) -classpath $(top_builddir) \
319             -friend 'jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);' \
320             -friend 'class java::lang::Class;' \
321             -friend 'jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);' \
322             $(basename $<)
323
324 gnu/gcj/runtime/VMClassLoader.h: gnu/gcj/runtime/VMClassLoader.class libgcj.jar
325         $(GCJH) -classpath $(top_builddir) \
326             -friend 'class java::lang::ClassLoader;' \
327             $(basename $<)
328
329 java/io/ObjectInputStream$$GetField.h: libgcj.jar
330         $(GCJH) -classpath $(top_builddir) \
331         'java/io/ObjectInputStream$$GetField'
332
333 java/io/ObjectOutputStream$$PutField.h: libgcj.jar
334         $(GCJH) -classpath $(top_builddir) \
335         'java/io/ObjectOutputStream$$PutField'
336
337 ## Headers we maintain by hand and which we want to install.
338 extra_headers = java/lang/Object.h java/lang/Class.h
339
340 $(extra_headers):
341         @:
342
343 ## Install the headers.  It is fairly ugly that we have to do this by
344 ## hand.
345 install-data-local:
346         $(PRE_INSTALL)
347         @for f in $(nat_headers) $(extra_headers); do \
348           d="`echo $$f | sed -e 's,/[^/]*$$,,'`"; \
349           $(mkinstalldirs) $(DESTDIR)$(includedir)/$$d; \
350           if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \
351           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f"; \
352           $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f; \
353         done
354
355 ## ################################################################
356
357 ##
358 ## Additional `check' targets for maintainer convenience.
359 ##
360
361 ## This is used for maintainer-check.  FIXME: should set from
362 ## configure using AC_CHECK_TOOL.
363 NM = nm
364
365 ## Try to make sure our library doesn't stomp the namespace.
366 maintainer-check: libgcj.la
367         $(NM) .libs/libgcj.a | grep ' T ' \
368 ## Anything with `4java' is assumed to be from .java source.
369           | grep -v '4java' \
370 ## Anything with Jv is ok.
371           | grep -v 'Jv' \
372 ## `terminate' and `unexpected' are part of the runtime.
373           | grep -v 'terminate__Fv' | grep -v 'unexpected__Fv'
374
375 ## This rule can be used to see if the headers are more or less
376 ## correct.
377 header-check: libgcj.jar $(nat_headers)
378         rm -f htest.cc; \
379         for h in $(nat_headers); do \
380           echo "#include \"$$h\"" >> htest.cc; \
381         done; \
382         $(CXXCOMPILE) -fsyntax-only htest.cc
383
384
385 ## ################################################################
386
387 ##
388 ## The `jv-convert' program and code to rebuild the converter header
389 ## files.
390 ##
391
392 ## it only makes sense to try to rebuild the JIS .h files on native
393 ## systems.
394 if NATIVE
395 if MAINTAINER_MODE
396 noinst_PROGRAMS = gen-from-JIS
397 endif
398 endif 
399
400 CONVERT_DIR = gnu/gcj/convert
401
402 jv_convert_SOURCES =
403 EXTRA_jv_convert_SOURCES = $(convert_source_files)
404 ## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'.  We
405 ## need this because we are explicitly using libtool to link using the
406 ## `.la' file.
407 jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
408         -rpath $(toolexeclibdir) -shared-libgcc
409 jv_convert_LINK = $(GCJLINK)
410 ## We explicitly link in the libraries we need.  This way we don't
411 ## need -nodefaultlibs, so we can still rely on gcj picking up the
412 ## system libraries we need (via the specs file).
413 ## We need the -L so that gcj can find libgcj with `-lgcj'.
414 ## FIXME: should be _libs on some systems.
415 jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
416         $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
417 ## Depend on the spec file to make sure it is up to date before
418 ## linking this program.
419 jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
420         $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
421
422 gij_SOURCES = gij.cc
423 ## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'.  We
424 ## need this because we are explicitly using libtool to link using the
425 ## `.la' file.
426 gij_LDFLAGS = -rpath $(toolexeclibdir) -shared-libgcc
427 gij_LINK = $(GCJLINK)
428 ## We explicitly link in the libraries we need.  This way we don't
429 ## need -nodefaultlibs, so we can still rely on gcj picking up the
430 ## system libraries we need (via the specs file).
431 ## We need the -L so that gcj can find libgcj with `-lgcj'.
432 ## FIXME: should be _libs on some systems.
433 gij_LDADD = libgcj.la $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
434 ## Depend on the spec file to make sure it is up to date before
435 ## linking this program.
436 gij_DEPENDENCIES = $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
437
438 rmic_SOURCES =
439 ## This is a dummy definition.
440 EXTRA_rmic_SOURCES = $(rmi_java_source_files)
441 rmic_LDFLAGS = --main=gnu.java.rmi.rmic.RMIC \
442         -rpath $(toolexeclibdir) -shared-libgcc
443 rmic_LINK = $(GCJLINK)
444 ## We explicitly link in the libraries we need.  This way we don't
445 ## need -nodefaultlibs, so we can still rely on gcj picking up the
446 ## system libraries we need (via the specs file).
447 ## We need the -L so that gcj can find libgcj with `-lgcj'.
448 ## FIXME: should be _libs on some systems.
449 rmic_LDADD = libgcj.la $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
450 ## Depend on the spec file to make sure it is up to date before
451 ## linking this program.
452 rmic_DEPENDENCIES = $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
453
454 rmiregistry_SOURCES =
455 ## This is a dummy definition.
456 EXTRA_rmiregistry_SOURCES = $(rmi_java_source_files)
457 rmiregistry_LDFLAGS = --main=gnu.java.rmi.registry.RegistryImpl \
458         -rpath $(toolexeclibdir) -shared-libgcc
459 rmiregistry_LINK = $(GCJLINK)
460 ## We explicitly link in the libraries we need.  This way we don't
461 ## need -nodefaultlibs, so we can still rely on gcj picking up the
462 ## system libraries we need (via the specs file).
463 ## We need the -L so that gcj can find libgcj with `-lgcj'.
464 ## FIXME: should be _libs on some systems.
465 rmiregistry_LDADD = libgcj.la $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
466 ## Depend on the spec file to make sure it is up to date before
467 ## linking this program.
468 rmiregistry_DEPENDENCIES = $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
469
470 # The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
471 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
472
473 $(srcdir)/$(CONVERT_DIR)/JIS0201.h:  # $(CONVERT_DIR)/JIS0201.TXT
474         echo '/* This file is automatically generated from Unicode tables */' > tmp-0201; \
475         tr  -d '\r' <$(CONVERT_DIR)/JIS0201.TXT \
476         | sed -n -e 's|\(0x..\).*\(0x....\).*#\(.*\)$$|MAP(0x00, \1, \2)  /*\3 */|p' \
477         >> tmp-0201; \
478         mv tmp-0201 $(srcdir)/$(CONVERT_DIR)/JIS0201.h
479
480 # The Unicode consortium does not permit re-distributing the file JIS0208.TXT.
481 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
482
483 $(srcdir)/$(CONVERT_DIR)/JIS0208.h:  # $(CONVERT_DIR)/JIS0208.TXT
484         echo '/* This file is automatically generated from Unicode tables */' > tmp-0208; \
485         tr  -d '\r' <$(CONVERT_DIR)/JIS0208.TXT \
486         | sed -n -e 's|\(0x....\).*0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\2, 0x\3, \4)  /*\5 */|p' \
487         >> tmp-0208; \
488         mv tmp-0208 $(srcdir)/$(CONVERT_DIR)/JIS0208.h
489
490 # The Unicode consortium does not permit re-distributing the file JIS0212.TXT.
491 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
492
493 $(srcdir)/$(CONVERT_DIR)/JIS0212.h:  # $(CONVERT_DIR)/JIS0212.TXT
494         echo '/* This file is automatically generated from Unicode tables */' > tmp-0212; \
495         tr  -d '\r' <$(CONVERT_DIR)/JIS0212.TXT \
496         | sed -n -e 's|0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\1, 0x\2, \3)  /*\4 */|p' \
497         >> tmp-0212; \
498         mv tmp-0212 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
499
500
501 gen_from_JIS_SOURCES =
502 EXTRA_gen_from_JIS_SOURCES = $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
503                 $(srcdir)/$(CONVERT_DIR)/make-trie.c \
504                 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
505                 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
506                 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
507 gen_from_JIS_LDADD = $(CONVERT_DIR)/gen-from-JIS.o $(CONVERT_DIR)/make-trie.o
508 gen_from_JIS_DEPENDENCIES = $(CONVERT_DIR)/gen-from-JIS.o \
509                 $(CONVERT_DIR)/make-trie.o
510
511 $(CONVERT_DIR)/gen-from-JIS.o: $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
512                 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
513                 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
514                 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
515         $(COMPILE) -c -o $(CONVERT_DIR)/gen-from-JIS.o \
516                 $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c
517
518 $(CONVERT_DIR)/make-trie.o: $(srcdir)/$(CONVERT_DIR)/make-trie.c
519         $(COMPILE) -c -o $(CONVERT_DIR)/make-trie.o \
520                 $(srcdir)/$(CONVERT_DIR)/make-trie.c
521
522 if NATIVE
523 if MAINTAINER_MODE
524
525 $(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
526          ./gen-from-JIS JIS0208>$(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc
527
528 $(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
529          ./gen-from-JIS JIS0212>$(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc
530
531 $(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc: ./gen-from-JIS$(EXEEXT)
532          ./gen-from-JIS toJIS>$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc
533
534 endif # MAINTAINER_MODE
535 endif # NATIVE
536
537
538 ## ################################################################
539
540 ##
541 ## This section lists all the source files we care about.
542 ##
543
544 convert_source_files = \
545 gnu/gcj/convert/BytesToUnicode.java \
546 gnu/gcj/convert/Convert.java \
547 gnu/gcj/convert/Input_8859_1.java \
548 gnu/gcj/convert/Input_ASCII.java \
549 gnu/gcj/convert/Input_EUCJIS.java \
550 gnu/gcj/convert/Input_JavaSrc.java \
551 gnu/gcj/convert/Input_SJIS.java \
552 gnu/gcj/convert/Input_UTF8.java \
553 gnu/gcj/convert/Input_iconv.java \
554 gnu/gcj/convert/IOConverter.java \
555 gnu/gcj/convert/Output_8859_1.java \
556 gnu/gcj/convert/Output_ASCII.java \
557 gnu/gcj/convert/Output_EUCJIS.java \
558 gnu/gcj/convert/Output_JavaSrc.java \
559 gnu/gcj/convert/Output_SJIS.java \
560 gnu/gcj/convert/Output_UTF8.java \
561 gnu/gcj/convert/Output_iconv.java \
562 gnu/gcj/convert/UnicodeToBytes.java
563
564 ## List of all .java files for which the .h file is maintained by
565 ## hand.
566 special_java_source_files = java/lang/Class.java java/lang/Object.java
567
568 awt_java_source_files = \
569 gnu/awt/LightweightRedirector.java \
570 gnu/awt/j2d/AbstractGraphicsState.java \
571 gnu/awt/j2d/DirectRasterGraphics.java \
572 gnu/awt/j2d/Graphics2DImpl.java \
573 gnu/awt/j2d/IntegerGraphicsState.java \
574 gnu/awt/j2d/MappedRaster.java \
575 gnu/gcj/awt/BitMaskExtent.java \
576 gnu/gcj/awt/Buffers.java \
577 gnu/gcj/awt/ComponentDataBlitOp.java \
578 gnu/gcj/awt/GLightweightPeer.java \
579 gnu/java/beans/editors/ColorEditor.java \
580 gnu/java/beans/editors/FontEditor.java \
581 gnu/java/beans/editors/NativeBooleanEditor.java \
582 gnu/java/beans/editors/NativeByteEditor.java \
583 gnu/java/beans/editors/NativeDoubleEditor.java \
584 gnu/java/beans/editors/NativeFloatEditor.java \
585 gnu/java/beans/editors/NativeIntEditor.java \
586 gnu/java/beans/editors/NativeLongEditor.java \
587 gnu/java/beans/editors/NativeShortEditor.java \
588 gnu/java/beans/editors/StringEditor.java \
589 gnu/java/beans/info/ComponentBeanInfo.java \
590 gnu/java/beans/BeanInfoEmbryo.java \
591 gnu/java/beans/EmptyBeanInfo.java \
592 gnu/java/beans/ExplicitBeanInfo.java \
593 gnu/java/beans/IntrospectionIncubator.java \
594 java/applet/Applet.java \
595 java/applet/AppletStub.java \
596 java/applet/AppletContext.java \
597 java/applet/AudioClip.java \
598 java/awt/AWTError.java \
599 java/awt/AWTEvent.java \
600 java/awt/AWTEventMulticaster.java \
601 java/awt/AWTException.java \
602 java/awt/AWTPermission.java \
603 java/awt/ActiveEvent.java \
604 java/awt/Adjustable.java \
605 java/awt/BorderLayout.java \
606 java/awt/Button.java \
607 java/awt/Canvas.java \
608 java/awt/CardLayout.java \
609 java/awt/Checkbox.java \
610 java/awt/CheckboxGroup.java \
611 java/awt/CheckboxMenuItem.java \
612 java/awt/Choice.java \
613 java/awt/Color.java \
614 java/awt/Component.java \
615 java/awt/ComponentOrientation.java \
616 java/awt/Container.java \
617 java/awt/Cursor.java \
618 java/awt/Dialog.java \
619 java/awt/Dimension.java \
620 java/awt/Event.java \
621 java/awt/EventDispatchThread.java \
622 java/awt/EventQueue.java \
623 java/awt/FileDialog.java \
624 java/awt/FlowLayout.java \
625 java/awt/Font.java \
626 java/awt/FontMetrics.java \
627 java/awt/Frame.java \
628 java/awt/Graphics.java \
629 java/awt/Graphics2D.java \
630 java/awt/GraphicsConfiguration.java \
631 java/awt/GridBagConstraints.java \
632 java/awt/GridLayout.java \
633 java/awt/IllegalComponentStateException.java \
634 java/awt/Image.java \
635 java/awt/Insets.java \
636 java/awt/ItemSelectable.java \
637 java/awt/Label.java \
638 java/awt/LayoutManager.java \
639 java/awt/LayoutManager2.java \
640 java/awt/List.java \
641 java/awt/Menu.java \
642 java/awt/MenuBar.java \
643 java/awt/MenuComponent.java \
644 java/awt/MenuContainer.java \
645 java/awt/MenuItem.java \
646 java/awt/MenuShortcut.java \
647 java/awt/Paint.java \
648 java/awt/PaintContext.java \
649 java/awt/Panel.java \
650 java/awt/Point.java \
651 java/awt/Polygon.java \
652 java/awt/PopupMenu.java \
653 java/awt/Rectangle.java \
654 java/awt/RenderingHints.java \
655 java/awt/ScrollPane.java \
656 java/awt/Scrollbar.java \
657 java/awt/Shape.java \
658 java/awt/SystemColor.java \
659 java/awt/TextArea.java \
660 java/awt/TextComponent.java \
661 java/awt/TextField.java \
662 java/awt/Toolkit.java \
663 java/awt/Transparency.java \
664 java/awt/Window.java \
665 java/awt/color/ColorSpace.java \
666 java/awt/color/ICC_ColorSpace.java \
667 java/awt/color/ICC_Profile.java \
668 java/awt/datatransfer/Clipboard.java \
669 java/awt/event/AWTEventListener.java \
670 java/awt/event/ActionEvent.java \
671 java/awt/event/ActionListener.java \
672 java/awt/event/AdjustmentEvent.java \
673 java/awt/event/AdjustmentListener.java \
674 java/awt/event/ComponentAdapter.java \
675 java/awt/event/ComponentEvent.java \
676 java/awt/event/ComponentListener.java \
677 java/awt/event/ContainerAdapter.java \
678 java/awt/event/ContainerEvent.java \
679 java/awt/event/ContainerListener.java \
680 java/awt/event/FocusAdapter.java \
681 java/awt/event/FocusEvent.java \
682 java/awt/event/FocusListener.java \
683 java/awt/event/HierarchyBoundsAdapter.java \
684 java/awt/event/HierarchyBoundsListener.java \
685 java/awt/event/HierarchyEvent.java \
686 java/awt/event/HierarchyListener.java \
687 java/awt/event/InputEvent.java \
688 java/awt/event/InputMethodEvent.java \
689 java/awt/event/InputMethodListener.java \
690 java/awt/event/InvocationEvent.java \
691 java/awt/event/ItemEvent.java \
692 java/awt/event/ItemListener.java \
693 java/awt/event/KeyAdapter.java \
694 java/awt/event/KeyEvent.java \
695 java/awt/event/KeyListener.java \
696 java/awt/event/MouseAdapter.java \
697 java/awt/event/MouseEvent.java \
698 java/awt/event/MouseListener.java \
699 java/awt/event/MouseMotionAdapter.java \
700 java/awt/event/MouseMotionListener.java \
701 java/awt/event/PaintEvent.java \
702 java/awt/event/TextEvent.java \
703 java/awt/event/TextListener.java \
704 java/awt/event/WindowAdapter.java \
705 java/awt/event/WindowEvent.java \
706 java/awt/event/WindowListener.java \
707 java/awt/geom/AffineTransform.java \
708 java/awt/geom/Dimension2D.java \
709 java/awt/geom/Ellipse2D.java \
710 java/awt/geom/IllegalPathStateException.java \
711 java/awt/geom/Line2D.java \
712 java/awt/geom/NoninvertibleTransformException.java \
713 java/awt/geom/PathIterator.java \
714 java/awt/geom/Point2D.java \
715 java/awt/geom/Rectangle2D.java \
716 java/awt/geom/RectangularShape.java \
717 java/awt/geom/RoundRectangle2D.java \
718 java/awt/image/BufferedImage.java \
719 java/awt/image/ColorModel.java \
720 java/awt/image/ComponentColorModel.java \
721 java/awt/image/ComponentSampleModel.java \
722 java/awt/image/DataBuffer.java \
723 java/awt/image/DataBufferByte.java \
724 java/awt/image/DataBufferInt.java \
725 java/awt/image/DataBufferUShort.java \
726 java/awt/image/DirectColorModel.java \
727 java/awt/image/ImageConsumer.java \
728 java/awt/image/ImageObserver.java \
729 java/awt/image/ImageProducer.java \
730 java/awt/image/IndexColorModel.java \
731 java/awt/image/PackedColorModel.java \
732 java/awt/image/Raster.java \
733 java/awt/image/RasterOp.java \
734 java/awt/image/SampleModel.java \
735 java/awt/image/SinglePixelPackedSampleModel.java \
736 java/awt/image/WritableRaster.java \
737 java/awt/peer/ButtonPeer.java \
738 java/awt/peer/CanvasPeer.java \
739 java/awt/peer/CheckboxMenuItemPeer.java \
740 java/awt/peer/CheckboxPeer.java \
741 java/awt/peer/ChoicePeer.java \
742 java/awt/peer/ComponentPeer.java \
743 java/awt/peer/ContainerPeer.java \
744 java/awt/peer/DialogPeer.java \
745 java/awt/peer/FileDialogPeer.java \
746 java/awt/peer/FontPeer.java \
747 java/awt/peer/FramePeer.java \
748 java/awt/peer/LabelPeer.java \
749 java/awt/peer/LightweightPeer.java \
750 java/awt/peer/ListPeer.java \
751 java/awt/peer/MenuBarPeer.java \
752 java/awt/peer/MenuComponentPeer.java \
753 java/awt/peer/MenuItemPeer.java \
754 java/awt/peer/MenuPeer.java \
755 java/awt/peer/PanelPeer.java \
756 java/awt/peer/PopupMenuPeer.java \
757 java/awt/peer/ScrollPanePeer.java \
758 java/awt/peer/ScrollbarPeer.java \
759 java/awt/peer/TextAreaPeer.java \
760 java/awt/peer/TextComponentPeer.java \
761 java/awt/peer/TextFieldPeer.java \
762 java/awt/peer/WindowPeer.java \
763 java/beans/beancontext/BeanContext.java \
764 java/beans/beancontext/BeanContextChild.java \
765 java/beans/beancontext/BeanContextChildComponentProxy.java \
766 java/beans/beancontext/BeanContextChildSupport.java \
767 java/beans/beancontext/BeanContextContainerProxy.java \
768 java/beans/beancontext/BeanContextEvent.java \
769 java/beans/beancontext/BeanContextMembershipEvent.java \
770 java/beans/beancontext/BeanContextMembershipListener.java \
771 java/beans/beancontext/BeanContextProxy.java \
772 java/beans/beancontext/BeanContextServiceAvailableEvent.java \
773 java/beans/beancontext/BeanContextServiceProvider.java \
774 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java \
775 java/beans/beancontext/BeanContextServiceRevokedEvent.java \
776 java/beans/beancontext/BeanContextServiceRevokedListener.java \
777 java/beans/beancontext/BeanContextServices.java \
778 java/beans/beancontext/BeanContextServicesListener.java \
779 java/beans/BeanDescriptor.java \
780 java/beans/BeanInfo.java \
781 java/beans/Beans.java \
782 java/beans/Customizer.java \
783 java/beans/DesignMode.java \
784 java/beans/EventSetDescriptor.java \
785 java/beans/FeatureDescriptor.java \
786 java/beans/IndexedPropertyDescriptor.java \
787 java/beans/IntrospectionException.java \
788 java/beans/Introspector.java \
789 java/beans/MethodDescriptor.java \
790 java/beans/ParameterDescriptor.java \
791 java/beans/PropertyChangeEvent.java \
792 java/beans/PropertyChangeListener.java \
793 java/beans/PropertyChangeSupport.java \
794 java/beans/PropertyDescriptor.java \
795 java/beans/PropertyEditor.java \
796 java/beans/PropertyEditorManager.java \
797 java/beans/PropertyEditorSupport.java \
798 java/beans/PropertyVetoException.java \
799 java/beans/SimpleBeanInfo.java \
800 java/beans/VetoableChangeListener.java \
801 java/beans/VetoableChangeSupport.java \
802 java/beans/Visibility.java
803
804 rmi_java_source_files = \
805 java/rmi/activation/Activatable.java \
806 java/rmi/activation/ActivateFailedException.java \
807 java/rmi/activation/ActivationDesc.java \
808 java/rmi/activation/ActivationException.java \
809 java/rmi/activation/ActivationGroup.java \
810 java/rmi/activation/ActivationGroupDesc.java \
811 java/rmi/activation/ActivationGroupID.java \
812 java/rmi/activation/ActivationID.java \
813 java/rmi/activation/ActivationInstantiator.java \
814 java/rmi/activation/ActivationMonitor.java \
815 java/rmi/activation/ActivationSystem.java \
816 java/rmi/activation/Activator.java \
817 java/rmi/activation/UnknownGroupException.java \
818 java/rmi/activation/UnknownObjectException.java \
819 java/rmi/AccessException.java \
820 java/rmi/AlreadyBoundException.java \
821 java/rmi/ConnectException.java \
822 java/rmi/ConnectIOException.java \
823 java/rmi/MarshalException.java \
824 java/rmi/MarshalledObject.java \
825 java/rmi/Naming.java \
826 java/rmi/NoSuchObjectException.java \
827 java/rmi/NotBoundException.java \
828 java/rmi/RMISecurityException.java \
829 java/rmi/RMISecurityManager.java \
830 java/rmi/Remote.java \
831 java/rmi/RemoteException.java \
832 java/rmi/ServerError.java \
833 java/rmi/ServerException.java \
834 java/rmi/ServerRuntimeException.java \
835 java/rmi/StubNotFoundException.java \
836 java/rmi/UnexpectedException.java \
837 java/rmi/UnknownHostException.java \
838 java/rmi/UnmarshalException.java \
839 java/rmi/dgc/DGC.java \
840 java/rmi/dgc/Lease.java \
841 java/rmi/dgc/VMID.java \
842 java/rmi/registry/LocateRegistry.java \
843 java/rmi/registry/Registry.java \
844 java/rmi/registry/RegistryHandler.java \
845 java/rmi/server/ExportException.java \
846 java/rmi/server/LoaderHandler.java \
847 java/rmi/server/LogStream.java \
848 java/rmi/server/ObjID.java \
849 java/rmi/server/Operation.java \
850 java/rmi/server/RMIClassLoader.java \
851 java/rmi/server/RMIClientSocketFactory.java \
852 java/rmi/server/RMIFailureHandler.java \
853 java/rmi/server/RMIServerSocketFactory.java \
854 java/rmi/server/RMISocketFactory.java \
855 java/rmi/server/RemoteCall.java \
856 java/rmi/server/RemoteObject.java \
857 java/rmi/server/RemoteRef.java \
858 java/rmi/server/RemoteServer.java \
859 java/rmi/server/RemoteStub.java \
860 java/rmi/server/ServerCloneException.java \
861 java/rmi/server/ServerNotActiveException.java \
862 java/rmi/server/ServerRef.java \
863 java/rmi/server/Skeleton.java \
864 java/rmi/server/SkeletonMismatchException.java \
865 java/rmi/server/SkeletonNotFoundException.java \
866 java/rmi/server/SocketSecurityException.java \
867 java/rmi/server/UID.java \
868 java/rmi/server/UnicastRemoteObject.java \
869 java/rmi/server/Unreferenced.java \
870 gnu/java/rmi/dgc/DGCImpl.java \
871 gnu/java/rmi/dgc/DGCImpl_Skel.java \
872 gnu/java/rmi/dgc/DGCImpl_Stub.java \
873 gnu/java/rmi/registry/RegistryImpl.java \
874 gnu/java/rmi/registry/RegistryImpl_Skel.java \
875 gnu/java/rmi/registry/RegistryImpl_Stub.java \
876 gnu/java/rmi/rmic/RMIC.java \
877 gnu/java/rmi/rmic/TabbedWriter.java \
878 gnu/java/rmi/server/ProtocolConstants.java \
879 gnu/java/rmi/server/RMIDefaultSocketFactory.java \
880 gnu/java/rmi/server/RMIHashes.java \
881 gnu/java/rmi/server/RMIObjectInputStream.java \
882 gnu/java/rmi/server/RMIObjectOutputStream.java \
883 gnu/java/rmi/server/UnicastConnection.java \
884 gnu/java/rmi/server/UnicastConnectionManager.java \
885 gnu/java/rmi/server/UnicastRef.java \
886 gnu/java/rmi/server/UnicastRemoteCall.java \
887 gnu/java/rmi/server/UnicastRemoteStub.java \
888 gnu/java/rmi/server/UnicastServer.java \
889 gnu/java/rmi/server/UnicastServerRef.java
890
891 ## Java files which are created by configure and thus are in the build
892 ## directory.
893 built_java_source_files = java/lang/ConcreteProcess.java \
894                           gnu/classpath/Configuration.java
895
896 ## Java files in the core packages java.lang, java.io, and java.util.
897 ## These are built before the other source files, in order to reduce 
898 ## build time.
899 core_java_source_files = \
900 java/lang/AbstractMethodError.java \
901 java/lang/ArithmeticException.java \
902 java/lang/ArrayIndexOutOfBoundsException.java \
903 java/lang/ArrayStoreException.java \
904 java/lang/Boolean.java \
905 java/lang/Byte.java \
906 java/lang/Character.java \
907 java/lang/ClassCastException.java \
908 java/lang/ClassCircularityError.java \
909 java/lang/ClassFormatError.java \
910 java/lang/ClassLoader.java \
911 java/lang/ClassNotFoundException.java \
912 java/lang/CloneNotSupportedException.java \
913 java/lang/Cloneable.java \
914 java/lang/Comparable.java \
915 java/lang/Compiler.java \
916 java/lang/Double.java \
917 java/lang/Error.java \
918 java/lang/Exception.java \
919 java/lang/ExceptionInInitializerError.java \
920 java/lang/Float.java \
921 java/lang/IllegalAccessError.java \
922 java/lang/IllegalAccessException.java \
923 java/lang/IllegalArgumentException.java \
924 java/lang/IllegalMonitorStateException.java \
925 java/lang/IllegalStateException.java \
926 java/lang/IllegalThreadStateException.java \
927 java/lang/IncompatibleClassChangeError.java \
928 java/lang/IndexOutOfBoundsException.java \
929 java/lang/InstantiationError.java \
930 java/lang/InstantiationException.java \
931 java/lang/Integer.java \
932 java/lang/InternalError.java \
933 java/lang/InterruptedException.java \
934 java/lang/LinkageError.java \
935 java/lang/Long.java \
936 java/lang/Math.java \
937 java/lang/NegativeArraySizeException.java \
938 java/lang/NoClassDefFoundError.java \
939 java/lang/NoSuchFieldError.java \
940 java/lang/NoSuchFieldException.java \
941 java/lang/NoSuchMethodError.java \
942 java/lang/NoSuchMethodException.java \
943 java/lang/NullPointerException.java \
944 java/lang/Number.java \
945 java/lang/NumberFormatException.java \
946 java/lang/OutOfMemoryError.java \
947 java/lang/Package.java \
948 java/lang/Process.java \
949 java/lang/Runnable.java \
950 java/lang/Runtime.java \
951 java/lang/RuntimeException.java \
952 java/lang/RuntimePermission.java \
953 java/lang/SecurityException.java \
954 java/lang/SecurityManager.java \
955 java/lang/Short.java \
956 java/lang/StackOverflowError.java \
957 java/lang/String.java \
958 java/lang/StringBuffer.java \
959 java/lang/StringIndexOutOfBoundsException.java \
960 java/lang/System.java \
961 java/lang/Thread.java \
962 java/lang/ThreadDeath.java \
963 java/lang/ThreadGroup.java \
964 java/lang/ThreadLocal.java \
965 java/lang/Throwable.java \
966 java/lang/UnknownError.java \
967 java/lang/UnsatisfiedLinkError.java \
968 java/lang/UnsupportedClassVersionError.java \
969 java/lang/UnsupportedOperationException.java \
970 java/lang/VerifyError.java \
971 java/lang/VirtualMachineError.java \
972 java/lang/VMClassLoader.java \
973 java/lang/VMSecurityManager.java \
974 java/lang/Void.java \
975 java/io/BufferedInputStream.java \
976 java/io/BufferedOutputStream.java \
977 java/io/BufferedReader.java \
978 java/io/BufferedWriter.java \
979 java/io/ByteArrayInputStream.java \
980 java/io/ByteArrayOutputStream.java \
981 java/io/CharArrayReader.java \
982 java/io/CharArrayWriter.java \
983 java/io/CharConversionException.java \
984 java/io/DataInput.java \
985 java/io/DataInputStream.java \
986 java/io/DataOutput.java \
987 java/io/DataOutputStream.java \
988 java/io/EOFException.java \
989 java/io/Externalizable.java \
990 java/io/File.java \
991 java/io/FileDescriptor.java \
992 java/io/FileFilter.java \
993 java/io/FileInputStream.java \
994 java/io/FileNotFoundException.java \
995 java/io/FileOutputStream.java \
996 java/io/FilePermission.java \
997 java/io/FileReader.java \
998 java/io/FileWriter.java \
999 java/io/FilenameFilter.java \
1000 java/io/FilterInputStream.java \
1001 java/io/FilterOutputStream.java \
1002 java/io/FilterReader.java \
1003 java/io/FilterWriter.java \
1004 java/io/IOException.java \
1005 java/io/InputStream.java \
1006 java/io/InputStreamReader.java \
1007 java/io/InterruptedIOException.java \
1008 java/io/InvalidClassException.java \
1009 java/io/InvalidObjectException.java \
1010 java/io/LineNumberInputStream.java \
1011 java/io/LineNumberReader.java \
1012 java/io/NotActiveException.java \
1013 java/io/NotSerializableException.java \
1014 java/io/ObjectInput.java \
1015 java/io/ObjectInputStream.java \
1016 java/io/ObjectInputValidation.java \
1017 java/io/ObjectOutput.java \
1018 java/io/ObjectOutputStream.java \
1019 java/io/ObjectStreamClass.java \
1020 java/io/ObjectStreamConstants.java \
1021 java/io/ObjectStreamException.java \
1022 java/io/ObjectStreamField.java \
1023 java/io/OptionalDataException.java \
1024 java/io/OutputStream.java \
1025 java/io/OutputStreamWriter.java \
1026 java/io/PipedInputStream.java \
1027 java/io/PipedOutputStream.java \
1028 java/io/PipedReader.java \
1029 java/io/PipedWriter.java \
1030 java/io/PrintStream.java \
1031 java/io/PrintWriter.java \
1032 java/io/PushbackInputStream.java \
1033 java/io/PushbackReader.java \
1034 java/io/RandomAccessFile.java \
1035 java/io/Reader.java \
1036 java/io/SequenceInputStream.java \
1037 java/io/Serializable.java \
1038 java/io/SerializablePermission.java \
1039 java/io/StreamCorruptedException.java \
1040 java/io/StreamTokenizer.java \
1041 java/io/StringBufferInputStream.java \
1042 java/io/StringReader.java \
1043 java/io/StringWriter.java \
1044 java/io/SyncFailedException.java \
1045 java/io/UTFDataFormatException.java \
1046 java/io/UnsupportedEncodingException.java \
1047 java/io/WriteAbortedException.java \
1048 java/io/Writer.java \
1049 java/util/AbstractCollection.java \
1050 java/util/AbstractList.java \
1051 java/util/AbstractMap.java \
1052 java/util/AbstractSequentialList.java \
1053 java/util/AbstractSet.java \
1054 java/util/ArrayList.java \
1055 java/util/Arrays.java \
1056 java/util/BasicMapEntry.java \
1057 java/util/BitSet.java \
1058 java/util/Calendar.java \
1059 java/util/Collection.java \
1060 java/util/Collections.java \
1061 java/util/Comparator.java \
1062 java/util/ConcurrentModificationException.java \
1063 java/util/Date.java \
1064 java/util/Dictionary.java \
1065 java/util/EmptyStackException.java \
1066 java/util/Enumeration.java \
1067 java/util/EventListener.java \
1068 java/util/EventObject.java \
1069 java/util/GregorianCalendar.java \
1070 java/util/HashMap.java \
1071 java/util/HashSet.java \
1072 java/util/Hashtable.java \
1073 java/util/IdentityHashMap.java \
1074 java/util/Iterator.java \
1075 java/util/LinkedList.java \
1076 java/util/List.java \
1077 java/util/ListIterator.java \
1078 java/util/ListResourceBundle.java \
1079 java/util/Locale.java \
1080 java/util/Map.java \
1081 java/util/MissingResourceException.java \
1082 java/util/NoSuchElementException.java \
1083 java/util/Observable.java \
1084 java/util/Observer.java \
1085 java/util/Properties.java \
1086 java/util/PropertyPermission.java \
1087 java/util/PropertyResourceBundle.java \
1088 java/util/Random.java \
1089 java/util/ResourceBundle.java \
1090 java/util/Set.java \
1091 java/util/SimpleTimeZone.java \
1092 java/util/SortedMap.java \
1093 java/util/SortedSet.java \
1094 java/util/Stack.java \
1095 java/util/StringTokenizer.java \
1096 java/util/TimeZone.java \
1097 java/util/Timer.java \
1098 java/util/TimerTask.java \
1099 java/util/TreeMap.java \
1100 java/util/TreeSet.java \
1101 java/util/TooManyListenersException.java \
1102 java/util/Vector.java \
1103 java/util/WeakHashMap.java
1104
1105 ## List of all .java files to be compiled.  Please keep this list
1106 ## alphabetical.  Please put files from java/lang, java/io, and java/util
1107 ## into core_java_source_files. Please put files from gnu/gcj/convert 
1108 ## into convert_source_files and files from java/awt into
1109 ## awt_java_source_files.  If the .java file has a hand-maintained
1110 ## header, please list it in special_java_source_files.
1111 ordinary_java_source_files = $(core_java_source_files) \
1112 gnu/gcj/RawData.java \
1113 gnu/gcj/io/DefaultMimeTypes.java \
1114 gnu/gcj/io/MimeTypes.java \
1115 gnu/gcj/io/SimpleSHSStream.java \
1116 gnu/gcj/math/MPN.java \
1117 gnu/gcj/protocol/file/Connection.java \
1118 gnu/gcj/protocol/file/Handler.java \
1119 gnu/gcj/protocol/http/Connection.java \
1120 gnu/gcj/protocol/http/Handler.java \
1121 gnu/gcj/protocol/jar/Connection.java \
1122 gnu/gcj/protocol/jar/Handler.java \
1123 gnu/gcj/runtime/FileDeleter.java \
1124 gnu/gcj/runtime/FirstThread.java \
1125 gnu/gcj/runtime/VMClassLoader.java \
1126 gnu/gcj/text/BaseBreakIterator.java \
1127 gnu/gcj/text/CharacterBreakIterator.java \
1128 gnu/gcj/text/LineBreakIterator.java \
1129 gnu/gcj/text/LocaleData.java    \
1130 gnu/gcj/text/LocaleData_en.java \
1131 gnu/gcj/text/LocaleData_en_US.java \
1132 gnu/gcj/text/SentenceBreakIterator.java \
1133 gnu/gcj/text/WordBreakIterator.java \
1134 gnu/java/io/ClassLoaderObjectInputStream.java \
1135 gnu/java/io/NullOutputStream.java \
1136 gnu/java/io/ObjectIdentityWrapper.java \
1137 gnu/java/lang/ArrayHelper.java \
1138 gnu/java/lang/ClassHelper.java \
1139 gnu/java/lang/reflect/TypeSignature.java \
1140 gnu/java/locale/Calendar.java \
1141 gnu/java/locale/Calendar_de.java \
1142 gnu/java/locale/Calendar_en.java \
1143 gnu/java/locale/Calendar_nl.java \
1144 gnu/java/security/provider/DefaultPolicy.java \
1145 gnu/java/security/provider/Gnu.java \
1146 gnu/java/security/provider/SHA.java \
1147 gnu/java/security/provider/SHA1PRNG.java \
1148 gnu/java/util/DoubleEnumeration.java \
1149 java/lang/ref/PhantomReference.java \
1150 java/lang/ref/Reference.java \
1151 java/lang/ref/ReferenceQueue.java \
1152 java/lang/ref/SoftReference.java \
1153 java/lang/ref/WeakReference.java \
1154 java/lang/reflect/AccessibleObject.java \
1155 java/lang/reflect/Array.java \
1156 java/lang/reflect/Constructor.java \
1157 java/lang/reflect/Field.java \
1158 java/lang/reflect/InvocationTargetException.java \
1159 java/lang/reflect/Member.java \
1160 java/lang/reflect/Method.java \
1161 java/lang/reflect/Modifier.java \
1162 java/lang/reflect/ReflectPermission.java \
1163 java/math/BigDecimal.java \
1164 java/math/BigInteger.java \
1165 java/net/BindException.java \
1166 java/net/ConnectException.java \
1167 java/net/ContentHandler.java \
1168 java/net/ContentHandlerFactory.java \
1169 java/net/DatagramPacket.java \
1170 java/net/DatagramSocket.java \
1171 java/net/DatagramSocketImpl.java \
1172 java/net/FileNameMap.java \
1173 java/net/HttpURLConnection.java \
1174 java/net/InetAddress.java \
1175 java/net/JarURLConnection.java \
1176 java/net/MalformedURLException.java \
1177 java/net/MulticastSocket.java \
1178 java/net/NetPermission.java \
1179 java/net/NoRouteToHostException.java \
1180 java/net/PlainDatagramSocketImpl.java \
1181 java/net/PlainSocketImpl.java \
1182 java/net/ProtocolException.java \
1183 java/net/ServerSocket.java \
1184 java/net/Socket.java \
1185 java/net/SocketException.java \
1186 java/net/SocketImpl.java \
1187 java/net/SocketImplFactory.java \
1188 java/net/SocketOptions.java \
1189 java/net/SocketPermission.java \
1190 java/net/URL.java \
1191 java/net/URLClassLoader.java \
1192 java/net/URLConnection.java \
1193 java/net/URLDecoder.java \
1194 java/net/URLEncoder.java \
1195 java/net/URLStreamHandler.java \
1196 java/net/URLStreamHandlerFactory.java \
1197 java/net/UnknownHostException.java \
1198 java/net/UnknownServiceException.java \
1199 java/security/AccessControlContext.java \
1200 java/security/AccessControlException.java \
1201 java/security/AccessController.java \
1202 java/security/AlgorithmParameterGenerator.java \
1203 java/security/AlgorithmParameters.java \
1204 java/security/AlgorithmParameterGeneratorSpi.java \
1205 java/security/AlgorithmParametersSpi.java \
1206 java/security/AllPermission.java \
1207 java/security/BasicPermission.java \
1208 java/security/Certificate.java \
1209 java/security/CodeSource.java \
1210 java/security/DigestException.java \
1211 java/security/DigestOutputStream.java \
1212 java/security/DummyKeyPairGenerator.java \
1213 java/security/DummySignature.java \
1214 java/security/DigestInputStream.java \
1215 java/security/DomainCombiner.java \
1216 java/security/DummyMessageDigest.java \
1217 java/security/GeneralSecurityException.java \
1218 java/security/Guard.java \
1219 java/security/GuardedObject.java \
1220 java/security/Identity.java \
1221 java/security/IdentityScope.java \
1222 java/security/InvalidAlgorithmParameterException.java \
1223 java/security/InvalidKeyException.java \
1224 java/security/InvalidParameterException.java \
1225 java/security/Key.java \
1226 java/security/KeyFactorySpi.java \
1227 java/security/KeyPairGenerator.java \
1228 java/security/KeyStoreException.java \
1229 java/security/KeyException.java \
1230 java/security/KeyManagementException.java \
1231 java/security/KeyPairGeneratorSpi.java \
1232 java/security/KeyStoreSpi.java \
1233 java/security/KeyFactory.java \
1234 java/security/KeyPair.java \
1235 java/security/KeyStore.java \
1236 java/security/MessageDigest.java \
1237 java/security/MessageDigestSpi.java \
1238 java/security/NoSuchAlgorithmException.java \
1239 java/security/NoSuchProviderException.java \
1240 java/security/Permission.java \
1241 java/security/Principal.java \
1242 java/security/PrivilegedExceptionAction.java \
1243 java/security/PublicKey.java \
1244 java/security/PermissionCollection.java \
1245 java/security/PrivateKey.java \
1246 java/security/ProtectionDomain.java \
1247 java/security/Permissions.java \
1248 java/security/PrivilegedAction.java \
1249 java/security/Provider.java \
1250 java/security/Policy.java \
1251 java/security/PrivilegedActionException.java \
1252 java/security/ProviderException.java \
1253 java/security/SecureClassLoader.java \
1254 java/security/SecureRandomSpi.java \
1255 java/security/SecurityPermission.java \
1256 java/security/SignatureException.java \
1257 java/security/SignedObject.java \
1258 java/security/SecureRandom.java \
1259 java/security/Security.java \
1260 java/security/Signature.java \
1261 java/security/SignatureSpi.java \
1262 java/security/Signer.java \
1263 java/security/UnrecoverableKeyException.java \
1264 java/security/UnresolvedPermission.java \
1265 java/security/acl/Acl.java \
1266 java/security/acl/AclNotFoundException.java \
1267 java/security/acl/LastOwnerException.java \
1268 java/security/acl/Owner.java \
1269 java/security/acl/AclEntry.java \
1270 java/security/acl/Group.java \
1271 java/security/acl/NotOwnerException.java \
1272 java/security/acl/Permission.java \
1273 java/security/cert/CRL.java \
1274 java/security/cert/CRLException.java \
1275 java/security/cert/Certificate.java \
1276 java/security/cert/CertificateEncodingException.java \
1277 java/security/cert/CertificateException.java \
1278 java/security/cert/CertificateExpiredException.java \
1279 java/security/cert/CertificateFactory.java \
1280 java/security/cert/CertificateFactorySpi.java \
1281 java/security/cert/CertificateNotYetValidException.java \
1282 java/security/cert/CertificateParsingException.java \
1283 java/security/cert/X509CRL.java \
1284 java/security/cert/X509CRLEntry.java \
1285 java/security/cert/X509Certificate.java \
1286 java/security/cert/X509Extension.java \
1287 java/security/interfaces/DSAKey.java \
1288 java/security/interfaces/DSAKeyPairGenerator.java \
1289 java/security/interfaces/DSAParams.java \
1290 java/security/interfaces/DSAPrivateKey.java \
1291 java/security/interfaces/DSAPublicKey.java \
1292 java/security/interfaces/RSAKey.java \
1293 java/security/interfaces/RSAPrivateCrtKey.java \
1294 java/security/interfaces/RSAPrivateKey.java \
1295 java/security/interfaces/RSAPublicKey.java \
1296 java/security/spec/AlgorithmParameterSpec.java \
1297 java/security/spec/DSAParameterSpec.java \
1298 java/security/spec/DSAPrivateKeySpec.java \
1299 java/security/spec/DSAPublicKeySpec.java \
1300 java/security/spec/EncodedKeySpec.java \
1301 java/security/spec/InvalidKeySpecException.java \
1302 java/security/spec/InvalidParameterSpecException.java \
1303 java/security/spec/KeySpec.java \
1304 java/security/spec/PKCS8EncodedKeySpec.java \
1305 java/security/spec/RSAKeyGenParameterSpec.java \
1306 java/security/spec/RSAPrivateCrtKeySpec.java \
1307 java/security/spec/RSAPrivateKeySpec.java \
1308 java/security/spec/RSAPublicKeySpec.java \
1309 java/security/spec/X509EncodedKeySpec.java \
1310 java/sql/Array.java \
1311 java/sql/BatchUpdateException.java \
1312 java/sql/Blob.java \
1313 java/sql/CallableStatement.java \
1314 java/sql/Clob.java \
1315 java/sql/Connection.java \
1316 java/sql/DataTruncation.java \
1317 java/sql/DatabaseMetaData.java \
1318 java/sql/Date.java \
1319 java/sql/Driver.java \
1320 java/sql/DriverManager.java \
1321 java/sql/DriverPropertyInfo.java \
1322 java/sql/PreparedStatement.java \
1323 java/sql/Ref.java \
1324 java/sql/ResultSet.java \
1325 java/sql/ResultSetMetaData.java \
1326 java/sql/SQLData.java \
1327 java/sql/SQLException.java \
1328 java/sql/SQLInput.java \
1329 java/sql/SQLOutput.java \
1330 java/sql/SQLWarning.java \
1331 java/sql/Statement.java \
1332 java/sql/Struct.java    \
1333 java/sql/Time.java \
1334 java/sql/Timestamp.java \
1335 java/sql/Types.java \
1336 java/text/BreakIterator.java \
1337 java/text/CharacterIterator.java \
1338 java/text/ChoiceFormat.java \
1339 java/text/CollationElementIterator.java \
1340 java/text/CollationKey.java \
1341 java/text/Collator.java \
1342 java/text/DateFormat.java \
1343 java/text/DateFormatSymbols.java \
1344 java/text/DecimalFormat.java \
1345 java/text/DecimalFormatSymbols.java \
1346 java/text/FieldPosition.java \
1347 java/text/Format.java \
1348 java/text/MessageFormat.java \
1349 java/text/NumberFormat.java \
1350 java/text/ParseException.java \
1351 java/text/ParsePosition.java \
1352 java/text/RuleBasedCollator.java \
1353 java/text/SimpleDateFormat.java \
1354 java/text/StringCharacterIterator.java \
1355 java/util/jar/Attributes.java \
1356 java/util/jar/JarEntry.java \
1357 java/util/jar/JarException.java \
1358 java/util/jar/JarFile.java \
1359 java/util/jar/JarInputStream.java \
1360 java/util/jar/JarOutputStream.java \
1361 java/util/jar/Manifest.java \
1362 java/util/zip/Adler32.java \
1363 java/util/zip/CRC32.java \
1364 java/util/zip/CheckedInputStream.java \
1365 java/util/zip/CheckedOutputStream.java \
1366 java/util/zip/Checksum.java \
1367 java/util/zip/DataFormatException.java \
1368 java/util/zip/Deflater.java \
1369 java/util/zip/DeflaterOutputStream.java \
1370 java/util/zip/GZIPInputStream.java \
1371 java/util/zip/GZIPOutputStream.java \
1372 java/util/zip/Inflater.java \
1373 java/util/zip/InflaterInputStream.java \
1374 java/util/zip/ZipConstants.java \
1375 java/util/zip/ZipEntry.java \
1376 java/util/zip/ZipException.java \
1377 java/util/zip/ZipFile.java \
1378 java/util/zip/ZipInputStream.java \
1379 java/util/zip/ZipOutputStream.java \
1380 org/w3c/dom/Attr.java \
1381 org/w3c/dom/CDATASection.java \
1382 org/w3c/dom/CharacterData.java \
1383 org/w3c/dom/Comment.java \
1384 org/w3c/dom/DOMException.java \
1385 org/w3c/dom/DOMImplementation.java \
1386 org/w3c/dom/Document.java \
1387 org/w3c/dom/DocumentFragment.java \
1388 org/w3c/dom/DocumentType.java \
1389 org/w3c/dom/Element.java \
1390 org/w3c/dom/Entity.java \
1391 org/w3c/dom/EntityReference.java \
1392 org/w3c/dom/NamedNodeMap.java \
1393 org/w3c/dom/Node.java \
1394 org/w3c/dom/NodeList.java \
1395 org/w3c/dom/Notation.java \
1396 org/w3c/dom/ProcessingInstruction.java \
1397 org/w3c/dom/Text.java \
1398 org/w3c/dom/ranges/DocumentRange.java \
1399 org/w3c/dom/ranges/Range.java \
1400 org/w3c/dom/ranges/RangeException.java \
1401 org/w3c/dom/traversal/DocumentTraversal.java \
1402 org/w3c/dom/traversal/NodeFilter.java \
1403 org/w3c/dom/traversal/NodeIterator.java \
1404 org/w3c/dom/traversal/TreeWalker.java \
1405 org/xml/sax/ext/DeclHandler.java \
1406 org/xml/sax/ext/LexicalHandler.java \
1407 org/xml/sax/helpers/AttributeListImpl.java \
1408 org/xml/sax/helpers/AttributesImpl.java \
1409 org/xml/sax/helpers/DefaultHandler.java \
1410 org/xml/sax/helpers/LocatorImpl.java \
1411 org/xml/sax/helpers/NamespaceSupport.java \
1412 org/xml/sax/helpers/ParserAdapter.java \
1413 org/xml/sax/helpers/ParserFactory.java \
1414 org/xml/sax/helpers/XMLFilterImpl.java \
1415 org/xml/sax/helpers/XMLReaderAdapter.java \
1416 org/xml/sax/helpers/XMLReaderFactory.java \
1417 org/xml/sax/AttributeList.java \
1418 org/xml/sax/Attributes.java \
1419 org/xml/sax/ContentHandler.java \
1420 org/xml/sax/DTDHandler.java \
1421 org/xml/sax/DocumentHandler.java \
1422 org/xml/sax/EntityResolver.java \
1423 org/xml/sax/ErrorHandler.java \
1424 org/xml/sax/HandlerBase.java \
1425 org/xml/sax/InputSource.java \
1426 org/xml/sax/Locator.java \
1427 org/xml/sax/Parser.java \
1428 org/xml/sax/SAXException.java \
1429 org/xml/sax/SAXNotRecognizedException.java \
1430 org/xml/sax/SAXNotSupportedException.java \
1431 org/xml/sax/SAXParseException.java \
1432 org/xml/sax/XMLFilter.java \
1433 org/xml/sax/XMLReader.java \
1434 $(rmi_java_source_files) \
1435 $(awt_java_source_files) \
1436 $(convert_source_files)
1437
1438
1439 java_source_files = $(special_java_source_files) $(ordinary_java_source_files)
1440
1441 ## Math library: C, not C++
1442 c_source_files = \
1443   java/lang/dtoa.c        java/lang/k_rem_pio2.c  java/lang/s_tan.c       \
1444   java/lang/e_acos.c      java/lang/k_sin.c       java/lang/strtod.c      \
1445   java/lang/e_asin.c      java/lang/k_tan.c       java/lang/w_acos.c      \
1446   java/lang/e_atan2.c     java/lang/mprec.c       java/lang/w_asin.c      \
1447   java/lang/e_exp.c       java/lang/s_atan.c      java/lang/w_atan2.c     \
1448   java/lang/e_fmod.c      java/lang/s_ceil.c      java/lang/w_exp.c       \
1449   java/lang/e_log.c       java/lang/s_copysign.c  java/lang/w_fmod.c      \
1450   java/lang/e_pow.c       java/lang/s_cos.c       java/lang/w_log.c       \
1451   java/lang/e_rem_pio2.c  java/lang/s_fabs.c      java/lang/w_pow.c       \
1452   java/lang/e_remainder.c java/lang/s_floor.c     java/lang/w_remainder.c \
1453   java/lang/e_scalb.c     java/lang/s_rint.c      java/lang/w_sqrt.c      \
1454   java/lang/e_sqrt.c      java/lang/s_scalbn.c    java/lang/sf_rint.c     \
1455   java/lang/k_cos.c       java/lang/s_sin.c       java/lang/sf_fabs.c
1456
1457 #java/awt/natToolkit.cc
1458
1459 ## This lists all the C++ source files in subdirectories.
1460 nat_source_files = \
1461 gnu/gcj/convert/JIS0208_to_Unicode.cc \
1462 gnu/gcj/convert/JIS0212_to_Unicode.cc \
1463 gnu/gcj/convert/Unicode_to_JIS.cc \
1464 gnu/gcj/convert/natIconv.cc \
1465 gnu/gcj/convert/natInput_EUCJIS.cc \
1466 gnu/gcj/convert/natInput_SJIS.cc \
1467 gnu/gcj/convert/natOutput_EUCJIS.cc \
1468 gnu/gcj/convert/natOutput_SJIS.cc \
1469 gnu/gcj/io/natSimpleSHSStream.cc \
1470 gnu/gcj/io/shs.cc \
1471 gnu/gcj/runtime/natFirstThread.cc \
1472 java/io/natFile.cc \
1473 java/io/natFileDescriptor.cc \
1474 java/io/natObjectInputStream.cc \
1475 java/io/natObjectOutputStream.cc \
1476 java/lang/natCharacter.cc \
1477 java/lang/natClass.cc \
1478 java/lang/natClassLoader.cc \
1479 java/lang/natConcreteProcess.cc \
1480 java/lang/natDouble.cc \
1481 java/lang/natFloat.cc \
1482 java/lang/natMath.cc \
1483 java/lang/natObject.cc \
1484 java/lang/natRuntime.cc \
1485 java/lang/natString.cc \
1486 java/lang/natStringBuffer.cc \
1487 java/lang/natSystem.cc \
1488 java/lang/natThread.cc \
1489 java/lang/natThrowable.cc \
1490 java/lang/reflect/natArray.cc \
1491 java/lang/reflect/natConstructor.cc \
1492 java/lang/reflect/natField.cc \
1493 java/lang/reflect/natMethod.cc \
1494 java/net/natInetAddress.cc \
1495 java/net/natPlainDatagramSocketImpl.cc \
1496 java/net/natPlainSocketImpl.cc \
1497 java/text/natCollator.cc \
1498 java/util/natResourceBundle.cc \
1499 java/util/zip/natDeflater.cc \
1500 java/util/zip/natInflater.cc
1501
1502 x_java_source_files = \
1503 gnu/gcj/xlib/Clip.java \
1504 gnu/gcj/xlib/Colormap.java \
1505 gnu/gcj/xlib/Display.java \
1506 gnu/gcj/xlib/Drawable.java \
1507 gnu/gcj/xlib/Font.java \
1508 gnu/gcj/xlib/GC.java \
1509 gnu/gcj/xlib/Pixmap.java \
1510 gnu/gcj/xlib/Screen.java \
1511 gnu/gcj/xlib/Visual.java \
1512 gnu/gcj/xlib/WMSizeHints.java \
1513 gnu/gcj/xlib/Window.java \
1514 gnu/gcj/xlib/WindowAttributes.java \
1515 gnu/gcj/xlib/XAnyEvent.java \
1516 gnu/gcj/xlib/XButtonEvent.java \
1517 gnu/gcj/xlib/XColor.java \
1518 gnu/gcj/xlib/XConfigureEvent.java \
1519 gnu/gcj/xlib/XConnectException.java \
1520 gnu/gcj/xlib/XEvent.java \
1521 gnu/gcj/xlib/XException.java \
1522 gnu/gcj/xlib/XExposeEvent.java \
1523 gnu/gcj/xlib/XID.java \
1524 gnu/gcj/xlib/XImage.java \
1525 gnu/gcj/xlib/XUnmapEvent.java \
1526 gnu/awt/xlib/XCanvasPeer.java \
1527 gnu/awt/xlib/XEventLoop.java \
1528 gnu/awt/xlib/XEventQueue.java \
1529 gnu/awt/xlib/XFontMetrics.java \
1530 gnu/awt/xlib/XFramePeer.java \
1531 gnu/awt/xlib/XGraphics.java \
1532 gnu/awt/xlib/XGraphicsConfiguration.java \
1533 gnu/awt/xlib/XPanelPeer.java \
1534 gnu/awt/xlib/XToolkit.java
1535
1536 x_nat_source_files = \
1537 gnu/gcj/xlib/natClip.cc \
1538 gnu/gcj/xlib/natColormap.cc \
1539 gnu/gcj/xlib/natDisplay.cc \
1540 gnu/gcj/xlib/natDrawable.cc \
1541 gnu/gcj/xlib/natFont.cc \
1542 gnu/gcj/xlib/natGC.cc \
1543 gnu/gcj/xlib/natPixmap.cc \
1544 gnu/gcj/xlib/natScreen.cc \
1545 gnu/gcj/xlib/natVisual.cc \
1546 gnu/gcj/xlib/natWMSizeHints.cc \
1547 gnu/gcj/xlib/natWindow.cc \
1548 gnu/gcj/xlib/natWindowAttributes.cc \
1549 gnu/gcj/xlib/natXAnyEvent.cc \
1550 gnu/gcj/xlib/natXButtonEvent.cc \
1551 gnu/gcj/xlib/natXColor.cc \
1552 gnu/gcj/xlib/natXConfigureEvent.cc \
1553 gnu/gcj/xlib/natXException.cc \
1554 gnu/gcj/xlib/natXExposeEvent.cc \
1555 gnu/gcj/xlib/natXImage.cc \
1556 gnu/gcj/xlib/natXUnmapEvent.cc
1557
1558 ## ################################################################
1559
1560 ##
1561 ## javadoc to texinfo conversion
1562 ##
1563
1564 TexinfoDoclet.class: $(srcdir)/scripts/TexinfoDoclet.java
1565         javac -d . $(srcdir)/scripts/TexinfoDoclet.java
1566
1567 texinfo: TexinfoDoclet.class
1568         langsource=`ls $(srcdir)/java/lang/*.java`; \
1569         lang=`echo $$langsource | sed -e 's/[^ ].*EcosProcess.java//g' | sed -e 's/[^ ].*PosixProcess.java//g'`; \
1570         javadoc -outfile $(srcdir)/doc/java-lang.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $$lang
1571         javadoc -outfile $(srcdir)/doc/java-lang-ref.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/ref/*.java
1572         javadoc -outfile $(srcdir)/doc/java-lang-reflect.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/lang/reflect/*.java
1573         javadoc -outfile $(srcdir)/doc/java-applet.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/applet/*.java
1574         javadoc -outfile $(srcdir)/doc/java-awt.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/*.java
1575         javadoc -outfile $(srcdir)/doc/java-awt-color.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/color/*.java
1576         javadoc -outfile $(srcdir)/doc/java-awt-datatransfer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/datatransfer/*.java
1577         javadoc -outfile $(srcdir)/doc/java-awt-event.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/event/*.java
1578         javadoc -outfile $(srcdir)/doc/java-awt-geom.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/geom/*.java
1579         javadoc -outfile $(srcdir)/doc/java-awt-image.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/image/*.java
1580         javadoc -outfile $(srcdir)/doc/java-awt-peer.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/awt/peer/*.java
1581         javadoc -outfile $(srcdir)/doc/java-beans.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/*.java
1582         javadoc -outfile $(srcdir)/doc/java-beans-beancontext.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/beans/beancontext/*.java
1583         javadoc -outfile $(srcdir)/doc/java-io.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/io/*.java
1584         javadoc -outfile $(srcdir)/doc/java-math.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/math/*.java
1585         javadoc -outfile $(srcdir)/doc/java-net.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/net/*.java
1586         javadoc -outfile $(srcdir)/doc/java-security.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/*.java
1587         javadoc -outfile $(srcdir)/doc/java-security-cert.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security-cert/*.java
1588         javadoc -outfile $(srcdir)/doc/java-security-spec.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/*.java
1589         javadoc -outfile $(srcdir)/doc/java-security-interfaces.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/security/spec/interfaces/*.java
1590         javadoc -outfile $(srcdir)/doc/java-sql.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/sql/*.java
1591         javadoc -outfile $(srcdir)/doc/java-text.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/text/*.java
1592         javadoc -outfile $(srcdir)/doc/java-util.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/*.java
1593         javadoc -outfile $(srcdir)/doc/java-util-jar.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/jar/*.java
1594         javadoc -outfile $(srcdir)/doc/java-util-zip.texi -doclet TexinfoDoclet -sourcepath .:$(srcdir) $(srcdir)/java/util/zip/*.java
1595
1596 ## ################################################################
1597
1598 ##
1599 ## Dependency tracking madness.
1600 ##
1601
1602 ## FIXME: depends on GNU make.
1603 -include deps.mk
1604
1605 ## This is an evil hack to work around an automake limitation.  We
1606 ## need to ensure that the built headers are built before we try to
1607 ## compile the C++ sources, but we can't make the .o files depend on
1608 ## the headers, because in that case we'll force a complete rebuild of
1609 ## the C++ code whenever any .java file is touched.
1610 all-recursive: $(nat_headers) $(x_nat_headers)
1611
1612 ## ################################################################
1613
1614 ##
1615 ## This section is for make and multilib madness.
1616 ##
1617
1618 # Work around what appears to be a GNU make bug handling MAKEFLAGS
1619 # values defined in terms of make variables, as is the case for CC and
1620 # friends when we are called from the top level Makefile.
1621 AM_MAKEFLAGS = \
1622         "AR_FLAGS=$(AR_FLAGS)" \
1623         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
1624         "CFLAGS=$(CFLAGS)" \
1625         "CXXFLAGS=$(CXXFLAGS)" \
1626         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
1627         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
1628         "INSTALL=$(INSTALL)" \
1629         "INSTALL_DATA=$(INSTALL_DATA)" \
1630         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
1631         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
1632         "JC1FLAGS=$(JC1FLAGS)" \
1633         "LDFLAGS=$(LDFLAGS)" \
1634         "LIBCFLAGS=$(LIBCFLAGS)" \
1635         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
1636         "MAKE=$(MAKE)" \
1637         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
1638         "PICFLAG=$(PICFLAG)" \
1639         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
1640         "SHELL=$(SHELL)" \
1641         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
1642         "exec_prefix=$(exec_prefix)" \
1643         "infodir=$(infodir)" \
1644         "libdir=$(libdir)" \
1645         "prefix=$(prefix)" \
1646         "AR=$(AR)" \
1647         "AS=$(AS)" \
1648         "CC=$(CC)" \
1649         "CXX=$(CXX)" \
1650         "LD=$(LD)" \
1651         "LIBCFLAGS=$(LIBCFLAGS)" \
1652         "NM=$(NM)" \
1653         "PICFLAG=$(PICFLAG)" \
1654         "RANLIB=$(RANLIB)" \
1655         "DESTDIR=$(DESTDIR)"
1656
1657 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
1658
1659 MAKEOVERRIDES=
1660
1661 # Multilib support variables.
1662 MULTISRCTOP =
1663 MULTIBUILDTOP =
1664 MULTIDIRS =
1665 MULTISUBDIR =
1666 MULTIDO = true
1667 MULTICLEAN = true
1668
1669 # Multilib support.
1670 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
1671         maintainer-clean-multi
1672
1673 all-recursive: all-multi
1674 install-recursive: install-multi
1675 mostlyclean-recursive: mostlyclean-multi
1676 clean-recursive: clean-multi
1677 distclean-recursive: distclean-multi
1678 maintainer-clean-recursive: maintainer-clean-multi
1679
1680 all-multi:
1681         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
1682 install-multi:
1683         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
1684 mostlyclean-multi:
1685         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
1686 clean-multi:
1687         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
1688 distclean-multi:
1689         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
1690 maintainer-clean-multi:
1691         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean