Author: particle
Date: Tue Nov 15 07:52:55 2005
New Revision: 9986
Modified:
trunk/config/gen/makefiles/root.in
Log:
modify makefile clean targets, speeding things up a bit
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in (original)
+++ trunk/config/gen/makefiles/root.in Tue Nov 15 07:52:55 2005
@@ -843,11 +843,11 @@ $(SRC_DIR)/revision.c : $(SVN_ENTRIES) $
examples-clean:
$(RM_F) \
- examples/mops/mops$(O) \
- examples/mops/mops$(EXE) \
- examples/pasm/hello.pbc \
- examples/pasm/hello$(O) \
- examples/pasm/hello$(EXE)
+ examples/mops/mops$(O) \
+ examples/mops/mops$(EXE) \
+ examples/pasm/hello.pbc \
+ examples/pasm/hello$(O) \
+ examples/pasm/hello$(EXE)
# hello
hello: test_prep examples/pasm/hello$(EXE)
@@ -1361,93 +1361,97 @@ clean : \
prog-clean :
$(RM_F) \
- $(O_FILES) \
- $(PARROT) \
- $(MINIPARROT) \
- $(INSTALLABLEPARROT) \
- $(IMCC_DIR)/main$(O) \
- $(PDUMP) $(SRC_DIR)/pdump$(O) $(SRC_DIR)/packdump$(O) \
- $(SRC_DIR)/pbc_info$(O) $(PINFO) \
- $(PDB) $(SRC_DIR)/pdb$(O) \
- $(PBCMERGE) $(SRC_DIR)/pbc_merge$(O) \
- $(DIS) $(SRC_DIR)/disassemble$(O) \
- $(SRC_DIR)/null_config$(O) \
- $(SRC_DIR)/parrot_config$(O) \
- $(SRC_DIR)/install_config$(O) \
- install_config.fpmc \
- $(LIBNCI_TEST_SO) \
- $(LIBPARROT)
+ $(O_FILES) \
+ $(PARROT) \
+ $(MINIPARROT) \
+ $(INSTALLABLEPARROT) \
+ $(IMCC_DIR)/main$(O) \
+ $(PDUMP) $(SRC_DIR)/pdump$(O) $(SRC_DIR)/packdump$(O) \
+ $(SRC_DIR)/pbc_info$(O) $(PINFO) \
+ $(PDB) $(SRC_DIR)/pdb$(O) \
+ $(PBCMERGE) $(SRC_DIR)/pbc_merge$(O) \
+ $(DIS) $(SRC_DIR)/disassemble$(O) \
+ $(SRC_DIR)/null_config$(O) \
+ $(SRC_DIR)/parrot_config$(O) \
+ $(SRC_DIR)/install_config$(O) \
+ install_config.fpmc \
+ $(LIBNCI_TEST_SO) \
+ $(LIBPARROT)
$(PERL) build_tools/c2str.pl --init
- $(RM_F) $(STR_FILES) $(INC_DIR)/string_private_cstring.h
- $(RM_F) classes/*.c classes/*.h classes/*.dump vtable.dump
- $(RM_F) *.def *.lib *.exp
+ $(RM_F) \
+ $(STR_FILES) $(INC_DIR)/string_private_cstring.h \
+ classes/*.c classes/*.h classes/*.dump vtable.dump \
+ *.def *.lib *.exp
dynext-clean :
# shared libs
- $(RM_F) $(DYNEXT_DIR)/*$(LOAD_EXT)
- $(RM_F) $(DYNEXT_DIR)/*$(SHARE_EXT)
+ $(RM_F) \
+ $(DYNEXT_DIR)/*$(LOAD_EXT) \
+ $(DYNEXT_DIR)/*$(SHARE_EXT) \
# win32 import library (shared object is deleted by LIBNCI_TEST_SO above)
- $(RM_F) $(DYNEXT_DIR)/*.lib
+ $(DYNEXT_DIR)/*.lib \
# win32 program data base - contains debugging info
- $(RM_F) *.pdb $(DYNEXT_DIR)/*.pdb
+ *.pdb $(DYNEXT_DIR)/*.pdb \
# win32 incremental link status files
- $(RM_F) *.ilk $(DYNEXT_DIR)/*.ilk
+ *.ilk $(DYNEXT_DIR)/*.ilk \
# win32 exported functions and data items
- $(RM_F) $(DYNEXT_DIR)/*.exp
+ $(DYNEXT_DIR)/*.exp \
# win32 export definition files
- $(RM_F) *.def
+ *.def
# Remove files generated by the test suite
test-clean :
- $(RM_F) t/benchmarks*.imc
- $(RM_F) t/benchmarks*.pir
- $(RM_F) t/benchmarks*.pasm
- $(RM_F) t/library/*.imc
- $(RM_F) t/library/*.pir
- $(RM_F) t/library/*.pbc
- $(RM_F) t/op/*.pasm
- $(RM_F) t/op/*.imc
- $(RM_F) t/op/*.pir
- $(RM_F) t/op/*.pbc
- $(RM_F) t/op/*.out
- $(RM_F) t/op/*.o
- $(RM_F) t/op/*.stabs.s
- $(RM_F) t/pmc/*.pasm
- $(RM_F) t/pmc/*.imc
- $(RM_F) t/pmc/*.pir
- $(RM_F) t/pmc/*.pbc
- $(RM_F) t/pmc/*.out
- $(RM_F) t/pmc/*.o
- $(RM_F) t/pmc/*.stabs.s
- $(RM_F) t/p6rules/*.pir
- $(RM_F) t/p6rules/*.pbc
- $(RM_F) t/p6rules/*.pasm
- $(RM_F) t/p6rules/*.out
- $(RM_F) t/stress/*.pasm
- $(RM_F) t/stress/*.pbc
- $(RM_F) t/stress/*.out
- $(RM_F) t/stress/*.o
- $(RM_F) t/stress/*.stabs.s
- $(RM_F) t/src/*.c
- $(RM_F) t/tools/*.imc
- $(RM_F) t/tools/*.pbc
- $(RM_F) $(IMCC_DIR)/t/*/*.out
- $(RM_F) $(IMCC_DIR)/t/*/*.imc
- $(RM_F) $(IMCC_DIR)/t/*/*.pir
- $(RM_F) $(IMCC_DIR)/t/*/*.pbc
- $(RM_F) $(IMCC_DIR)/t/*/*.o
- $(RM_F) $(IMCC_DIR)/t/*/*.stabs.s
- $(RM_F) $(IMCC_DIR)/t/*/*.pasm
+ $(RM_F) \
+ t/benchmarks*.imc \
+ t/benchmarks*.pir \
+ t/benchmarks*.pasm \
+ t/library/*.imc \
+ t/library/*.pir \
+ t/library/*.pbc \
+ t/op/*.pasm \
+ t/op/*.imc \
+ t/op/*.pir \
+ t/op/*.pbc \
+ t/op/*.out \
+ t/op/*.o \
+ t/op/*.stabs.s \
+ t/pmc/*.pasm \
+ t/pmc/*.imc \
+ t/pmc/*.pir \
+ t/pmc/*.pbc \
+ t/pmc/*.out \
+ t/pmc/*.o \
+ t/pmc/*.stabs.s \
+ t/p6rules/*.pir \
+ t/p6rules/*.pbc \
+ t/p6rules/*.pasm \
+ t/p6rules/*.out \
+ t/stress/*.pasm \
+ t/stress/*.pbc \
+ t/stress/*.out \
+ t/stress/*.o \
+ t/stress/*.stabs.s \
+ t/src/*.c \
+ t/tools/*.imc \
+ t/tools/*.pbc \
+ $(IMCC_DIR)/t/*/*.out \
+ $(IMCC_DIR)/t/*/*.imc \
+ $(IMCC_DIR)/t/*/*.pir \
+ $(IMCC_DIR)/t/*/*.pbc \
+ $(IMCC_DIR)/t/*/*.o \
+ $(IMCC_DIR)/t/*/*.stabs.s \
+ $(IMCC_DIR)/t/*/*.pasm
imcc-clean:
$(RM_F) \
- $(IMCC_DIR)/core \
- $(IMCC_DIR)/*.o \
- $(IMCC_DIR)/imcparser.output
+ $(IMCC_DIR)/core \
+ $(IMCC_DIR)/*.o \
+ $(IMCC_DIR)/imcparser.output
realclean : clean
- $(RM_F) $(STICKY_FILES)
- $(RM_RF) blib
+ $(RM_F) \
+ $(STICKY_FILES) \
+ blib
distclean : realclean