1 ## Process this file with automake to produce Makefile.in.
3 AUTOMAKE_OPTIONS = foreign no-installinfo
6 SUBDIRS = testsuite gcj include
11 ## ################################################################
14 ## What gets installed, and where.
17 ## Install a library built with a cross compiler in tooldir, not
20 toolexeclibdir = $(libdir)$(MULTISUBDIR)
22 toolexecdir = $(exec_prefix)/$(target_alias)
23 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
26 toolexeclib_LTLIBRARIES = libgcj.la
27 toolexeclib_DATA = libgcj.spec
28 data_DATA = libgcj.zip
31 toolexeclib_LIBRARIES = libgcjdata.a
32 libgcjdata_a_SOURCES = libgcjdata.c
35 ## For now, only on native systems. FIXME.
37 bin_PROGRAMS = jv-convert gij
40 ## ################################################################
43 ## Compilers and compilation flags.
46 ## CANADIAN is a misnomer. Really we check to see if we must pick up
47 ## the tools from the path.
50 ## In this case, gcj is found outside the build tree. However, zip is
51 ## found in the build tree.
53 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
55 GCJ = $(target_alias)-gcj
60 ## JAVAC is set to `$(GCJ) -C'. However, JAVAC is run from the srcdir
61 ## (due to problems running it in builddir). In this case the obvious
62 ## definition of GCJ won't work; instead we resort to this ugly
63 ## definition that gives us absolute paths.
64 expanded = `cd $(MULTIBUILDTOP)../$(COMPPATH)/gcc && pwd`
65 GCJ = $(expanded)/gcj$(EXEEXT) -B$(expanded)/
66 GCJH = $(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
67 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
70 GCJCOMPILE = CLASSPATH=$(here) $(LIBTOOL) --mode=compile $(GCJ) -fassume-compiled $(JC1FLAGS) -c
74 EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@
77 AM_CXXFLAGS = -fno-rtti -fvtable-thunks @LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ \
80 AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
82 AM_CFLAGS = @LIBGCJ_CFLAGS@
85 JCFLAGS = -g -L$(here)
86 JC1FLAGS = -g -L$(here) @LIBGCJ_JAVAFLAGS@
88 LIBFFIINCS = -I$(top_srcdir)/../libffi/include -I../libffi/include
90 INCLUDES = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
91 $(GCINCS) $(THREADINCS) \
92 $(EH_COMMON_INCLUDE) $(ZINCS) $(LIBFFIINCS)
95 ## ################################################################
98 ## How to build libgcj.a and libgcj.zip
101 ## Objects from C++ sources in subdirs.
102 nat_files = $(nat_source_files:.cc=.lo)
103 ## Objects from C sources in subdirs.
104 c_files = $(c_source_files:.c=.lo)
105 ## Objects from Java sources in subdirs.
106 javao_files = $(java_source_files:.java=.lo) \
107 $(built_java_source_files:.java=.lo)
109 ## Extract the libffi object file names.
110 libffi_files = `$(AR) t ../libffi/.libs/libffi.a 2>/dev/null | sed 's/\.o/\.lo/g' | sed 's/^/..\/libffi\//g'`
112 libgcj_la_SOURCES = prims.cc jni.cc exception.cc \
113 resolve.cc defineclass.cc interpret.cc
114 EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
115 $(c_source_files) $(java_source_files) $(built_java_source_files)
116 libgcj_la_DEPENDENCIES = libgcj.zip $(javao_files) $(nat_files) \
117 $(c_files) $(GCOBJS) $(THREADOBJS)
118 libgcj_la_LIBADD = $(javao_files) $(nat_files) $(c_files) $(GCOBJS) \
119 $(THREADOBJS) $(libffi_files)
120 libgcj_la_LDFLAGS = -rpath $(toolexeclibdir) \
121 ## The mysterious backslash is consumed by make.
122 -version-info `grep -v '^\#' $(srcdir)/libtool-version`
124 ## Make the .class files depend on the .zip file. This seems
125 ## backwards, but is right. This doesn't catch all the .class files,
126 ## but that is ok, because the ones it fails to pick up are defined in
127 ## a .java file with some other class which is caught. Note that we
128 ## only want to create headers for those files which do not have
129 ## hand-maintained headers.
130 $(java_source_files:.java=.class): libgcj.zip
132 ## FIXME: this isn't really correct.
133 $(built_java_source_files:.java=.class): $(built_java_source_files)
134 ## This little nastiness is here so that the backquoted stuff in the
135 ## GCJ definition can be correctly expanded, if required.
137 $$javac $(JCFLAGS) -classpath $(here):`cd $(srcdir) && /bin/pwd` \
140 ## We have the zip file depend on the java sources and not the class
141 ## files, because we don't know the names of all the class files.
142 ## FIXME: this method fails in a peculiar case: if libgcj.zip is
143 ## up-to-date, and foo.class is removed, and bar.java is touched, then
144 ## `make libgcj.zip' will not rebuilt foo.class. That's because
145 ## libgcj.zip is not out-of-date with respect to foo.java.
146 libgcj.zip: $(java_source_files)
147 ## FIXME: this ought to depend on built_java_source_files, but right
148 ## now it can't. Ugly.
149 $(MAKE) $(built_java_source_files:.java=.class)
150 ## This little nastiness is here so that the backquoted stuff in the
151 ## GCJ definition can be correctly expanded, if required.
152 javac="$(JAVAC)"; cd $(srcdir); \
153 $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) \
154 $(subst $(srcdir)/,,$?)
156 ## Note that we explicitly want to include directory information.
157 $(ZIP) -r libgcj java gnu -n .class -i '*.class' -i '*/'
159 MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files)
160 CLEANFILES = libgcj.zip
163 ## We just remove every .class file that was created.
164 find . -name '*.class' -print | xargs rm -f
166 SUFFIXES = .class .java .h
169 $(GCJCOMPILE) -o $@ $<
172 $(GCJCOMPILE) -o $@ $<
174 ## This is GNU make specific. For the .o files in subdirs, use a
175 ## special rule. The standard automake rule can't be overridden (this
176 ## is a bug in automake), and it also won't put the .o files into
178 $(nat_files): %.lo: %.cc
179 $(LTCXXCOMPILE) -c -o $@ $<
181 $(nat_files) $(GCOBJS) $(THREADOBJS) $(libgcj_la_OBJECTS): \
182 include/config.h include/java-signal.h $(nat_headers)
185 $(c_files): %.lo: %.c
186 $(LTCOMPILE) -c -o $@ $<
188 $(c_files): java/lang/fdlibm.h java/lang/ieeefp.h java/lang/mprec.h
191 $(javao_files): %.lo: %.java
192 $(GCJCOMPILE) -o $@ $<
194 ## ################################################################
197 ## How to build header files.
201 ## FIXME: GNU make specific.
202 $(GCJH) -classpath $(top_builddir) $(basename $<)
204 ## Header files used when compiling some of the nat* files.
205 nat_headers = $(ordinary_java_source_files:.java=.h) \
206 $(built_java_source_files:.java=.h)
208 $(nat_headers): libgcj.zip
210 java/lang/ClassLoader.h: java/lang/ClassLoader.class libgcj.zip
211 $(GCJH) -classpath $(top_builddir) \
212 -friend 'jclass _Jv_FindClass (_Jv_Utf8Const *name, java::lang::ClassLoader *loader);' \
215 ## Our internal main program needs to be able to create a FirstThread.
216 java/lang/FirstThread.h: java/lang/FirstThread.class libgcj.zip
217 $(GCJH) -classpath $(top_builddir) \
218 -friend 'void JvRunMain (jclass, int, const char **);' \
219 -friend 'void _Jv_RunMain (const char*, int, const char **);' \
222 java/lang/String.h: java/lang/String.class libgcj.zip
223 $(GCJH) -classpath $(top_builddir) \
224 -friend 'jchar* _Jv_GetStringChars (jstring str);' \
225 -friend 'jstring* _Jv_StringFindSlot (jchar*, jint, jint);' \
226 -friend 'jstring* _Jv_StringGetSlot (jstring);' \
227 -friend 'jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);' \
228 -friend 'jstring _Jv_NewStringLatin1 (const char*, jsize);' \
229 -friend 'jstring _Jv_AllocString (jsize);' \
232 java/lang/reflect/Field.h: java/lang/reflect/Field.class libgcj.zip
233 $(GCJH) -classpath $(top_builddir) \
234 -friend 'jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);' \
235 -friend 'jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID);' \
236 -friend 'java::lang::Class;' \
239 java/lang/reflect/Method.h: java/lang/reflect/Method.class libgcj.zip
240 $(GCJH) -classpath $(top_builddir) \
241 -friend 'jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);' \
242 -friend 'java::lang::Class;' \
245 gnu/gcj/runtime/VMClassLoader.h: gnu/gcj/runtime/VMClassLoader.class libgcj.zip
246 $(GCJH) -classpath $(top_builddir) \
247 -friend 'java::lang::ClassLoader;' \
250 gnu/gcj/runtime/MethodInvocation.h: gnu/gcj/runtime/MethodInvocation.class libgcj.zip
251 $(GCJH) -classpath $(top_builddir) \
252 -friend 'class _Jv_InterpMethod;' \
255 ## Headers we maintain by hand and which we want to install.
256 extra_headers = java/lang/Object.h java/lang/Class.h
258 ## Install the headers. It is fairly ugly that we have to do this by
262 @for f in $(nat_headers) $(extra_headers); do \
263 d="`echo $$f | sed -e 's,/[^/]*$$,,'`"; \
264 $(mkinstalldirs) $(DESTDIR)$(includedir)/$$d; \
265 if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \
266 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f"; \
267 $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/$$f; \
270 ## ################################################################
273 ## Additional `check' targets for maintainer convenience.
276 ## This is used for maintainer-check. FIXME: should set from
277 ## configure using AC_CHECK_TOOL.
280 ## Try to make sure our library doesn't stomp the namespace.
281 maintainer-check: libgcj.la
282 $(NM) .libs/libgcj.a | grep ' T ' \
283 ## Anything with `4java' is assumed to be from .java source.
285 ## Anything with Jv is ok.
287 ## `terminate' and `unexpected' are part of the runtime.
288 | grep -v 'terminate__Fv' | grep -v 'unexpected__Fv'
290 ## This rule can be used to see if the headers are more or less
292 header-check: libgcj.zip $(nat_headers)
294 for h in $(nat_headers); do \
295 echo "#include \"$$h\"" >> htest.cc; \
297 $(CXXCOMPILE) -fsyntax-only htest.cc
300 ## ################################################################
303 ## The `jv-convert' program and code to rebuild the converter header
307 ## it only makes sense to try to rebuild the JIS .h files on native
311 noinst_PROGRAMS = gen-from-JIS
315 CONVERT_DIR = gnu/gcj/convert
318 EXTRA_jv_convert_SOURCES = $(convert_source_files)
319 ## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'. We
320 ## need this because we are explicitly using libtool to link using the
322 jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
323 -rpath $(toolexeclibdir)
324 jv_convert_LINK = $(LIBTOOL) --mode=link $(GCJ) $(JC1FLAGS) $(LDFLAGS) \
326 ## We explicitly link in the libraries we need. This way we don't
327 ## need -nodefaultlibs, so we can still rely on gcj picking up the
328 ## system libraries we need (via the specs file).
329 ## We need the -L so that gcj can find libgcj with `-lgcj'.
330 ## FIXME: should be _libs on some systems.
331 jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
332 $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
333 ## Depend on the spec file to make sure it is up to date before
334 ## linking this program.
335 jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
336 $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
339 EXTRA_gij_SOURCES = gij.cc
340 ## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'. We
341 ## need this because we are explicitly using libtool to link using the
343 gij_LDFLAGS = -rpath $(toolexeclibdir)
344 gij_LINK = $(LIBTOOL) --mode=link $(GCJ) $(JC1FLAGS) $(LDFLAGS) \
346 ## We explicitly link in the libraries we need. This way we don't
347 ## need -nodefaultlibs, so we can still rely on gcj picking up the
348 ## system libraries we need (via the specs file).
349 ## We need the -L so that gcj can find libgcj with `-lgcj'.
350 ## FIXME: should be _libs on some systems.
351 gij_LDADD = gij.lo libgcj.la \
352 $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs
353 ## Depend on the spec file to make sure it is up to date before
354 ## linking this program.
355 gij_DEPENDENCIES = gij.lo \
356 $(GCDEPS) $(THREADDEPS) $(ZDEPS) libgcj.la libgcj.spec
358 # The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
359 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
361 $(srcdir)/$(CONVERT_DIR)/JIS0201.h: # $(CONVERT_DIR)/JIS0201.TXT
362 echo '/* This file is automatically generated from Unicode tables */' > tmp-0201; \
363 tr -d '\r' <$(CONVERT_DIR)/JIS0201.TXT \
364 | sed -n -e 's|\(0x..\).*\(0x....\).*#\(.*\)$$|MAP(0x00, \1, \2) /*\3 */|p' \
366 mv tmp-0201 $(srcdir)/$(CONVERT_DIR)/JIS0201.h
368 # The Unicode consortium does not permit re-distributing the file JIS0208.TXT.
369 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
371 $(srcdir)/$(CONVERT_DIR)/JIS0208.h: # $(CONVERT_DIR)/JIS0208.TXT
372 echo '/* This file is automatically generated from Unicode tables */' > tmp-0208; \
373 tr -d '\r' <$(CONVERT_DIR)/JIS0208.TXT \
374 | sed -n -e 's|\(0x....\).*0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\2, 0x\3, \4) /*\5 */|p' \
376 mv tmp-0208 $(srcdir)/$(CONVERT_DIR)/JIS0208.h
378 # The Unicode consortium does not permit re-distributing the file JIS0212.TXT.
379 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
381 $(srcdir)/$(CONVERT_DIR)/JIS0212.h: # $(CONVERT_DIR)/JIS0212.TXT
382 echo '/* This file is automatically generated from Unicode tables */' > tmp-0212; \
383 tr -d '\r' <$(CONVERT_DIR)/JIS0212.TXT \
384 | sed -n -e 's|0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\1, 0x\2, \3) /*\4 */|p' \
386 mv tmp-0212 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
389 gen_from_JIS_SOURCES =
390 EXTRA_gen_from_JIS_SOURCES = $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
391 $(srcdir)/$(CONVERT_DIR)/make-trie.c \
392 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
393 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
394 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
395 gen_from_JIS_LDADD = $(CONVERT_DIR)/gen-from-JIS.o $(CONVERT_DIR)/make-trie.o
396 gen_from_JIS_DEPENDENCIES = $(CONVERT_DIR)/gen-from-JIS.o \
397 $(CONVERT_DIR)/make-trie.o
399 $(CONVERT_DIR)/gen-from-JIS.o: $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
400 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
401 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
402 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
403 $(COMPILE) -c -o $(CONVERT_DIR)/gen-from-JIS.o \
404 $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c
406 $(CONVERT_DIR)/make-trie.o: $(srcdir)/$(CONVERT_DIR)/make-trie.c
407 $(COMPILE) -c -o $(CONVERT_DIR)/make-trie.o \
408 $(srcdir)/$(CONVERT_DIR)/make-trie.c
413 $(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
414 ./gen-from-JIS JIS0208>$(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc
416 $(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
417 ./gen-from-JIS JIS0212>$(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc
419 $(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc: ./gen-from-JIS$(EXEEXT)
420 ./gen-from-JIS toJIS>$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc
422 endif # MAINTAINER_MODE
426 ## ################################################################
429 ## This section lists all the source files we care about.
432 convert_source_files = \
433 gnu/gcj/convert/BytesToUnicode.java \
434 gnu/gcj/convert/Convert.java \
435 gnu/gcj/convert/Input_8859_1.java \
436 gnu/gcj/convert/Input_EUCJIS.java \
437 gnu/gcj/convert/Input_JavaSrc.java \
438 gnu/gcj/convert/Input_SJIS.java \
439 gnu/gcj/convert/Input_UTF8.java \
440 gnu/gcj/convert/Output_8859_1.java \
441 gnu/gcj/convert/Output_EUCJIS.java \
442 gnu/gcj/convert/Output_JavaSrc.java \
443 gnu/gcj/convert/Output_SJIS.java \
444 gnu/gcj/convert/Output_UTF8.java \
445 gnu/gcj/convert/UnicodeToBytes.java
447 ## List of all .java files for which the .h file is maintained by
449 special_java_source_files = java/lang/Class.java java/lang/Object.java
451 awt_java_source_files = \
452 java/awt/AWTEvent.java \
453 java/awt/BorderLayout.java \
454 java/awt/Component.java \
455 java/awt/Container.java \
456 java/awt/Dimension.java \
457 java/awt/Event.java \
459 java/awt/Frame.java \
460 java/awt/LayoutManager.java \
461 java/awt/LayoutManager2.java \
463 java/awt/MenuBar.java \
464 java/awt/MenuItem.java \
465 java/awt/MenuComponent.java \
466 java/awt/MenuContainer.java \
467 java/awt/Point.java \
468 java/awt/Rectangle.java \
469 java/awt/Shape.java \
470 java/awt/TextArea.java \
471 java/awt/TextComponent.java \
472 java/awt/Toolkit.java \
473 java/awt/Window.java \
474 java/awt/event/ActionEvent.java \
475 java/awt/event/ActionListener.java \
476 java/awt/event/ComponentEvent.java \
477 java/awt/event/InputEvent.java \
478 java/awt/event/KeyEvent.java \
479 java/awt/event/KeyListener.java \
480 java/awt/event/TextEvent.java \
481 java/awt/event/TextListener.java \
482 java/awt/event/WindowAdapter.java \
483 java/awt/event/WindowEvent.java \
484 java/awt/event/WindowListener.java \
485 java/awt/geom/Point2D.java \
486 java/awt/geom/Dimension2D.java \
487 java/awt/peer/ComponentPeer.java \
488 java/awt/peer/ContainerPeer.java \
489 java/awt/peer/FramePeer.java \
490 java/awt/peer/WindowPeer.java
492 # $(awt_java_source_files)
494 ## Java files which are created by configure and thus are in the build
496 built_java_source_files = java/lang/ConcreteProcess.java
498 ## List of all .java files to be compiled. Please keep this list
499 ## alphabetical. Please put files from gnu/gcj/convert into
500 ## convert_source_files. If the .java file has a hand-maintained
501 ## header, please list it in special_java_source_files.
502 ordinary_java_source_files = $(convert_source_files) \
503 gnu/gcj/runtime/MethodInvocation.java \
504 gnu/gcj/runtime/VMClassLoader.java \
505 gnu/gcj/text/BaseBreakIterator.java \
506 gnu/gcj/text/CharacterBreakIterator.java \
507 gnu/gcj/text/LineBreakIterator.java \
508 gnu/gcj/text/LocaleData_en.java \
509 gnu/gcj/text/LocaleData_en_US.java \
510 gnu/gcj/text/SentenceBreakIterator.java \
511 gnu/gcj/text/WordBreakIterator.java \
512 gnu/gcj/protocol/file/Connection.java \
513 gnu/gcj/protocol/file/Handler.java \
514 gnu/gcj/protocol/http/Connection.java \
515 gnu/gcj/protocol/http/Handler.java \
516 gnu/gcj/protocol/jar/Handler.java \
517 gnu/gcj/protocol/jar/Connection.java \
518 gnu/gcj/RawData.java \
519 gnu/gcj/util/EnumerationChain.java \
520 java/io/BufferedInputStream.java \
521 java/io/BufferedOutputStream.java \
522 java/io/BufferedReader.java \
523 java/io/BufferedWriter.java \
524 java/io/ByteArrayInputStream.java \
525 java/io/ByteArrayOutputStream.java \
526 java/io/CharArrayReader.java \
527 java/io/CharArrayWriter.java \
528 java/io/CharConversionException.java \
529 java/io/DataInput.java \
530 java/io/DataInputStream.java \
531 java/io/DataOutput.java \
532 java/io/DataOutputStream.java \
533 java/io/EOFException.java \
535 java/io/FileDescriptor.java \
536 java/io/FileInputStream.java \
537 java/io/FileNotFoundException.java \
538 java/io/FileOutputStream.java \
539 java/io/FileReader.java \
540 java/io/FileWriter.java \
541 java/io/FilenameFilter.java \
542 java/io/FilterInputStream.java \
543 java/io/FilterOutputStream.java \
544 java/io/FilterReader.java \
545 java/io/FilterWriter.java \
546 java/io/IOException.java \
547 java/io/InputStream.java \
548 java/io/InputStreamReader.java \
549 java/io/InterruptedIOException.java \
550 java/io/LineNumberInputStream.java \
551 java/io/LineNumberReader.java \
552 java/io/OutputStream.java \
553 java/io/OutputStreamWriter.java \
554 java/io/PipedInputStream.java \
555 java/io/PipedOutputStream.java \
556 java/io/PipedReader.java \
557 java/io/PipedWriter.java \
558 java/io/PrintStream.java \
559 java/io/PrintWriter.java \
560 java/io/PushbackInputStream.java \
561 java/io/PushbackReader.java \
562 java/io/RandomAccessFile.java \
563 java/io/Reader.java \
564 java/io/SequenceInputStream.java \
565 java/io/Serializable.java \
566 java/io/StreamTokenizer.java \
567 java/io/StringBufferInputStream.java \
568 java/io/StringReader.java \
569 java/io/StringWriter.java \
570 java/io/SyncFailedException.java \
571 java/io/UTFDataFormatException.java \
572 java/io/UnsupportedEncodingException.java \
573 java/io/Writer.java \
574 java/lang/AbstractMethodError.java \
575 java/lang/ArithmeticException.java \
576 java/lang/ArrayIndexOutOfBoundsException.java \
577 java/lang/ArrayStoreException.java \
578 java/lang/Boolean.java \
579 java/lang/Byte.java \
580 java/lang/Character.java \
581 java/lang/ClassCastException.java \
582 java/lang/ClassCircularityError.java \
583 java/lang/ClassFormatError.java \
584 java/lang/ClassLoader.java \
585 java/lang/ClassNotFoundException.java \
586 java/lang/CloneNotSupportedException.java \
587 java/lang/Cloneable.java \
588 java/lang/Comparable.java \
589 java/lang/Compiler.java \
590 java/lang/Double.java \
591 java/lang/Error.java \
592 java/lang/Exception.java \
593 java/lang/ExceptionInInitializerError.java \
594 java/lang/FirstThread.java \
595 java/lang/Float.java \
596 java/lang/IllegalAccessError.java \
597 java/lang/IllegalAccessException.java \
598 java/lang/IllegalArgumentException.java \
599 java/lang/IllegalMonitorStateException.java \
600 java/lang/IllegalStateException.java \
601 java/lang/IllegalThreadStateException.java \
602 java/lang/IncompatibleClassChangeError.java \
603 java/lang/IndexOutOfBoundsException.java \
604 java/lang/InstantiationError.java \
605 java/lang/InstantiationException.java \
606 java/lang/Integer.java \
607 java/lang/InternalError.java \
608 java/lang/InterruptedException.java \
609 java/lang/LinkageError.java \
610 java/lang/Long.java \
611 java/lang/Math.java \
612 java/lang/NegativeArraySizeException.java \
613 java/lang/NoClassDefFoundError.java \
614 java/lang/NoSuchFieldError.java \
615 java/lang/NoSuchFieldException.java \
616 java/lang/NoSuchMethodError.java \
617 java/lang/NoSuchMethodException.java \
618 java/lang/NullPointerException.java \
619 java/lang/Number.java \
620 java/lang/NumberFormatException.java \
621 java/lang/OutOfMemoryError.java \
622 java/lang/Process.java \
623 java/lang/Runnable.java \
624 java/lang/Runtime.java \
625 java/lang/RuntimeException.java \
626 java/lang/SecurityException.java \
627 java/lang/SecurityManager.java \
628 java/lang/Short.java \
629 java/lang/StackOverflowError.java \
630 java/lang/String.java \
631 java/lang/StringBuffer.java \
632 java/lang/StringIndexOutOfBoundsException.java \
633 java/lang/System.java \
634 java/lang/Thread.java \
635 java/lang/ThreadDeath.java \
636 java/lang/ThreadGroup.java \
637 java/lang/Throwable.java \
638 java/lang/UnknownError.java \
639 java/lang/UnsatisfiedLinkError.java \
640 java/lang/UnsupportedOperationException.java \
641 java/lang/VerifyError.java \
642 java/lang/VirtualMachineError.java \
643 java/lang/Void.java \
644 java/lang/reflect/AccessibleObject.java \
645 java/lang/reflect/Array.java \
646 java/lang/reflect/Constructor.java \
647 java/lang/reflect/Field.java \
648 java/lang/reflect/InvocationTargetException.java \
649 java/lang/reflect/Member.java \
650 java/lang/reflect/Method.java \
651 java/lang/reflect/Modifier.java \
652 java/net/BindException.java \
653 java/net/ConnectException.java \
654 java/net/ContentHandler.java \
655 java/net/ContentHandlerFactory.java \
656 java/net/DatagramPacket.java \
657 java/net/DatagramSocket.java \
658 java/net/DatagramSocketImpl.java \
659 java/net/FileNameMap.java \
660 java/net/HttpURLConnection.java \
661 java/net/InetAddress.java \
662 java/net/JarURLConnection.java \
663 java/net/MalformedURLException.java \
664 java/net/MulticastSocket.java \
665 java/net/NoRouteToHostException.java \
666 java/net/PlainDatagramSocketImpl.java \
667 java/net/PlainSocketImpl.java \
668 java/net/ProtocolException.java \
669 java/net/ServerSocket.java \
670 java/net/Socket.java \
671 java/net/SocketException.java \
672 java/net/SocketImpl.java \
673 java/net/SocketImplFactory.java \
674 java/net/SocketOptions.java \
676 java/net/URLClassLoader.java \
677 java/net/URLConnection.java \
678 java/net/URLDecoder.java \
679 java/net/URLEncoder.java \
680 java/net/URLStreamHandler.java \
681 java/net/URLStreamHandlerFactory.java \
682 java/net/UnknownHostException.java \
683 java/net/UnknownServiceException.java \
684 java/security/MessageDigest.java \
685 java/security/NoSuchAlgorithmException.java \
686 java/security/SecureClassLoader.java \
687 java/text/BreakIterator.java \
688 java/text/CharacterIterator.java \
689 java/text/ChoiceFormat.java \
690 java/text/CollationElementIterator.java \
691 java/text/CollationKey.java \
692 java/text/Collator.java \
693 java/text/DateFormat.java \
694 java/text/DateFormatSymbols.java \
695 java/text/DecimalFormat.java \
696 java/text/DecimalFormatSymbols.java \
697 java/text/FieldPosition.java \
698 java/text/Format.java \
699 java/text/MessageFormat.java \
700 java/text/NumberFormat.java \
701 java/text/ParseException.java \
702 java/text/ParsePosition.java \
703 java/text/RuleBasedCollator.java \
704 java/text/SimpleDateFormat.java \
705 java/text/StringCharacterIterator.java \
706 java/util/BitSet.java \
707 java/util/Calendar.java \
708 java/util/ConcurrentModificationException.java \
709 java/util/Date.java \
710 java/util/Dictionary.java \
711 java/util/EmptyStackException.java \
712 java/util/Enumeration.java \
713 java/util/EventListener.java \
714 java/util/EventObject.java \
715 java/util/GregorianCalendar.java \
716 java/util/Hashtable.java \
717 java/util/ListResourceBundle.java \
718 java/util/Locale.java \
719 java/util/MissingResourceException.java \
720 java/util/NoSuchElementException.java \
721 java/util/Observable.java \
722 java/util/Observer.java \
723 java/util/Properties.java \
724 java/util/PropertyResourceBundle.java \
725 java/util/Random.java \
726 java/util/ResourceBundle.java \
727 java/util/SimpleTimeZone.java \
728 java/util/Stack.java \
729 java/util/StringTokenizer.java \
730 java/util/TimeZone.java \
731 java/util/TooManyListenersException.java \
732 java/util/Vector.java \
733 java/util/jar/JarFile.java \
734 java/util/jar/JarInputStream.java \
735 java/util/jar/JarEntry.java \
736 java/util/zip/Adler32.java \
737 java/util/zip/CRC32.java \
738 java/util/zip/CheckedInputStream.java \
739 java/util/zip/CheckedOutputStream.java \
740 java/util/zip/Checksum.java \
741 java/util/zip/DataFormatException.java \
742 java/util/zip/Deflater.java \
743 java/util/zip/DeflaterOutputStream.java \
744 java/util/zip/GZIPInputStream.java \
745 java/util/zip/GZIPOutputStream.java \
746 java/util/zip/Inflater.java \
747 java/util/zip/InflaterInputStream.java \
748 java/util/zip/ZipConstants.java \
749 java/util/zip/ZipEntry.java \
750 java/util/zip/ZipException.java \
751 java/util/zip/ZipFile.java \
752 java/util/zip/ZipInputStream.java \
753 java/util/zip/ZipOutputStream.java
755 java_source_files = $(ordinary_java_source_files) $(special_java_source_files)
757 ## Math library: C, not C++
759 java/lang/dtoa.c java/lang/k_rem_pio2.c java/lang/s_tan.c \
760 java/lang/e_acos.c java/lang/k_sin.c java/lang/strtod.c \
761 java/lang/e_asin.c java/lang/k_tan.c java/lang/w_acos.c \
762 java/lang/e_atan2.c java/lang/mprec.c java/lang/w_asin.c \
763 java/lang/e_exp.c java/lang/s_atan.c java/lang/w_atan2.c \
764 java/lang/e_fmod.c java/lang/s_ceil.c java/lang/w_exp.c \
765 java/lang/e_log.c java/lang/s_copysign.c java/lang/w_fmod.c \
766 java/lang/e_pow.c java/lang/s_cos.c java/lang/w_log.c \
767 java/lang/e_rem_pio2.c java/lang/s_fabs.c java/lang/w_pow.c \
768 java/lang/e_remainder.c java/lang/s_floor.c java/lang/w_remainder.c \
769 java/lang/e_scalb.c java/lang/s_rint.c java/lang/w_sqrt.c \
770 java/lang/e_sqrt.c java/lang/s_scalbn.c java/lang/sf_rint.c \
771 java/lang/k_cos.c java/lang/s_sin.c
773 #java/awt/natToolkit.cc
775 ## This lists all the C++ source files in subdirectories.
777 gnu/gcj/convert/JIS0208_to_Unicode.cc \
778 gnu/gcj/convert/JIS0212_to_Unicode.cc \
779 gnu/gcj/convert/Unicode_to_JIS.cc \
780 gnu/gcj/convert/natInput_EUCJIS.cc \
781 gnu/gcj/convert/natInput_SJIS.cc \
782 gnu/gcj/convert/natOutput_EUCJIS.cc \
783 gnu/gcj/convert/natOutput_SJIS.cc \
785 java/io/natFileDescriptor.cc \
786 java/lang/natCharacter.cc \
787 java/lang/natClass.cc \
788 java/lang/natClassLoader.cc \
789 java/lang/natConcreteProcess.cc \
790 java/lang/natDouble.cc \
791 java/lang/natFirstThread.cc \
792 java/lang/natFloat.cc \
793 java/lang/natMath.cc \
794 java/lang/natObject.cc \
795 java/lang/natRuntime.cc \
796 java/lang/natString.cc \
797 java/lang/natSystem.cc \
798 java/lang/natThread.cc \
799 java/lang/reflect/natArray.cc \
800 java/lang/reflect/natField.cc \
801 java/lang/reflect/natMethod.cc \
802 java/net/natInetAddress.cc \
803 java/net/natPlainDatagramSocketImpl.cc \
804 java/net/natPlainSocketImpl.cc \
805 java/text/natCollator.cc \
806 java/util/natGregorianCalendar.cc \
807 java/util/zip/natDeflater.cc \
808 java/util/zip/natInflater.cc
810 ## ################################################################
813 ## This section is for make and multilib madness.
816 # Work around what appears to be a GNU make bug handling MAKEFLAGS
817 # values defined in terms of make variables, as is the case for CC and
818 # friends when we are called from the top level Makefile.
820 "AR_FLAGS=$(AR_FLAGS)" \
821 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
823 "CXXFLAGS=$(CXXFLAGS)" \
824 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
825 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
826 "INSTALL=$(INSTALL)" \
827 "INSTALL_DATA=$(INSTALL_DATA)" \
828 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
829 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
830 "JC1FLAGS=$(JC1FLAGS)" \
831 "LDFLAGS=$(LDFLAGS)" \
832 "LIBCFLAGS=$(LIBCFLAGS)" \
833 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
835 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
836 "PICFLAG=$(PICFLAG)" \
837 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
839 "exec_prefix=$(exec_prefix)" \
840 "infodir=$(infodir)" \
848 "LIBCFLAGS=$(LIBCFLAGS)" \
850 "PICFLAG=$(PICFLAG)" \
854 CONFIG_STATUS_DEPENDENCIES = $(libgcj_basedir)/configure.host
858 # Multilib support variables.
867 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
868 maintainer-clean-multi
870 all-recursive: all-multi
871 install-recursive: install-multi
872 mostlyclean-recursive: mostlyclean-multi
873 clean-recursive: clean-multi
874 distclean-recursive: distclean-multi
875 maintainer-clean-recursive: maintainer-clean-multi
878 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
880 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
882 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
884 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
886 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
887 maintainer-clean-multi:
888 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
891 ## ################################################################