[svn:parrot] r42290 - trunk/config/gen/makefiles

coke at svn.parrot.org coke at svn.parrot.org
Fri Nov 6 00:55:06 UTC 2009


Author: coke
Date: Fri Nov  6 00:55:06 2009
New Revision: 42290
URL: https://trac.parrot.org/parrot/changeset/42290

Log:
Improve dependencies.
- based on results of tools/dev/checkdepend.pl

Modified:
   trunk/config/gen/makefiles/root.in

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	Fri Nov  6 00:53:00 2009	(r42289)
+++ trunk/config/gen/makefiles/root.in	Fri Nov  6 00:55:06 2009	(r42290)
@@ -869,11 +869,11 @@
 $(SRC_DIR)/oo$(O) : $(INC_DIR)/parrot.h $(SRC_DIR)/pmc/pmc_class.h $(SRC_DIR)/pmc/pmc_object.h $(SRC_DIR)/pmc/pmc_context.h $(INC_DIR)/pbcversion.h $(SRC_DIR)/oo.str
 
 $(SRC_DIR)/scheduler$(O) : $(INC_DIR)/parrot.h \
-                           $(SRC_DIR)/scheduler.str   \
-                           $(SRC_DIR)/pmc/scheduler.c \
+                           $(SRC_DIR)/scheduler.str \
+                           $(SRC_DIR)/pmc/pmc_scheduler.h \
                            $(SRC_DIR)/pmc/pmc_context.h \
-                           $(SRC_DIR)/pmc/task.c      \
-                           $(SRC_DIR)/pmc/timer.c     \
+                           $(SRC_DIR)/pmc/pmc_task.h \
+                           $(SRC_DIR)/pmc/pmc_timer.h \
                            $(INC_DIR)/pbcversion.h
 
 $(IO_DIR)/core$(O) : $(INC_DIR)/parrot.h $(SRC_DIR)/pmc/socket.c
@@ -931,7 +931,8 @@
 # Parrot Debugger
 #
 
-$(SRC_DIR)/parrot_debugger$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/parrot_debugger$(O) : $(GENERAL_H_FILES) \
+        compilers/imcc/imc.h compilers/imcc/parser.h
 
 $(PDB) : $(SRC_DIR)/parrot_debugger$(O) $(SRC_DIR)/parrot_config$(O) $(LIBPARROT)
 	$(LINK) @ld_out@$@ \
@@ -1064,9 +1065,10 @@
 $(SRC_DIR)/global_setup$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/global_setup.str $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/global$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/global.str \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_context.h
 
-$(SRC_DIR)/pmc$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_class.h
+$(SRC_DIR)/pmc$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_class.h \
+	$(SRC_DIR)/pmc.str $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/pmc_freeze$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc_freeze.str
 
@@ -1074,22 +1076,26 @@
 
 $(SRC_DIR)/list$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/library$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/library$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/library.str
 
 $(INC_DIR)/extend_vtable.h $(SRC_DIR)/extend_vtable.c $(SRC_DIR)/vtable.h : src/vtable.tbl $(BUILD_TOOLS_DIR)/vtable_extend.pl lib/Parrot/Vtable.pm
 	$(PERL) $(BUILD_TOOLS_DIR)/vtable_extend.pl
 
-$(SRC_DIR)/key$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/key.str $(SRC_DIR)/pmc/pmc_key.h
+$(SRC_DIR)/key$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/key.str \
+        $(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/gc/mark_sweep$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_private.h
 
-$(SRC_DIR)/gc/gc_ms$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_ms.c
+$(SRC_DIR)/gc/gc_ms$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_ms.c \
+        $(SRC_DIR)/gc/gc_private.h
 
-$(SRC_DIR)/gc/gc_inf$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_inf.c
+$(SRC_DIR)/gc/gc_inf$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_inf.c \
+        $(SRC_DIR)/gc/gc_private.h
 
 $(SRC_DIR)/gc/api$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/gc/gc_private.h
 
-$(SRC_DIR)/gc/alloc_resources$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/gc/alloc_resources$(O) : $(GENERAL_H_FILES) \
+        $(SRC_DIR)/gc/gc_private.h
 
 $(SRC_DIR)/hll$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/hll.str $(SRC_DIR)/pmc/pmc_context.h
 
@@ -1099,63 +1105,75 @@
 #IF(platform_asm):
 $(SRC_DIR)/core_pmcs$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/runcore/trace$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_sub.h
+$(SRC_DIR)/runcore/trace$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_sub.h \
+        $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/debug$(O) : $(GENERAL_H_FILES) $(INC_DIR)/debugger.h \
-    $(SRC_DIR)/debug.str $(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_continuation.h
+    $(SRC_DIR)/debug.str $(SRC_DIR)/pmc/pmc_key.h \
+    $(SRC_DIR)/pmc/pmc_continuation.h \
+    $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/sub$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/sub.str \
-	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_continuation.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_continuation.h \
+	$(SRC_DIR)/pmc/pmc_context.h
 
-$(SRC_DIR)/string/api$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/string/private_cstring.h
+$(SRC_DIR)/string/api$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/string/api.str \
+        $(SRC_DIR)/string/private_cstring.h
 
 $(SRC_DIR)/string/primitives$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/longopt$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/dynext$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/dynext.str \
-	$(SRC_DIR)/pmc/pmc_parrotlibrary.h
+	$(SRC_DIR)/pmc/pmc_parrotlibrary.h $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/exceptions$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/exceptions.str \
 	$(SRC_DIR)/pmc/pmc_continuation.h \
 	$(SRC_DIR)/pmc/pmc_context.h
 
-$(SRC_DIR)/events$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/events$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/events.str
 
 $(SRC_DIR)/thread$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_sub.h \
 	$(SRC_DIR)/pmc/pmc_parrotinterpreter.h
 
 $(SRC_DIR)/extend$(O) : $(GENERAL_H_FILES) $(INC_DIR)/extend.h \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_context.h 
 
 $(SRC_DIR)/runcore/main$(O) : $(SRC_DIR)/runcore/main.c \
 	$(SRC_DIR)/runcore/main.str $(GENERAL_H_FILES) \
-	$(SRC_DIR)/pmc/pmc_parrotlibrary.h
+	$(SRC_DIR)/pmc/pmc_parrotlibrary.h \
+	$(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/runcore/profiling$(O) : $(SRC_DIR)/runcore/profiling.str $(GENERAL_H_FILES) \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h \
+	$(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/call/args$(O) : $(SRC_DIR)/call/args.c $(GENERAL_H_FILES) \
 	$(SRC_DIR)/call/args.str \
-	$(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_callsignature.h
+	$(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_callsignature.h \
+	$(SRC_DIR)/pmc/pmc_fixedintegerarray.h $(SRC_DIR)/pmc/pmc_context.h
 
-$(SRC_DIR)/call/context_accessors$(O): $(GENERAL_H_FILES)
+$(SRC_DIR)/call/context_accessors$(O): $(GENERAL_H_FILES) \
+	$(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/call/pcc$(O) : $(SRC_DIR)/call/pcc.c $(GENERAL_H_FILES) \
 	$(SRC_DIR)/call/pcc.str $(SRC_DIR)/pmc/pmc_fixedintegerarray.h \
-	$(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_continuation.h
+	$(SRC_DIR)/pmc/pmc_key.h $(SRC_DIR)/pmc/pmc_continuation.h \
+	$(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/call/context$(O) : $(SRC_DIR)/call/context.c $(GENERAL_H_FILES) \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/interp/inter_cb$(O) : $(SRC_DIR)/interp/inter_cb.c \
 	$(GENERAL_H_FILES) $(SRC_DIR)/interp/inter_cb.str
 
 $(SRC_DIR)/interp/inter_misc$(O) : $(SRC_DIR)/interp/inter_misc.c \
-	$(GENERAL_H_FILES) $(SRC_DIR)/interp/inter_misc.str
+	$(GENERAL_H_FILES) $(SRC_DIR)/interp/inter_misc.str \
+        $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/interp/inter_create$(O) : $(SRC_DIR)/interp/inter_create.c \
-	$(GENERAL_H_FILES) $(SRC_DIR)/interp/inter_create.str
+	$(GENERAL_H_FILES) $(SRC_DIR)/interp/inter_create.str \
+        $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/call/ops$(O) : $(SRC_DIR)/call/ops.c $(GENERAL_H_FILES) \
 	$(SRC_DIR)/pmc/pmc_continuation.h
@@ -1177,10 +1195,12 @@
 $(SRC_DIR)/main$(O) : $(SRC_DIR)/main.c $(GENERAL_H_FILES)
 
 $(SRC_DIR)/multidispatch$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/multidispatch.str \
-	$(SRC_DIR)/pmc/pmc_nci.h $(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_nci.h $(SRC_DIR)/pmc/pmc_sub.h \
+	$(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/packfile$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/packfile.str \
-	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_key.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_key.h \
+        $(SRC_DIR)/pmc/pmc_context.h compilers/imcc/imc.h
 
 $(PF_DIR)/pf_items$(O) : $(GENERAL_H_FILES)
 
@@ -1189,19 +1209,21 @@
 $(SRC_DIR)/parrot$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/runcore/cores$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/runcore/cores.str \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/tsq$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/embed$(O) : $(GENERAL_H_FILES) $(INC_DIR)/debugger.h \
-	$(SRC_DIR)/pmc/pmc_sub.h
+	$(SRC_DIR)/pmc/pmc_sub.h $(SRC_DIR)/pmc/pmc_context.h \
+        compilers/imcc/imc.h
 
 $(SRC_DIR)/dataypes$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/dataypes.c
 
 $(SRC_DIR)/exit$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/exit.c
 
 $(SRC_DIR)/nci$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/nci.c $(SRC_DIR)/nci.str \
-        $(SRC_DIR)/frame_builder$(O) \
+        $(SRC_DIR)/frame_builder.h \
+        $(SRC_DIR)/pmc/pmc_context.h \
         $(SRC_DIR)/pmc/pmc_unmanagedstruct.h \
         $(SRC_DIR)/pmc/pmc_managedstruct.h \
         $(SRC_DIR)/pmc/pmc_nci.h \
@@ -1222,7 +1244,7 @@
 	$(SRC_DIR)/pmc/pmc_nci.h
 	$(PERL) $(BUILD_TOOLS_DIR)/nativecall.pl $(SRC_DIR)/call_list.txt
 
-$(SRC_DIR)/warnings$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/warnings$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_context.h
 
 $(SRC_DIR)/misc$(O) : $(GENERAL_H_FILES)
 
@@ -1235,7 +1257,15 @@
 $(SRC_DIR)/string/encoding$(O) : $(SRC_DIR)/string/encoding.c \
 	$(INC_DIR)/config.h $(GENERAL_H_FILES)
 
-$(SRC_DIR)/string/charset$(O) : $(SRC_DIR)/string/charset.c $(GENERAL_H_FILES)
+$(SRC_DIR)/string/charset$(O) : $(SRC_DIR)/string/charset.c $(GENERAL_H_FILES) \
+        $(SRC_DIR)/string/encoding/fixed_8.h \
+        $(SRC_DIR)/string/encoding/utf8.h \
+        $(SRC_DIR)/string/encoding/utf16.h \
+        $(SRC_DIR)/string/encoding/ucs2.h \
+        $(SRC_DIR)/string/charset/ascii.h \
+        $(SRC_DIR)/string/charset/binary.h \
+        $(SRC_DIR)/string/charset/iso-8859-1.h \
+        $(SRC_DIR)/string/charset/unicode.h
 
 $(SRC_DIR)/pbc_merge$(O) : $(SRC_DIR)/pbc_merge.c $(GENERAL_H_FILES) \
 	$(SRC_DIR)/pmc/pmc_sub.h


More information about the parrot-commits mailing list