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