1 ## Process this file with automake to produce Makefile.in.
3 AUTOMAKE_OPTIONS = foreign no-installinfo
9 ## ################################################################
12 ## What gets installed, and where.
15 toolexecdir = $(exec_prefix)/$(target_alias)
16 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
18 toolexeclib_LTLIBRARIES = libgcj.la
19 data_DATA = libgcj.zip
21 ## For now, only on native systems.
23 bin_PROGRAMS = jv-convert
26 ## ################################################################
29 ## Compilers and compilation flags.
32 ## CANADIAN is a misnomer. Really we check to see if we must pick up
33 ## the tools from the path.
36 ## In this case, gcj is found outside the build tree. However, zip is
37 ## found in the build tree.
39 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
41 GCJ = $(target_alias)-gcj
46 ## JAVAC is set to `$(GCJ) -C'. However, JAVAC is run from the srcdir
47 ## (due to problems running it in builddir). In this case the obvious
48 ## definition of GCJ won't work; instead we resort to this ugly
49 ## definition that gives us absolute paths.
50 expanded = `cd $(MULTIBUILDTOP)../$(COMPPATH)/gcc && pwd`
51 GCJ = $(expanded)/gcj$(EXEEXT) -B$(expanded)/
52 GCJH = $(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
53 ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/zip/zip$(EXEEXT)
56 GCJCOMPILE = CLASSPATH=$(here) $(LIBTOOL) --mode=compile $(GCJ) -fassume-compiled $(JC1FLAGS) -c
60 EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@
63 AM_CXXFLAGS = -fno-rtti -fvtable-thunks @LIBGCJ_CXXFLAGS@ $(WARNINGS)
65 AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
67 AM_CFLAGS = @LIBGCJ_CFLAGS@
71 JC1FLAGS = -g @LIBGCJ_JAVAFLAGS@
73 INCLUDES = -Iinclude -I$(top_srcdir)/include $(GCINCS) $(THREADINCS) $(EH_COMMON_INCLUDE)
76 ## ################################################################
79 ## How to build libgcj.a and libgcj.zip
82 ## Objects from C++ sources in subdirs.
83 nat_files = $(nat_source_files:.cc=.lo)
84 ## Objects from C sources in subdirs.
85 c_files = $(c_source_files:.c=.lo)
86 ## Objects from Java sources in subdirs.
87 javao_files = $(java_source_files:.java=.lo)
89 libgcj_la_SOURCES = prims.cc jni.cc exception.cc
90 EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
91 $(c_source_files) $(java_source_files)
92 libgcj_la_DEPENDENCIES = libgcj.zip $(javao_files) $(nat_files) \
93 $(c_files) $(GCOBJS) $(THREADOBJS)
94 libgcj_la_LIBADD = $(javao_files) $(nat_files) $(c_files) $(GCOBJS) \
96 libgcj_la_LDFLAGS = -rpath $(toolexeclibdir) -release $(VERSION)
98 ## Make the .class files depend on the .zip file. This seems
99 ## backwards, but is right. This doesn't catch all the .class files,
100 ## but that is ok, because the ones it fails to pick up are defined in
101 ## a .java file with some other class which is caught. Note that we
102 ## only want to create headers for those files which do not have
103 ## hand-maintained headers.
104 $(java_source_files:.java=.class): libgcj.zip
106 ## We have the zip file depend on the java sources and not the class
107 ## files, because we don't know the names of all the class files.
108 ## FIXME: this method fails in a peculiar case: if libgcj.zip is
109 ## up-to-date, and foo.class is removed, and bar.java is touched, then
110 ## `make libgcj.zip' will not rebuilt foo.class. That's because
111 ## libgcj.zip is not out-of-date with respect to foo.java.
112 libgcj.zip: $(java_source_files)
113 ## This little nastiness is here so that the backquoted stuff in the
114 ## GCJ definition can be correctly expanded, if required.
115 javac="$(JAVAC)"; cd $(srcdir); \
116 $$javac $(JCFLAGS) -classpath $(here):`/bin/pwd` -d $(here) \
117 $(subst $(srcdir)/,,$?)
119 ## Note that we explicitly want to include directory information.
120 $(ZIP) -r libgcj java gnu -n .class -i '*.class' -i '*/'
122 MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files)
123 CLEANFILES = libgcj.zip $(class_files)
125 SUFFIXES = .class .java .h
128 $(GCJCOMPILE) -o $@ $<
131 $(GCJCOMPILE) -o $@ $<
133 ## This is GNU make specific. For the .o files in subdirs, use a
134 ## special rule. The standard automake rule can't be overridden (this
135 ## is a bug in automake), and it also won't put the .o files into
137 $(nat_files): %.lo: %.cc
138 $(LTCXXCOMPILE) -c -o $@ $<
140 $(nat_files) $(GCOBJS) $(THREADOBJS) $(libgcj_la_OBJECTS): \
141 include/config.h include/java-signal.h $(nat_headers)
144 $(c_files): %.lo: %.c
145 $(LTCOMPILE) -c -o $@ $<
147 $(c_files): java/lang/fdlibm.h java/lang/ieeefp.h java/lang/mprec.h
150 $(javao_files): %.lo: %.java
151 $(GCJCOMPILE) -o $@ $<
153 ## ################################################################
156 ## How to build header files.
160 ## FIXME: GNU make specific.
161 $(GCJH) -classpath $(top_builddir) $(basename $<)
163 ## Header files used when compiling some of the nat* files.
164 nat_headers = $(ordinary_java_source_files:.java=.h)
166 $(nat_headers): libgcj.zip
168 ## Our internal main program needs to be able to create a FirstThread.
169 FTFRIEND = void JvRunMain (jclass klass, int argc, const char **argv)
170 java/lang/FirstThread.h: java/lang/FirstThread.class libgcj.zip
171 $(GCJH) -classpath $(top_builddir) -friend '$(FTFRIEND);' \
174 ## ThreadGroup has a special constructor that is used when creating
175 ## the first ThreadGroup. We need to expose this to the main program.
176 TGFRIEND = void JvRunMain (jclass klass, int argc, const char **argv)
177 java/lang/ThreadGroup.h: java/lang/ThreadGroup.class libgcj.zip
178 $(GCJH) -classpath $(top_builddir) -friend '$(TGFRIEND);' \
181 java/lang/String.h: java/lang/String.class libgcj.zip
182 $(GCJH) -classpath $(top_builddir) \
183 -friend 'jchar* _Jv_GetStringChars (jstring str);' \
184 -friend 'jstring* _Jv_StringFindSlot (jchar*, jint, jint);' \
185 -friend 'jstring* _Jv_StringGetSlot (jstring);' \
186 -friend 'jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);' \
187 -friend 'jstring _Jv_NewStringLatin1 (const char*, jsize);' \
188 -friend 'jstring _Jv_AllocString (jsize);' \
191 java/lang/reflect/Field.h: java/lang/reflect/Field.class libgcj.zip
192 $(GCJH) -classpath $(top_builddir) \
193 -friend 'jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);' \
194 -friend 'jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID);' \
195 -friend 'java::lang::Class;' \
198 java/lang/reflect/Method.h: java/lang/reflect/Method.class libgcj.zip
199 $(GCJH) -classpath $(top_builddir) \
200 -friend 'jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);' \
201 -friend 'java::lang::Class;' \
205 ## ################################################################
208 ## Additional `check' targets for maintainer convenience.
211 ## This is used for maintainer-check. FIXME: should set from
212 ## configure using AC_CHECK_TOOL.
215 ## Try to make sure our library doesn't stomp the namespace.
216 maintainer-check: libgcj.la
217 $(NM) .libs/libgcj.a | grep ' T ' \
218 ## Anything with `4java' is assumed to be from .java source.
220 ## Anything with Jv is ok.
222 ## `terminate' and `unexpected' are part of the runtime.
223 | grep -v 'terminate__Fv' | grep -v 'unexpected__Fv'
225 ## This rule can be used to see if the headers are more or less
227 header-check: libgcj.zip $(nat_headers)
229 for h in $(nat_headers); do \
230 echo "#include \"$$h\"" >> htest.cc; \
232 $(CXXCOMPILE) -fsyntax-only htest.cc
235 ## ################################################################
238 ## The `jv-convert' program and code to rebuild the converter header
242 ## it only makes sense to try to rebuild the JIS .h files on native
246 noinst_PROGRAMS = gen-from-JIS
250 CONVERT_DIR = gnu/gcj/convert
253 EXTRA_jv_convert_SOURCES = $(convert_source_files)
254 ## We need -nodefaultlibs because we want to avoid gcj's `-lgcj'. We
255 ## need this because we are explicitly using libtool to link using the
257 jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert -nodefaultlibs \
258 -rpath $(toolexeclibdir)
259 jv_convert_LINK = $(LIBTOOL) --mode=link $(GCJ) $(JC1FLAGS) $(LDFLAGS) \
261 jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
262 $(GCLIBS) $(THREADLIBS) -lm -lc
263 jv_convert_DEPENDENCIES = $(convert_source_files:.java=.lo) \
264 $(GCDEPS) $(THREADDEPS) libgcj.la
266 # The Unicode consortium does not permit re-distributing the file JIS0201.TXT.
267 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
269 $(srcdir)/$(CONVERT_DIR)/JIS0201.h: # $(CONVERT_DIR)/JIS0201.TXT
270 echo '/* This file is automatically generated from Unicode tables */' > tmp-0201; \
271 tr -d '\r' <$(CONVERT_DIR)/JIS0201.TXT \
272 | sed -n -e 's|\(0x..\).*\(0x....\).*#\(.*\)$$|MAP(0x00, \1, \2) /*\3 */|p' \
274 mv tmp-0201 $(srcdir)/$(CONVERT_DIR)/JIS0201.h
276 # The Unicode consortium does not permit re-distributing the file JIS0208.TXT.
277 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
279 $(srcdir)/$(CONVERT_DIR)/JIS0208.h: # $(CONVERT_DIR)/JIS0208.TXT
280 echo '/* This file is automatically generated from Unicode tables */' > tmp-0208; \
281 tr -d '\r' <$(CONVERT_DIR)/JIS0208.TXT \
282 | sed -n -e 's|\(0x....\).*0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\2, 0x\3, \4) /*\5 */|p' \
284 mv tmp-0208 $(srcdir)/$(CONVERT_DIR)/JIS0208.h
286 # The Unicode consortium does not permit re-distributing the file JIS0212.TXT.
287 # You can get it from ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/.
289 $(srcdir)/$(CONVERT_DIR)/JIS0212.h: # $(CONVERT_DIR)/JIS0212.TXT
290 echo '/* This file is automatically generated from Unicode tables */' > tmp-0212; \
291 tr -d '\r' <$(CONVERT_DIR)/JIS0212.TXT \
292 | sed -n -e 's|0x\(..\)\(..\).*\(0x....\).*#\(.*\)$$|MAP(0x\1, 0x\2, \3) /*\4 */|p' \
294 mv tmp-0212 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
297 gen_from_JIS_SOURCES =
298 EXTRA_gen_from_JIS_SOURCES = $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
299 $(srcdir)/$(CONVERT_DIR)/make-trie.c \
300 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
301 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
302 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
303 gen_from_JIS_LDADD = $(CONVERT_DIR)/gen-from-JIS.o $(CONVERT_DIR)/make-trie.o
304 gen_from_JIS_DEPENDENCIES = $(CONVERT_DIR)/gen-from-JIS.o \
305 $(CONVERT_DIR)/make-trie.o
307 $(CONVERT_DIR)/gen-from-JIS.o: $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c \
308 $(srcdir)/$(CONVERT_DIR)/JIS0201.h \
309 $(srcdir)/$(CONVERT_DIR)/JIS0208.h \
310 $(srcdir)/$(CONVERT_DIR)/JIS0212.h
311 $(COMPILE) -c -o $(CONVERT_DIR)/gen-from-JIS.o \
312 $(srcdir)/$(CONVERT_DIR)/gen-from-JIS.c
314 $(CONVERT_DIR)/make-trie.o: $(srcdir)/$(CONVERT_DIR)/make-trie.c
315 $(COMPILE) -c -o $(CONVERT_DIR)/make-trie.o \
316 $(srcdir)/$(CONVERT_DIR)/make-trie.c
321 $(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
322 ./gen-from-JIS JIS0208>$(srcdir)/$(CONVERT_DIR)/JIS0208_to_Unicode.cc
324 $(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc: ./gen-from-JIS$(EXEEXT)
325 ./gen-from-JIS JIS0212>$(srcdir)/$(CONVERT_DIR)/JIS0212_to_Unicode.cc
327 $(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc: ./gen-from-JIS$(EXEEXT)
328 ./gen-from-JIS toJIS>$(srcdir)/$(CONVERT_DIR)/Unicode_to_JIS.cc
330 endif # MAINTAINER_MODE
334 ## ################################################################
337 ## This section lists all the source files we care about.
340 convert_source_files = \
341 gnu/gcj/convert/BytesToUnicode.java \
342 gnu/gcj/convert/Convert.java \
343 gnu/gcj/convert/Input_8859_1.java \
344 gnu/gcj/convert/Input_EUCJIS.java \
345 gnu/gcj/convert/Input_JavaSrc.java \
346 gnu/gcj/convert/Input_SJIS.java \
347 gnu/gcj/convert/Input_UTF8.java \
348 gnu/gcj/convert/Output_8859_1.java \
349 gnu/gcj/convert/Output_EUCJIS.java \
350 gnu/gcj/convert/Output_JavaSrc.java \
351 gnu/gcj/convert/Output_SJIS.java \
352 gnu/gcj/convert/Output_UTF8.java \
353 gnu/gcj/convert/UnicodeToBytes.java
355 ## List of all .java files for which the .h file is maintained by
357 special_java_source_files = java/lang/Class.java java/lang/Object.java
359 ## List of all .java files to be compiled. Please keep this list
360 ## alphabetical. Please put files from gnu/gcj/convert into
361 ## convert_source_files. If the .java file has a hand-maintained
362 ## header, please list it in special_java_source_files.
363 ordinary_java_source_files = $(convert_source_files) \
364 gnu/gcj/text/BaseBreakIterator.java \
365 gnu/gcj/text/CharacterBreakIterator.java \
366 gnu/gcj/text/LineBreakIterator.java \
367 gnu/gcj/text/LocaleData_en.java \
368 gnu/gcj/text/LocaleData_en_US.java \
369 gnu/gcj/text/SentenceBreakIterator.java \
370 gnu/gcj/text/WordBreakIterator.java \
371 gnu/gcj/protocol/file/Connection.java \
372 gnu/gcj/protocol/file/Handler.java \
373 gnu/gcj/protocol/http/Connection.java \
374 gnu/gcj/protocol/http/Handler.java \
375 java/io/BufferedInputStream.java \
376 java/io/BufferedOutputStream.java \
377 java/io/BufferedReader.java \
378 java/io/BufferedWriter.java \
379 java/io/ByteArrayInputStream.java \
380 java/io/ByteArrayOutputStream.java \
381 java/io/CharArrayReader.java \
382 java/io/CharArrayWriter.java \
383 java/io/CharConversionException.java \
384 java/io/DataInput.java \
385 java/io/DataInputStream.java \
386 java/io/DataOutput.java \
387 java/io/DataOutputStream.java \
388 java/io/EOFException.java \
390 java/io/FileDescriptor.java \
391 java/io/FileInputStream.java \
392 java/io/FileNotFoundException.java \
393 java/io/FileOutputStream.java \
394 java/io/FileReader.java \
395 java/io/FileWriter.java \
396 java/io/FilenameFilter.java \
397 java/io/FilterInputStream.java \
398 java/io/FilterOutputStream.java \
399 java/io/FilterReader.java \
400 java/io/FilterWriter.java \
401 java/io/IOException.java \
402 java/io/InputStream.java \
403 java/io/InputStreamReader.java \
404 java/io/InterruptedIOException.java \
405 java/io/LineNumberInputStream.java \
406 java/io/LineNumberReader.java \
407 java/io/OutputStream.java \
408 java/io/OutputStreamWriter.java \
409 java/io/PipedInputStream.java \
410 java/io/PipedOutputStream.java \
411 java/io/PipedReader.java \
412 java/io/PipedWriter.java \
413 java/io/PrintStream.java \
414 java/io/PrintWriter.java \
415 java/io/PushbackInputStream.java \
416 java/io/PushbackReader.java \
417 java/io/RandomAccessFile.java \
418 java/io/Reader.java \
419 java/io/SequenceInputStream.java \
420 java/io/Serializable.java \
421 java/io/StreamTokenizer.java \
422 java/io/StringBufferInputStream.java \
423 java/io/StringReader.java \
424 java/io/StringWriter.java \
425 java/io/SyncFailedException.java \
426 java/io/UTFDataFormatException.java \
427 java/io/UnsupportedEncodingException.java \
428 java/io/Writer.java \
429 java/lang/AbstractMethodError.java \
430 java/lang/ArithmeticException.java \
431 java/lang/ArrayIndexOutOfBoundsException.java \
432 java/lang/ArrayStoreException.java \
433 java/lang/Boolean.java \
434 java/lang/Byte.java \
435 java/lang/Character.java \
436 java/lang/ClassCastException.java \
437 java/lang/ClassCircularityError.java \
438 java/lang/ClassFormatError.java \
439 java/lang/ClassLoader.java \
440 java/lang/ClassNotFoundException.java \
441 java/lang/CloneNotSupportedException.java \
442 java/lang/Cloneable.java \
443 java/lang/Comparable.java \
444 java/lang/Compiler.java \
445 java/lang/Double.java \
446 java/lang/Error.java \
447 java/lang/Exception.java \
448 java/lang/ExceptionInInitializerError.java \
449 java/lang/FirstThread.java \
450 java/lang/Float.java \
451 java/lang/IllegalAccessError.java \
452 java/lang/IllegalAccessException.java \
453 java/lang/IllegalArgumentException.java \
454 java/lang/IllegalMonitorStateException.java \
455 java/lang/IllegalStateException.java \
456 java/lang/IllegalThreadStateException.java \
457 java/lang/IncompatibleClassChangeError.java \
458 java/lang/IndexOutOfBoundsException.java \
459 java/lang/InstantiationError.java \
460 java/lang/InstantiationException.java \
461 java/lang/Integer.java \
462 java/lang/InternalError.java \
463 java/lang/InterruptedException.java \
464 java/lang/LinkageError.java \
465 java/lang/Long.java \
466 java/lang/Math.java \
467 java/lang/NegativeArraySizeException.java \
468 java/lang/NoClassDefFoundError.java \
469 java/lang/NoSuchFieldError.java \
470 java/lang/NoSuchFieldException.java \
471 java/lang/NoSuchMethodError.java \
472 java/lang/NoSuchMethodException.java \
473 java/lang/NullPointerException.java \
474 java/lang/Number.java \
475 java/lang/NumberFormatException.java \
476 java/lang/OutOfMemoryError.java \
477 java/lang/Process.java \
478 java/lang/Runnable.java \
479 java/lang/Runtime.java \
480 java/lang/RuntimeException.java \
481 java/lang/SecurityException.java \
482 java/lang/SecurityManager.java \
483 java/lang/Short.java \
484 java/lang/StackOverflowError.java \
485 java/lang/String.java \
486 java/lang/StringBuffer.java \
487 java/lang/StringIndexOutOfBoundsException.java \
488 java/lang/System.java \
489 java/lang/Thread.java \
490 java/lang/ThreadDeath.java \
491 java/lang/ThreadGroup.java \
492 java/lang/Throwable.java \
493 java/lang/UnknownError.java \
494 java/lang/UnsatisfiedLinkError.java \
495 java/lang/UnsupportedOperationException.java \
496 java/lang/VerifyError.java \
497 java/lang/VirtualMachineError.java \
498 java/lang/Void.java \
499 java/lang/reflect/AccessibleObject.java \
500 java/lang/reflect/Array.java \
501 java/lang/reflect/Constructor.java \
502 java/lang/reflect/Field.java \
503 java/lang/reflect/InvocationTargetException.java \
504 java/lang/reflect/Member.java \
505 java/lang/reflect/Method.java \
506 java/lang/reflect/Modifier.java \
507 java/net/BindException.java \
508 java/net/ConnectException.java \
509 java/net/ContentHandler.java \
510 java/net/ContentHandlerFactory.java \
511 java/net/FileNameMap.java \
512 java/net/HttpURLConnection.java \
513 java/net/InetAddress.java \
514 java/net/MalformedURLException.java \
515 java/net/NoRouteToHostException.java \
516 java/net/PlainSocketImpl.java \
517 java/net/ProtocolException.java \
518 java/net/ServerSocket.java \
519 java/net/Socket.java \
520 java/net/SocketException.java \
521 java/net/SocketImpl.java \
522 java/net/SocketImplFactory.java \
524 java/net/URLConnection.java \
525 java/net/URLDecoder.java \
526 java/net/URLEncoder.java \
527 java/net/URLStreamHandler.java \
528 java/net/URLStreamHandlerFactory.java \
529 java/net/UnknownHostException.java \
530 java/net/UnknownServiceException.java \
531 java/security/MessageDigest.java \
532 java/security/NoSuchAlgorithmException.java \
533 java/text/BreakIterator.java \
534 java/text/CharacterIterator.java \
535 java/text/ChoiceFormat.java \
536 java/text/DateFormat.java \
537 java/text/DateFormatSymbols.java \
538 java/text/DecimalFormat.java \
539 java/text/DecimalFormatSymbols.java \
540 java/text/FieldPosition.java \
541 java/text/Format.java \
542 java/text/MessageFormat.java \
543 java/text/NumberFormat.java \
544 java/text/ParseException.java \
545 java/text/ParsePosition.java \
546 java/text/SimpleDateFormat.java \
547 java/text/StringCharacterIterator.java \
548 java/util/BitSet.java \
549 java/util/Calendar.java \
550 java/util/ConcurrentModificationException.java \
551 java/util/Date.java \
552 java/util/Dictionary.java \
553 java/util/EmptyStackException.java \
554 java/util/Enumeration.java \
555 java/util/EventListener.java \
556 java/util/EventObject.java \
557 java/util/GregorianCalendar.java \
558 java/util/Hashtable.java \
559 java/util/ListResourceBundle.java \
560 java/util/Locale.java \
561 java/util/MissingResourceException.java \
562 java/util/NoSuchElementException.java \
563 java/util/Observable.java \
564 java/util/Observer.java \
565 java/util/Properties.java \
566 java/util/Random.java \
567 java/util/ResourceBundle.java \
568 java/util/SimpleTimeZone.java \
569 java/util/Stack.java \
570 java/util/StringTokenizer.java \
571 java/util/TimeZone.java \
572 java/util/TooManyListenersException.java \
573 java/util/Vector.java \
574 java/util/zip/Adler32.java \
575 java/util/zip/CRC32.java \
576 java/util/zip/Checksum.java \
577 java/util/zip/Deflater.java \
578 java/util/zip/DeflaterOutputStream.java \
579 java/util/zip/ZipConstants.java \
580 java/util/zip/ZipEntry.java \
581 java/util/zip/ZipException.java \
582 java/util/zip/ZipFile.java \
583 java/util/zip/ZipOutputStream.java
585 java_source_files = $(ordinary_java_source_files) $(special_java_source_files)
587 ## Math library: C, not C++
589 java/lang/dtoa.c java/lang/k_rem_pio2.c java/lang/s_tan.c \
590 java/lang/e_acos.c java/lang/k_sin.c java/lang/strtod.c \
591 java/lang/e_asin.c java/lang/k_tan.c java/lang/w_acos.c \
592 java/lang/e_atan2.c java/lang/mprec.c java/lang/w_asin.c \
593 java/lang/e_exp.c java/lang/s_atan.c java/lang/w_atan2.c \
594 java/lang/e_fmod.c java/lang/s_ceil.c java/lang/w_exp.c \
595 java/lang/e_log.c java/lang/s_copysign.c java/lang/w_fmod.c \
596 java/lang/e_pow.c java/lang/s_cos.c java/lang/w_log.c \
597 java/lang/e_rem_pio2.c java/lang/s_fabs.c java/lang/w_pow.c \
598 java/lang/e_remainder.c java/lang/s_floor.c java/lang/w_remainder.c \
599 java/lang/e_scalb.c java/lang/s_rint.c java/lang/w_sqrt.c \
600 java/lang/e_sqrt.c java/lang/s_scalbn.c java/lang/sf_rint.c \
601 java/lang/k_cos.c java/lang/s_sin.c
603 ## This lists all the C++ source files in subdirectories.
604 nat_source_files = java/lang/natObject.cc java/lang/natClass.cc \
605 java/lang/natString.cc java/lang/natDouble.cc java/lang/natRuntime.cc \
606 java/lang/natSystem.cc java/lang/natThread.cc java/io/natFile.cc \
607 java/io/natFileDescriptor.cc java/util/natDate.cc \
608 java/util/natGregorianCalendar.cc java/lang/natFirstThread.cc \
609 java/lang/natCharacter.cc java/lang/natMath.cc java/lang/natFloat.cc \
610 java/lang/reflect/natField.cc java/net/natInetAddress.cc \
611 java/net/natPlainSocketImpl.cc java/lang/reflect/natMethod.cc \
612 java/lang/reflect/natArray.cc gnu/gcj/convert/Unicode_to_JIS.cc \
613 gnu/gcj/convert/natInput_EUCJIS.cc gnu/gcj/convert/natOutput_EUCJIS.cc \
614 gnu/gcj/convert/natInput_SJIS.cc gnu/gcj/convert/natOutput_SJIS.cc \
615 gnu/gcj/convert/JIS0208_to_Unicode.cc \
616 gnu/gcj/convert/JIS0212_to_Unicode.cc
618 ## ################################################################
621 ## This section is for make and multilib madness.
624 # Work around what appears to be a GNU make bug handling MAKEFLAGS
625 # values defined in terms of make variables, as is the case for CC and
626 # friends when we are called from the top level Makefile.
628 "AR_FLAGS=$(AR_FLAGS)" \
629 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
631 "CXXFLAGS=$(CXXFLAGS)" \
632 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
633 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
634 "INSTALL=$(INSTALL)" \
635 "INSTALL_DATA=$(INSTALL_DATA)" \
636 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
637 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
638 "JC1FLAGS=$(JC1FLAGS)" \
639 "LDFLAGS=$(LDFLAGS)" \
640 "LIBCFLAGS=$(LIBCFLAGS)" \
641 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
643 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
644 "PICFLAG=$(PICFLAG)" \
645 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
647 "exec_prefix=$(exec_prefix)" \
648 "infodir=$(infodir)" \
656 "LIBCFLAGS=$(LIBCFLAGS)" \
658 "PICFLAG=$(PICFLAG)" \
662 CONFIG_STATUS_DEPENDENCIES = $(libgcj_basedir)/configure.host
666 # Multilib support variables.
675 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
676 maintainer-clean-multi
678 all-recursive: all-multi
679 install-recursive: install-multi
680 mostlyclean-recursive: mostlyclean-multi
681 clean-recursive: clean-multi
682 distclean-recursive: distclean-multi
683 maintainer-clean-recursive: maintainer-clean-multi
686 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
688 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
690 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
692 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
694 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
695 maintainer-clean-multi:
696 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
699 ## ################################################################