Make-lang.in (GCJH_OBJS): Change dependency from ggc-none.o to java/ggc-none.o
authorMohan Embar <gnustuff@thisiscool.com>
Sat, 11 Sep 2004 19:05:32 +0000 (19:05 +0000)
committerMohan Embar <membar@gcc.gnu.org>
Sat, 11 Sep 2004 19:05:32 +0000 (19:05 +0000)
* Make-lang.in (GCJH_OBJS): Change dependency from
ggc-none.o to java/ggc-none.o
(JCFDUMP_OBJS): Likewise.
(java/ggc-none.o): New target.

From-SVN: r87359

gcc/java/ChangeLog
gcc/java/Make-lang.in

index 9dd0fa57507116e440e08caee867c19064347445..ebdbf55e9540c3dc584608e7f3b372890b891e38 100644 (file)
@@ -1,3 +1,10 @@
+2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * Make-lang.in (GCJH_OBJS): Change dependency from
+       ggc-none.o to java/ggc-none.o
+       (JCFDUMP_OBJS): Likewise.
+       (java/ggc-none.o): New target.
+
 2004-08-25  Nathan Sidwell  <nathan@codesourcery.com>
 
        * boehm.c (get_boehm_type_descriptor):  Adjust build_int_cst calls.
index afc22d8f2a1953e175d65b8604715ff385a1c234..ef7f685ff26950afdd8727dee5307aefd010ac0e 100644 (file)
@@ -108,13 +108,13 @@ JAVA_OBJS = java/parse.o java/class.o java/decl.o java/expr.o \
   java/jcf-path.o java/xref.o java/boehm.o java/java-gimplify.o
 
 GCJH_OBJS = java/gjavah.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \
-  java/win32-host.o java/zextract.o version.o errors.o ggc-none.o \
+  java/win32-host.o java/zextract.o version.o errors.o java/ggc-none.o \
   intl.o
 
 JVSCAN_OBJS = java/parse-scan.o java/jv-scan.o version.o intl.o
 
 JCFDUMP_OBJS = java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \
-               java/win32-host.o java/zextract.o errors.o version.o ggc-none.o intl.o
+               java/win32-host.o java/zextract.o errors.o version.o java/ggc-none.o intl.o
 
 JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o errors.o intl.o
 
@@ -342,6 +342,11 @@ java/parse.o: java/parse.c java/jcf-reader.c $(CONFIG_H) $(SYSTEM_H) \
   coretypes.h $(TM_H) function.h $(JAVA_TREE_H) $(JAVA_LEX_C) java/parse.h \
   java/lex.h input.h $(GGC_H) debug.h gt-java-parse.h gtype-java.h target.h
 
+# ggc-none.c is in the parent directory
+java/ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h ggc.h
+       $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+               $(srcdir)/ggc-none.c $(OUTPUT_OPTION)
+
 # jcf-io.o needs $(ZLIBINC) added to cflags.
 java/jcf-io.o: java/jcf-io.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
   $(JAVA_TREE_H)