Author: jisom
Date: Mon Jan 30 18:09:59 2006
New Revision: 11384

Modified:
   trunk/config/gen/makefiles/root.in
Log:
Add a new make target, archclean, to remove platform specific files
All the src/pmc/*.{c,dump,str} files remain and won't need remade


Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in  (original)
+++ trunk/config/gen/makefiles/root.in  Mon Jan 30 18:09:59 2006
@@ -203,7 +203,6 @@ GEN_CONFIGS = \
        CFLAGS \
        $(IMCC_DIR)/CFLAGS \
        config_lib.pasm \
-       $(SRC_DIR)/nci_test$(O) \
        compilers/ast/ast.y.flag \
        $(BUILD_TOOLS_DIR)/dynpmc.pl \
        $(BUILD_TOOLS_DIR)/dynoplibs.pl \
@@ -641,6 +640,7 @@ help :
        @echo ""
        @echo "Cleaning:"
        @echo "  clean:             Basic cleaning up."
+       @echo "  archclean:         Remove any platform dependent files."
        @echo "  realclean:         Removes also files generated by 
'Configure.pl'"
        @echo "  distclean:         Removes also anything built, in theory."
        @echo "  svnclobber:        *Dangerous*: remove everything not in svn."
@@ -1417,7 +1417,15 @@ clean : \
        @TEMP_cg_r@
        $(RM_F) chartypes "*.s" "*~" $(FLUID_FILES)
 
-prog-clean :
+prog-clean : archclean
+       $(PERL) tools/build/c2str.pl --init
+       $(RM_F) \
+               $(INC_DIR)/string_private_cstring.h \
+               "$(SRC_DIR)/*.str" "src/pmc/*.str" \
+               "src/pmc/*.c" "src/pmc/*.h" "src/pmc/*.dump" \
+               vtable.dump "*.def" "*.lib" "*.exp"
+
+archclean: dynoplibs-clean dynpmc-clean dynext-clean
        $(RM_F) \
                $(O_FILES) \
                $(PARROT) \
@@ -1437,17 +1445,16 @@ prog-clean :
                $(SRC_DIR)/null_config$(O) \
                $(SRC_DIR)/parrot_config$(O) \
                $(SRC_DIR)/install_config$(O) \
-               install_config.fpmc \
                $(SRC_DIR)/asmfun.s \
+               $(SRC_DIR)/nci_test$(O) \
+               $(INC_DIR)/jit_emit.h \
+               $(INC_DIR)/exec_dep.h \
+               $(SRC_DIR)/jit_cpu.c \
+               $(SRC_DIR)/exec_cpu.c \
+               install_config.fpmc \
                $(LIBNCI_TEST_SO) \
                $(LIBPARROT_STATIC) \
                $(LIBPARROT_SHARED)
-       $(PERL) tools/build/c2str.pl --init
-       $(RM_F) \
-               $(INC_DIR)/string_private_cstring.h \
-               "$(SRC_DIR)/*.str" "src/pmc/*.str" \
-               "src/pmc/*.c" "src/pmc/*.h" "src/pmc/*.dump" \
-               vtable.dump "*.def" "*.lib" "*.exp"
 
 dynext-clean :
 # shared libs (LOAD_EXT, SHARE_EXT)

Reply via email to