Author: particle
Date: Tue Nov 15 08:20:56 2005
New Revision: 9988
Modified:
trunk/config/gen/makefiles/root.in
Log:
hopefully fixed non-win32 make realclean failures
modified leading whitespace
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in (original)
+++ trunk/config/gen/makefiles/root.in Tue Nov 15 08:20:56 2005
@@ -105,13 +105,13 @@ LINT = splint
# note: +distinctinternalnames with +externalnamelen at 8 characters
# (the ANSI standard) is not going to fly for us.
LINTFLAGS = -weak +showscan +showsummary +posixstrictlib -abstract \
- +aliasunique +ansireserved +ansireservedinternal +assignexpose \
- +bitwisesigned +boolcompare +booltype BOOLVAL +casebreak -castfcnptr \
- -charint +continuecomment +controlnestdepth 15 +cppnames +declundef \
- +distinctinternalnames +evalorder +fielduse +forcehints -globs \
- +imptype +includenest 8 +incondefs +incondefslib +linelen 9999 \
- +longintegral +macroassign +macroempty +macroredef +matchanyintegral \
- +nestedextern +noeffect +readonlystrings +realcompare +shadow -type
+ +aliasunique +ansireserved +ansireservedinternal +assignexpose \
+ +bitwisesigned +boolcompare +booltype BOOLVAL +casebreak -castfcnptr \
+ -charint +continuecomment +controlnestdepth 15 +cppnames +declundef \
+ +distinctinternalnames +evalorder +fielduse +forcehints -globs \
+ +imptype +includenest 8 +incondefs +incondefslib +linelen 9999 \
+ +longintegral +macroassign +macroempty +macroredef +matchanyintegral \
+ +nestedextern +noeffect +readonlystrings +realcompare +shadow -type
# slightly weaker, more realistic variant.
LINTFLAGS2 = $(LINTFLAGS) -ansireserved -retvalother -bitwisesigned
@@ -153,63 +153,63 @@ NONGEN_HEADERS = ${TEMP_nongen_headers}
###############################################################################
GEN_MAKEFILES = \
- Makefile \
- languages/Makefile \
-#CONDITIONED_LINE(has_perldoc): docs/Makefile \
- dynclasses/Makefile \
- dynoplibs/Makefile \
- languages/amber/Makefile \
- languages/cola/Makefile \
- languages/parrot_compiler/Makefile \
- languages/jako/Makefile \
- languages/miniperl/Makefile \
- languages/scheme/Makefile \
- languages/befunge/Makefile \
- languages/bf/Makefile \
- languages/ook/Makefile \
- languages/lisp/Makefile \
- languages/m4/Makefile \
- languages/perl6/Makefile \
- languages/urm/Makefile \
- languages/tcl/Makefile \
- languages/tcl/examples/Makefile \
- editor/Makefile \
- compilers/pge/Makefile \
- languages/punie/Makefile \
- languages/bc/Makefile \
- languages/Zcode/Makefile
+ Makefile \
+ languages/Makefile \
+#CONDITIONED_LINE(has_perldoc): docs/Makefile \
+ dynclasses/Makefile \
+ dynoplibs/Makefile \
+ languages/amber/Makefile \
+ languages/cola/Makefile \
+ languages/parrot_compiler/Makefile \
+ languages/jako/Makefile \
+ languages/miniperl/Makefile \
+ languages/scheme/Makefile \
+ languages/befunge/Makefile \
+ languages/bf/Makefile \
+ languages/ook/Makefile \
+ languages/lisp/Makefile \
+ languages/m4/Makefile \
+ languages/perl6/Makefile \
+ languages/urm/Makefile \
+ languages/tcl/Makefile \
+ languages/tcl/examples/Makefile \
+ editor/Makefile \
+ compilers/pge/Makefile \
+ languages/punie/Makefile \
+ languages/bc/Makefile \
+ languages/Zcode/Makefile
GEN_CONFIGS = \
- include/parrot/config.h \
- include/parrot/platform.h \
- include/parrot/platform_interface.h \
- include/parrot/has_header.h \
- include/parrot/feature.h \
- include/parrot/core_pmcs.h \
- include/parrot/exec_dep.h \
- lib/Parrot/Config.pm \
- lib/Parrot/PMC.pm \
- runtime/parrot/include/config.fpmc \
- $(SRC_DIR)/platform.c \
- $(SRC_DIR)/revision.c \
-#CONDITIONED_LINE(platform_asm): $(SRC_DIR)/platform_asm.s \
- $(SRC_DIR)/core_pmcs.c \
- CFLAGS \
- $(IMCC_DIR)/CFLAGS \
- config_lib.pasm \
- $(SRC_DIR)/nci_test$(O) \
- libparrot.def \
- ast/ast.y.flag \
- build_tools/build_dynclasses.pl \
- $(IMCC_DIR)/imcc.y.flag \
- ops/core_ops.c \
- ops/core_ops_switch.c
+ include/parrot/config.h \
+ include/parrot/platform.h \
+ include/parrot/platform_interface.h \
+ include/parrot/has_header.h \
+ include/parrot/feature.h \
+ include/parrot/core_pmcs.h \
+ include/parrot/exec_dep.h \
+ lib/Parrot/Config.pm \
+ lib/Parrot/PMC.pm \
+ runtime/parrot/include/config.fpmc \
+ $(SRC_DIR)/platform.c \
+ $(SRC_DIR)/revision.c \
+#CONDITIONED_LINE(platform_asm): $(SRC_DIR)/platform_asm.s \
+ $(SRC_DIR)/core_pmcs.c \
+ CFLAGS \
+ $(IMCC_DIR)/CFLAGS \
+ config_lib.pasm \
+ $(SRC_DIR)/nci_test$(O) \
+ libparrot.def \
+ ast/ast.y.flag \
+ build_tools/build_dynclasses.pl \
+ $(IMCC_DIR)/imcc.y.flag \
+ ops/core_ops.c \
+ ops/core_ops_switch.c
# most of these are generated by config/gen/parrot_include.pl
GEN_PASM_INCLUDES = \
- runtime/parrot/include/signal.pasm \
- ${TEMP_gen_pasm_includes}
+ runtime/parrot/include/signal.pasm \
+ ${TEMP_gen_pasm_includes}
STICKY_FILES = $(GEN_CONFIGS) $(GEN_MAKEFILES) myconfig $(GEN_PASM_INCLUDES)
@@ -227,69 +227,69 @@ STICKY_FILES = $(GEN_CONFIGS) $(GEN_MAKE
GEN_OPSFILES =
GEN_HEADERS = \
- $(INC_DIR)/vtable.h \
- $(INC_DIR)/oplib/core_ops.h \
- $(INC_DIR)/oplib/ops.h \
- $(INC_DIR)/oplib/core_ops_switch.h \
- $(INC_DIR)/extend_vtable.h
+ $(INC_DIR)/vtable.h \
+ $(INC_DIR)/oplib/core_ops.h \
+ $(INC_DIR)/oplib/ops.h \
+ $(INC_DIR)/oplib/core_ops_switch.h \
+ $(INC_DIR)/extend_vtable.h
GEN_SOURCES = \
- $(SRC_DIR)/core_ops.c \
- $(SRC_DIR)/fingerprint.c \
- $(SRC_DIR)/nci.c \
- $(SRC_DIR)/core_ops_switch.c \
- $(SRC_DIR)/jit_cpu.c \
- $(SRC_DIR)/parrot_config.c \
- $(SRC_DIR)/null_config.c \
- $(SRC_DIR)/install_config.c \
- $(SRC_DIR)/exec_cpu.c \
- $(SRC_DIR)/extend_vtable.c
+ $(SRC_DIR)/core_ops.c \
+ $(SRC_DIR)/fingerprint.c \
+ $(SRC_DIR)/nci.c \
+ $(SRC_DIR)/core_ops_switch.c \
+ $(SRC_DIR)/jit_cpu.c \
+ $(SRC_DIR)/parrot_config.c \
+ $(SRC_DIR)/null_config.c \
+ $(SRC_DIR)/install_config.c \
+ $(SRC_DIR)/exec_cpu.c \
+ $(SRC_DIR)/extend_vtable.c
GEN_MODULES = \
- lib/Parrot/OpLib/core.pm
+ lib/Parrot/OpLib/core.pm
GEN_LIBRARY = \
- $(LIBRARY_DIR)/config.pbc \
- $(LIBRARY_DIR)/Data/Dumper/Base.pbc \
- $(LIBRARY_DIR)/Data/Dumper/Default.pbc \
- $(LIBRARY_DIR)/Data/Dumper.pbc \
- $(LIBRARY_DIR)/Data/Escape.pbc \
- $(LIBRARY_DIR)/Data/Sort.pbc \
- $(LIBRARY_DIR)/Digest/MD5.pbc \
- $(LIBRARY_DIR)/dumper.pbc \
- $(LIBRARY_DIR)/Getopt/Long.pbc \
- $(LIBRARY_DIR)/JSON.pbc \
- $(LIBRARY_DIR)/ncurses.pbc \
- $(LIBRARY_DIR)/parrotlib.pbc \
- $(LIBRARY_DIR)/pcre.pbc \
- $(LIBRARY_DIR)/PGE/Dumper.pbc \
- $(LIBRARY_DIR)/PGE/Glob.pbc \
- $(LIBRARY_DIR)/PGE/Text.pbc \
- $(LIBRARY_DIR)/Stream/Base.pbc \
- $(LIBRARY_DIR)/Stream/Combiner.pbc \
- $(LIBRARY_DIR)/Stream/Coroutine.pbc \
- $(LIBRARY_DIR)/Stream/Filter.pbc \
- $(LIBRARY_DIR)/Stream/Lines.pbc \
- $(LIBRARY_DIR)/Stream/ParrotIO.pbc \
- $(LIBRARY_DIR)/Stream/Replay.pbc \
- $(LIBRARY_DIR)/Stream/Sub.pbc \
- $(LIBRARY_DIR)/Stream/Writer.pbc \
- $(LIBRARY_DIR)/YAML/Parser/Syck.pbc
+ $(LIBRARY_DIR)/config.pbc \
+ $(LIBRARY_DIR)/Data/Dumper/Base.pbc \
+ $(LIBRARY_DIR)/Data/Dumper/Default.pbc \
+ $(LIBRARY_DIR)/Data/Dumper.pbc \
+ $(LIBRARY_DIR)/Data/Escape.pbc \
+ $(LIBRARY_DIR)/Data/Sort.pbc \
+ $(LIBRARY_DIR)/Digest/MD5.pbc \
+ $(LIBRARY_DIR)/dumper.pbc \
+ $(LIBRARY_DIR)/Getopt/Long.pbc \
+ $(LIBRARY_DIR)/JSON.pbc \
+ $(LIBRARY_DIR)/ncurses.pbc \
+ $(LIBRARY_DIR)/parrotlib.pbc \
+ $(LIBRARY_DIR)/pcre.pbc \
+ $(LIBRARY_DIR)/PGE/Dumper.pbc \
+ $(LIBRARY_DIR)/PGE/Glob.pbc \
+ $(LIBRARY_DIR)/PGE/Text.pbc \
+ $(LIBRARY_DIR)/Stream/Base.pbc \
+ $(LIBRARY_DIR)/Stream/Combiner.pbc \
+ $(LIBRARY_DIR)/Stream/Coroutine.pbc \
+ $(LIBRARY_DIR)/Stream/Filter.pbc \
+ $(LIBRARY_DIR)/Stream/Lines.pbc \
+ $(LIBRARY_DIR)/Stream/ParrotIO.pbc \
+ $(LIBRARY_DIR)/Stream/Replay.pbc \
+ $(LIBRARY_DIR)/Stream/Sub.pbc \
+ $(LIBRARY_DIR)/Stream/Writer.pbc \
+ $(LIBRARY_DIR)/YAML/Parser/Syck.pbc
# XXX Why don't these build?
- #runtime/parrot/library/libpcre.pbc \
- #runtime/parrot/library/Data/Replace.pbc \
- #runtime/parrot/library/postgres.pbc \
+ #runtime/parrot/library/libpcre.pbc \
+ #runtime/parrot/library/Data/Replace.pbc \
+ #runtime/parrot/library/postgres.pbc \
# the dependencies of jit_emit.h are done explicitely
# including this file in GEN_HEADERS causes unnecessary recompile of all
FLUID_FILES = \
- $(GEN_OPSFILES) \
- $(GEN_HEADERS) \
- $(GEN_SOURCES) \
- $(GEN_MODULES) \
- $(GEN_LIBRARY) \
- $(INC_DIR)/jit_emit.h \
- runtime/parrot/include/parrotlib.pbc
+ $(GEN_OPSFILES) \
+ $(GEN_HEADERS) \
+ $(GEN_SOURCES) \
+ $(GEN_MODULES) \
+ $(GEN_LIBRARY) \
+ $(INC_DIR)/jit_emit.h \
+ runtime/parrot/include/parrotlib.pbc
###############################################################################
@@ -300,43 +300,43 @@ FLUID_FILES = \
# these are private to the IMCC subsystem
IMCC_H_FILES = \
- $(IMCC_DIR)/imc.h \
- $(IMCC_DIR)/cfg.h \
- $(IMCC_DIR)/instructions.h \
- $(IMCC_DIR)/debug.h \
- $(IMCC_DIR)/sets.h \
- $(IMCC_DIR)/unit.h \
- $(IMCC_DIR)/symreg.h \
- $(IMCC_DIR)/pbc.h \
- $(IMCC_DIR)/optimizer.h \
- $(IMCC_DIR)/parser.h \
- $(IMCC_DIR)/imcparser.h
+ $(IMCC_DIR)/imc.h \
+ $(IMCC_DIR)/cfg.h \
+ $(IMCC_DIR)/instructions.h \
+ $(IMCC_DIR)/debug.h \
+ $(IMCC_DIR)/sets.h \
+ $(IMCC_DIR)/unit.h \
+ $(IMCC_DIR)/symreg.h \
+ $(IMCC_DIR)/pbc.h \
+ $(IMCC_DIR)/optimizer.h \
+ $(IMCC_DIR)/parser.h \
+ $(IMCC_DIR)/imcparser.h
IMCC_O_FILES = \
- $(IMCC_DIR)/imcparser$(O) \
- $(IMCC_DIR)/imclexer$(O) \
- $(IMCC_DIR)/imc$(O) \
- $(IMCC_DIR)/symreg$(O) \
- $(IMCC_DIR)/instructions$(O) \
- $(IMCC_DIR)/cfg$(O) \
- $(IMCC_DIR)/reg_alloc$(O) \
- $(IMCC_DIR)/sets$(O) \
- $(IMCC_DIR)/debug$(O) \
- $(IMCC_DIR)/optimizer$(O) \
- $(IMCC_DIR)/pbc$(O) \
- $(IMCC_DIR)/parser_util$(O) \
- $(IMCC_DIR)/jit$(O) \
- $(IMCC_DIR)/pcc$(O)
+ $(IMCC_DIR)/imcparser$(O) \
+ $(IMCC_DIR)/imclexer$(O) \
+ $(IMCC_DIR)/imc$(O) \
+ $(IMCC_DIR)/symreg$(O) \
+ $(IMCC_DIR)/instructions$(O) \
+ $(IMCC_DIR)/cfg$(O) \
+ $(IMCC_DIR)/reg_alloc$(O) \
+ $(IMCC_DIR)/sets$(O) \
+ $(IMCC_DIR)/debug$(O) \
+ $(IMCC_DIR)/optimizer$(O) \
+ $(IMCC_DIR)/pbc$(O) \
+ $(IMCC_DIR)/parser_util$(O) \
+ $(IMCC_DIR)/jit$(O) \
+ $(IMCC_DIR)/pcc$(O)
AST_H_FILES = \
- $(AST_DIR)/ast.h \
- $(AST_DIR)/astparser.h
+ $(AST_DIR)/ast.h \
+ $(AST_DIR)/astparser.h
AST_O_FILES = \
- $(AST_DIR)/astparser$(O) \
- $(AST_DIR)/astlexer$(O) \
- $(AST_DIR)/ast_main$(O) \
- $(AST_DIR)/node$(O)
+ $(AST_DIR)/astparser$(O) \
+ $(AST_DIR)/astlexer$(O) \
+ $(AST_DIR)/ast_main$(O) \
+ $(AST_DIR)/node$(O)
# generated list of header files
GENERAL_H_FILES = $(NONGEN_HEADERS) $(GEN_HEADERS) ${TEMP_cg_h}
@@ -351,98 +351,98 @@ ENCODING_O_FILES = ${TEMP_encoding_o}
IO_O_FILES = \
- $(IO_DIR)/io$(O) \
- $(IO_DIR)/io_buf$(O) \
- $(IO_DIR)/io_layers$(O) \
- $(IO_DIR)/io_unix$(O) \
- $(IO_DIR)/io_utf8$(O) \
- $(IO_DIR)/io_mmap$(O) \
- $(IO_DIR)/io_win32$(O) \
- $(IO_DIR)/io_stdio$(O) \
- $(IO_DIR)/io_passdown$(O)
+ $(IO_DIR)/io$(O) \
+ $(IO_DIR)/io_buf$(O) \
+ $(IO_DIR)/io_layers$(O) \
+ $(IO_DIR)/io_unix$(O) \
+ $(IO_DIR)/io_utf8$(O) \
+ $(IO_DIR)/io_mmap$(O) \
+ $(IO_DIR)/io_win32$(O) \
+ $(IO_DIR)/io_stdio$(O) \
+ $(IO_DIR)/io_passdown$(O)
INTERP_O_FILES = \
- $(SRC_DIR)/charset$(O) \
- $(SRC_DIR)/encoding$(O) \
- $(SRC_DIR)/exceptions$(O) \
- $(SRC_DIR)/global_setup$(O) \
- $(SRC_DIR)/interpreter$(O) \
- $(SRC_DIR)/inter_call$(O) \
- $(SRC_DIR)/inter_cb$(O) \
- $(SRC_DIR)/inter_create$(O) \
- $(SRC_DIR)/inter_misc$(O) \
- $(SRC_DIR)/inter_run$(O) \
- $(SRC_DIR)/register$(O) \
- $(SRC_DIR)/memory$(O) \
- $(SRC_DIR)/objects$(O) \
- $(SRC_DIR)/packfile$(O) \
- $(SRC_DIR)/stacks$(O) \
- $(SRC_DIR)/stack_common$(O) \
- $(SRC_DIR)/string$(O) \
- $(SRC_DIR)/string_primitives$(O) \
- $(SRC_DIR)/sub$(O) \
- $(SRC_DIR)/lexical$(O) \
- $(SRC_DIR)/runops_cores$(O) \
- $(SRC_DIR)/trace$(O) \
- $(SRC_DIR)/pmc$(O) \
- $(SRC_DIR)/pmc_freeze$(O) \
- $(SRC_DIR)/key$(O) \
- $(SRC_DIR)/hash$(O) \
- $(SRC_DIR)/core_pmcs$(O) \
-#CONDITIONED_LINE(platform_asm): $(SRC_DIR)/platform_asm$(O) \
- $(SRC_DIR)/platform$(O) ${TEMP_jit_o} \
- $(SRC_DIR)/intlist$(O) \
- $(SRC_DIR)/list$(O) \
- $(SRC_DIR)/library$(O) \
- $(SRC_DIR)/global$(O) \
- $(SRC_DIR)/embed$(O) \
- $(SRC_DIR)/warnings$(O) \
- $(SRC_DIR)/packout$(O) \
- $(SRC_DIR)/byteorder$(O) \
- $(SRC_DIR)/debug$(O) \
- $(SRC_DIR)/smallobject$(O) \
- $(SRC_DIR)/headers$(O) \
- $(SRC_DIR)/hll$(O) \
- $(SRC_DIR)/dod$(O) \
- $(SRC_DIR)/gc_ims$(O) \
- $(SRC_DIR)/gc_gms$(O) \
- $(SRC_DIR)/method_util$(O) \
- $(SRC_DIR)/exit$(O) \
- $(SRC_DIR)/misc$(O) \
- $(SRC_DIR)/spf_render$(O) \
- $(SRC_DIR)/spf_vtable$(O) \
- $(SRC_DIR)/datatypes$(O) \
- $(SRC_DIR)/fingerprint$(O) \
- $(SRC_DIR)/nci$(O) \
- $(SRC_DIR)/cpu_dep$(O) \
- $(SRC_DIR)/tsq$(O) \
- $(SRC_DIR)/longopt$(O) \
- $(SRC_DIR)/events$(O) \
- $(SRC_DIR)/thread$(O) \
- $(SRC_DIR)/dynext$(O) \
- $(SRC_DIR)/utils$(O) \
- $(SRC_DIR)/vtables$(O) \
- $(SRC_DIR)/pic$(O) \
- $(SRC_DIR)/mmd$(O) \
- $(SRC_DIR)/builtin$(O) \
- $(SRC_DIR)/extend$(O) \
- $(SRC_DIR)/extend_vtable$(O) \
- $(SRC_DIR)/revision$(O) \
- $(PF_DIR)/pf_items$(O) \
- $(OPS_DIR)/core_ops$(O) \
- $(OPS_DIR)/core_ops_switch$(O) \
- ${asmfun_o} \
- ${TEMP_cg_o} \
- ${TEMP_exec_o} \
- ${TEMP_gc_o}
+ $(SRC_DIR)/charset$(O) \
+ $(SRC_DIR)/encoding$(O) \
+ $(SRC_DIR)/exceptions$(O) \
+ $(SRC_DIR)/global_setup$(O) \
+ $(SRC_DIR)/interpreter$(O) \
+ $(SRC_DIR)/inter_call$(O) \
+ $(SRC_DIR)/inter_cb$(O) \
+ $(SRC_DIR)/inter_create$(O) \
+ $(SRC_DIR)/inter_misc$(O) \
+ $(SRC_DIR)/inter_run$(O) \
+ $(SRC_DIR)/register$(O) \
+ $(SRC_DIR)/memory$(O) \
+ $(SRC_DIR)/objects$(O) \
+ $(SRC_DIR)/packfile$(O) \
+ $(SRC_DIR)/stacks$(O) \
+ $(SRC_DIR)/stack_common$(O) \
+ $(SRC_DIR)/string$(O) \
+ $(SRC_DIR)/string_primitives$(O) \
+ $(SRC_DIR)/sub$(O) \
+ $(SRC_DIR)/lexical$(O) \
+ $(SRC_DIR)/runops_cores$(O) \
+ $(SRC_DIR)/trace$(O) \
+ $(SRC_DIR)/pmc$(O) \
+ $(SRC_DIR)/pmc_freeze$(O) \
+ $(SRC_DIR)/key$(O) \
+ $(SRC_DIR)/hash$(O) \
+ $(SRC_DIR)/core_pmcs$(O) \
+#CONDITIONED_LINE(platform_asm): $(SRC_DIR)/platform_asm$(O) \
+ $(SRC_DIR)/platform$(O) ${TEMP_jit_o} \
+ $(SRC_DIR)/intlist$(O) \
+ $(SRC_DIR)/list$(O) \
+ $(SRC_DIR)/library$(O) \
+ $(SRC_DIR)/global$(O) \
+ $(SRC_DIR)/embed$(O) \
+ $(SRC_DIR)/warnings$(O) \
+ $(SRC_DIR)/packout$(O) \
+ $(SRC_DIR)/byteorder$(O) \
+ $(SRC_DIR)/debug$(O) \
+ $(SRC_DIR)/smallobject$(O) \
+ $(SRC_DIR)/headers$(O) \
+ $(SRC_DIR)/hll$(O) \
+ $(SRC_DIR)/dod$(O) \
+ $(SRC_DIR)/gc_ims$(O) \
+ $(SRC_DIR)/gc_gms$(O) \
+ $(SRC_DIR)/method_util$(O) \
+ $(SRC_DIR)/exit$(O) \
+ $(SRC_DIR)/misc$(O) \
+ $(SRC_DIR)/spf_render$(O) \
+ $(SRC_DIR)/spf_vtable$(O) \
+ $(SRC_DIR)/datatypes$(O) \
+ $(SRC_DIR)/fingerprint$(O) \
+ $(SRC_DIR)/nci$(O) \
+ $(SRC_DIR)/cpu_dep$(O) \
+ $(SRC_DIR)/tsq$(O) \
+ $(SRC_DIR)/longopt$(O) \
+ $(SRC_DIR)/events$(O) \
+ $(SRC_DIR)/thread$(O) \
+ $(SRC_DIR)/dynext$(O) \
+ $(SRC_DIR)/utils$(O) \
+ $(SRC_DIR)/vtables$(O) \
+ $(SRC_DIR)/pic$(O) \
+ $(SRC_DIR)/mmd$(O) \
+ $(SRC_DIR)/builtin$(O) \
+ $(SRC_DIR)/extend$(O) \
+ $(SRC_DIR)/extend_vtable$(O) \
+ $(SRC_DIR)/revision$(O) \
+ $(PF_DIR)/pf_items$(O) \
+ $(OPS_DIR)/core_ops$(O) \
+ $(OPS_DIR)/core_ops_switch$(O) \
+ ${asmfun_o} \
+ ${TEMP_cg_o} \
+ ${TEMP_exec_o} \
+ ${TEMP_gc_o}
O_FILES = \
- $(INTERP_O_FILES) \
- $(CHARSET_O_FILES) \
- $(IO_O_FILES) $(CLASS_O_FILES) \
- $(ENCODING_O_FILES) \
- $(IMCC_O_FILES) \
- $(AST_O_FILES)
+ $(INTERP_O_FILES) \
+ $(CHARSET_O_FILES) \
+ $(IO_O_FILES) $(CLASS_O_FILES) \
+ $(ENCODING_O_FILES) \
+ $(IMCC_O_FILES) \
+ $(AST_O_FILES)
OPS_FILES = ${ops} $(GEN_OPSFILES)
@@ -515,35 +515,35 @@ MAKE_C = ${make_c}
###############################################################################
all : \
- flags_dummy \
- $(PARROT) \
- runtime/parrot/include/parrotlib.pbc \
- runtime/parrot/include/config.fpmc \
- docs \
- $(LIBNCI_TEST_SO) \
- $(GEN_LIBRARY) \
- dynclasses \
- compilers \
- $(PBCMERGE)
+ flags_dummy \
+ $(PARROT) \
+ runtime/parrot/include/parrotlib.pbc \
+ runtime/parrot/include/config.fpmc \
+ docs \
+ $(LIBNCI_TEST_SO) \
+ $(GEN_LIBRARY) \
+ dynclasses \
+ compilers \
+ $(PBCMERGE)
# constant string support
.c.str :
$(PERL) build_tools/c2str.pl $< > $@
STR_FILES = \
- $(SRC_DIR)/builtin.str \
- $(SRC_DIR)/inter_call.str \
- $(SRC_DIR)/inter_cb.str \
- $(SRC_DIR)/inter_misc.str \
- $(SRC_DIR)/global.str \
- $(SRC_DIR)/global_setup.str \
- $(SRC_DIR)/library.str \
- $(SRC_DIR)/mmd.str \
- $(SRC_DIR)/pmc.str \
- $(SRC_DIR)/objects.str \
- $(SRC_DIR)/spf_render.str \
- $(SRC_DIR)/spf_vtable.str \
- $(CLASS_STR_FILES)
+ $(SRC_DIR)/builtin.str \
+ $(SRC_DIR)/inter_call.str \
+ $(SRC_DIR)/inter_cb.str \
+ $(SRC_DIR)/inter_misc.str \
+ $(SRC_DIR)/global.str \
+ $(SRC_DIR)/global_setup.str \
+ $(SRC_DIR)/library.str \
+ $(SRC_DIR)/mmd.str \
+ $(SRC_DIR)/pmc.str \
+ $(SRC_DIR)/objects.str \
+ $(SRC_DIR)/spf_render.str \
+ $(SRC_DIR)/spf_vtable.str \
+ $(CLASS_STR_FILES)
$(INC_DIR)/string_private_cstring.h : $(STR_FILES) build_tools/c2str.pl
$(PERL) build_tools/c2str.pl --all
@@ -675,38 +675,38 @@ parrot.def : build_tools\parrotdef.pl
perl build_tools/parrotdef.pl
$(PARROT) : $(IMCC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
- lib/Parrot/OpLib/core.pm $(SRC_DIR)/parrot_config$(O) \
- $(MINIPARROT) ${parrot_exe_def}
+ lib/Parrot/OpLib/core.pm $(SRC_DIR)/parrot_config$(O) \
+ $(MINIPARROT) ${parrot_exe_def}
$(LINK) ${ld_out}$(PARROT) $(LINKFLAGS) $(LINK_DYNAMIC)
${ld_parrot_exe_def} \
- $(IMCC_DIR)/main$(O) $(ALL_PARROT_LIBS) $(SRC_DIR)/parrot_config$(O)
+ $(IMCC_DIR)/main$(O) $(ALL_PARROT_LIBS) $(SRC_DIR)/parrot_config$(O)
#
# TODO build the real miniparrot
#
$(MINIPARROT) : $(IMCC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
- lib/Parrot/OpLib/core.pm $(SRC_DIR)/null_config$(O)
+ lib/Parrot/OpLib/core.pm $(SRC_DIR)/null_config$(O)
$(LINK) ${ld_out}$(MINIPARROT) $(LINKFLAGS) $(IMCC_DIR)/main$(O) \
- $(ALL_PARROT_LIBS) $(SRC_DIR)/null_config$(O)
+ $(ALL_PARROT_LIBS) $(SRC_DIR)/null_config$(O)
$(INSTALLABLEPARROT) : $(IMCC_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
- lib/Parrot/OpLib/core.pm $(SRC_DIR)/install_config$(O) \
- $(PARROT)
+ lib/Parrot/OpLib/core.pm $(SRC_DIR)/install_config$(O) \
+ $(PARROT)
$(LINK) ${ld_out}$(INSTALLABLEPARROT) $(LINKFLAGS) \
- $(IMCC_DIR)/main$(O) \
- $(ALL_PARROT_LIBS) $(SRC_DIR)/install_config$(O)
+ $(IMCC_DIR)/main$(O) \
+ $(ALL_PARROT_LIBS) $(SRC_DIR)/install_config$(O)
$(SRC_DIR)/parrot_config.c : runtime/parrot/include/config.fpmc \
- $(BUILD_TOOLS_DIR)/parrot_config_c.pl
+ $(BUILD_TOOLS_DIR)/parrot_config_c.pl
$(PERL) $(BUILD_TOOLS_DIR)/parrot_config_c.pl > \
- $(SRC_DIR)/parrot_config.c
+ $(SRC_DIR)/parrot_config.c
$(SRC_DIR)/install_config.c : install_config.fpmc \
- $(BUILD_TOOLS_DIR)/parrot_config_c.pl
+ $(BUILD_TOOLS_DIR)/parrot_config_c.pl
$(PERL) $(BUILD_TOOLS_DIR)/parrot_config_c.pl --install > \
- $(SRC_DIR)/install_config.c
+ $(SRC_DIR)/install_config.c
$(SRC_DIR)/null_config.c : myconfig $(BUILD_TOOLS_DIR)/parrot_config_c.pl
$(PERL) $(BUILD_TOOLS_DIR)/parrot_config_c.pl --mini > \
- $(SRC_DIR)/null_config.c
+ $(SRC_DIR)/null_config.c
install_config.fpmc : myconfig config_lib.pasm $(PARROT)
@echo Invoking Parrot to generate install_config.fpmc
@@ -781,9 +781,9 @@ $(SRC_DIR)/disassemble$(O) : $(GENERAL_H
$(DIS) : $(SRC_DIR)/disassemble$(O) $(LIBPARROT)
$(LINK) ${ld_out}$(DIS) \
- $(SRC_DIR)/disassemble$(O) \
- $(SRC_DIR)/null_config$(O) \
- $(LINKFLAGS) $(ALL_PARROT_LIBS)
+ $(SRC_DIR)/disassemble$(O) \
+ $(SRC_DIR)/null_config$(O) \
+ $(LINKFLAGS) $(ALL_PARROT_LIBS)
#
# Parrot Dump
@@ -791,17 +791,17 @@ $(DIS) : $(SRC_DIR)/disassemble$(O) $(LI
$(PDUMP) : $(SRC_DIR)/pdump$(O) $(SRC_DIR)/packdump$(O) $(LIBPARROT)
$(LINK) ${ld_out}$(PDUMP) \
- $(SRC_DIR)/pdump$(O) \
- $(SRC_DIR)/null_config$(O) \
- $(SRC_DIR)/packdump$(O) $(LINKFLAGS) $(ALL_PARROT_LIBS)
+ $(SRC_DIR)/pdump$(O) \
+ $(SRC_DIR)/null_config$(O) \
+ $(SRC_DIR)/packdump$(O) $(LINKFLAGS) $(ALL_PARROT_LIBS)
# pbc_info
$(PINFO) : $(SRC_DIR)/pbc_info$(O) $(LIBPARROT)
$(LINK) ${ld_out}$(PINFO) \
- $(SRC_DIR)/pbc_info$(O) \
- $(SRC_DIR)/null_config$(O) \
- $(LINKFLAGS) $(ALL_PARROT_LIBS)
+ $(SRC_DIR)/pbc_info$(O) \
+ $(SRC_DIR)/null_config$(O) \
+ $(LINKFLAGS) $(ALL_PARROT_LIBS)
#
# Parrot Bytecode File Merger
@@ -825,7 +825,7 @@ $(PBCMERGE) : $(SRC_DIR)/pbc_merge$(O) $
$(IMCC_DIR)/main$(O) : $(IMCC_DIR)/main.c $(GENERAL_H_FILES) $(IMCC_H_FILES)
include/parrot/oplib/ops.h lib/Parrot/OpLib/core.pm : $(OPS_FILES)
$(BUILD_TOOLS_DIR)/ops2pm.pl \
- lib/Parrot/OpsFile.pm lib/Parrot/Op.pm $(OPS_DIR)/ops.num
+ lib/Parrot/OpsFile.pm lib/Parrot/Op.pm $(OPS_DIR)/ops.num
$(PERL) $(BUILD_TOOLS_DIR)/ops2pm.pl $(OPS_FILES)
$(SRC_DIR)/fingerprint.c : $(BUILD_TOOLS_DIR)/fingerprint_c.pl PBC_COMPAT
@@ -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)
@@ -954,16 +954,16 @@ $(SRC_DIR)/thread$(O) : $(GENERAL_H_FILE
$(SRC_DIR)/extend$(O) : $(GENERAL_H_FILES) $(INC_DIR)/extend.h
$(SRC_DIR)/interpreter$(O) : $(SRC_DIR)/interpreter.c $(GENERAL_H_FILES) \
- ${TEMP_jit_h}
+ ${TEMP_jit_h}
$(SRC_DIR)/inter_call$(O) : $(SRC_DIR)/inter_call.c $(GENERAL_H_FILES) \
- $(SRC_DIR)/inter_call.str
+ $(SRC_DIR)/inter_call.str
$(SRC_DIR)/inter_cb$(O) : $(SRC_DIR)/inter_cb.c $(GENERAL_H_FILES) \
- $(SRC_DIR)/inter_cb.str
+ $(SRC_DIR)/inter_cb.str
$(SRC_DIR)/inter_misc$(O) : $(SRC_DIR)/inter_misc.c $(GENERAL_H_FILES) \
- $(SRC_DIR)/inter_misc.str
+ $(SRC_DIR)/inter_misc.str
$(SRC_DIR)/inter_create$(O) : $(SRC_DIR)/inter_create.c $(GENERAL_H_FILES)
@@ -1078,10 +1078,10 @@ $(INC_DIR)/jit_emit.h : jit/${jitcpuarch
$(INC_DIR)/exec_dep.h : jit/${jitcpuarch}/exec_dep.h
$(PERL) -MFile::Copy=cp -e ${PQ}cp q|jit/${jitcpuarch}/exec_dep.h|,
q|$(INC_DIR)/exec_dep.h|${PQ}
$(SRC_DIR)/jit_cpu.c : lib/Parrot/OpLib/core.pm $(INC_DIR)/jit_emit.h \
- jit/${jitcpuarch}/core.jit $(BUILD_TOOLS_DIR)/jit2h.pl
+ jit/${jitcpuarch}/core.jit $(BUILD_TOOLS_DIR)/jit2h.pl
$(PERL) $(BUILD_TOOLS_DIR)/jit2h.pl ${jitcpuarch} $(SRC_DIR)/jit_cpu.c
$(SRC_DIR)/exec_cpu.c : lib/Parrot/OpLib/core.pm $(INC_DIR)/jit_emit.h \
- jit/${jitcpuarch}/core.jit ${TEMP_exec_h} $(INC_DIR)/exec_dep.h
$(BUILD_TOOLS_DIR)/jit2h.pl
+ jit/${jitcpuarch}/core.jit ${TEMP_exec_h} $(INC_DIR)/exec_dep.h
$(BUILD_TOOLS_DIR)/jit2h.pl
$(PERL) $(BUILD_TOOLS_DIR)/jit2h.pl ${jitcpuarch} $(SRC_DIR)/exec_cpu.c
# imcc file dependencies
@@ -1214,22 +1214,22 @@ editor-clean :
# to disable GC_DEBUG.
EXTRA_TEST_ARGS = --gc-debug --running-make-test
RUN_TEST_FILES = \
- t/run/*.t
+ t/run/*.t
SRC_TEST_FILES = \
- t/src/*.t
+ t/src/*.t
PERL_TEST_FILES = \
- t/perl/*.t
+ t/perl/*.t
RUNCORE_TEST_FILES = \
- t/op/*.t \
- t/pmc/*.t \
- t/native_pbc/*.t \
- $(IMCC_DIR)/t/*/*.t \
- t/library/*.t \
- t/dynclass/foo.t t/dynclass/g*.t \
- t/examples/*.t \
- t/p6rules/*.t
+ t/op/*.t \
+ t/pmc/*.t \
+ t/native_pbc/*.t \
+ $(IMCC_DIR)/t/*/*.t \
+ t/library/*.t \
+ t/dynclass/foo.t t/dynclass/g*.t \
+ t/examples/*.t \
+ t/p6rules/*.t
TOOLS_TEST_FILES = \
- t/tools/*.t
+ t/tools/*.t
# Common prep for all test targets.
# We propably need a complete build before running the tests.
@@ -1240,27 +1240,27 @@ test_prep : all
# Normal core
test : test_prep
$(PERL) t/harness $(EXTRA_TEST_ARGS) $(PARROT_ARGS) \
- $(RUNCORE_TEST_FILES) \
- $(RUN_TEST_FILES) \
- $(SRC_TEST_FILES) \
- $(PERL_TEST_FILES) \
- $(TOOLS_TEST_FILES)
+ $(RUNCORE_TEST_FILES) \
+ $(RUN_TEST_FILES) \
+ $(SRC_TEST_FILES) \
+ $(PERL_TEST_FILES) \
+ $(TOOLS_TEST_FILES)
# Test various run cores and other stuff
# 'testC', 'testg' and 'testj' are tested only
# when the needed runcores are available
fulltest : \
- testb \
-#CONDITIONED_LINE(cg_flag): testC \
- testf \
-#CONDITIONED_LINE(cg_flag): testg \
-#CONDITIONED_LINE(jitcapable): testj \
- testr \
- testS \
- src_tests \
- perl_tests \
- testbench \
- doc_tests
+ testb \
+#CONDITIONED_LINE(cg_flag): testC \
+ testf \
+#CONDITIONED_LINE(cg_flag): testg \
+#CONDITIONED_LINE(jitcapable): testj \
+ testr \
+ testS \
+ src_tests \
+ perl_tests \
+ testbench \
+ doc_tests
# bounds checking, slow core
testb : test_prep
@@ -1345,38 +1345,38 @@ nokfile :
###############################################################################
clean : \
- test-clean \
- prog-clean \
- dynext-clean \
- languages-clean \
-#CONDITIONED_LINE(has_perldoc): docs-clean \
- dynclasses-clean \
- examples-clean \
- imcc-clean \
- compilers-clean \
- smoke-clean \
- editor-clean
+ test-clean \
+ prog-clean \
+ dynext-clean \
+ languages-clean \
+#CONDITIONED_LINE(has_perldoc): docs-clean \
+ dynclasses-clean \
+ examples-clean \
+ imcc-clean \
+ compilers-clean \
+ smoke-clean \
+ editor-clean
${TEMP_cg_r}
$(RM_F) chartypes *.s *~ $(FLUID_FILES)
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) \
+ $(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)
+ $(LIBNCI_TEST_SO) \
+ $(LIBPARROT)
$(PERL) build_tools/c2str.pl --init
$(RM_F) \
$(STR_FILES) $(INC_DIR)/string_private_cstring.h \
@@ -1384,19 +1384,19 @@ prog-clean :
*.def *.lib *.exp
dynext-clean :
-# shared libs
+# shared libs (LOAD_EXT, SHARE_EXT)
+# win32 import library (.lib - shared object is deleted by LIBNCI_TEST_SO
above)
+# win32 program data base - contains debugging info (.pdb)
+# win32 incremental link status files (.ilk)
+# win32 exported functions and data items (.exp)
+# win32 export definition files (.def)
$(RM_F) \
$(DYNEXT_DIR)/*$(LOAD_EXT) \
$(DYNEXT_DIR)/*$(SHARE_EXT) \
-# win32 import library (shared object is deleted by LIBNCI_TEST_SO above)
$(DYNEXT_DIR)/*.lib \
-# win32 program data base - contains debugging info
*.pdb $(DYNEXT_DIR)/*.pdb \
-# win32 incremental link status files
*.ilk $(DYNEXT_DIR)/*.ilk \
-# win32 exported functions and data items
$(DYNEXT_DIR)/*.exp \
-# win32 export definition files
*.def
# Remove files generated by the test suite
@@ -1444,9 +1444,9 @@ test-clean :
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) \
@@ -1500,13 +1500,13 @@ lint2 : $(PARROT)
install : $(INSTALLABLEPARROT)
$(PERL) tools/dev/install_files.pl \
- --buildprefix=$(BUILDPREFIX) \
- --prefix=$(PREFIX) \
- --exec-prefix=$(EXEC_PREFIX) \
- --bindir=$(BIN_DIR) \
- --libdir=$(LIB_DIR) \
- --includedir=$(INCLUDE_DIR) \
- MANIFEST MANIFEST.generated
+ --buildprefix=$(BUILDPREFIX) \
+ --prefix=$(PREFIX) \
+ --exec-prefix=$(EXEC_PREFIX) \
+ --bindir=$(BIN_DIR) \
+ --libdir=$(LIB_DIR) \
+ --includedir=$(INCLUDE_DIR) \
+ MANIFEST MANIFEST.generated
###############################################################################
#
@@ -1565,7 +1565,7 @@ exec_so : $(SRC_DIR)/exec_start$(O) blib
# for use by t/pmc/nci.t
$(LIBNCI_TEST_SO): $(SRC_DIR)/nci_test$(O)
$(LD) $(LD_LOAD_FLAGS) ${ncilib_link_extra} $(LDFLAGS) \
- ${ld_out}$@ $(SRC_DIR)/nci_test$(O) $(C_LIBS)
+ ${ld_out}$@ $(SRC_DIR)/nci_test$(O) $(C_LIBS)
# vim ctags
# this needs exuberant-ctags
@@ -1586,11 +1586,11 @@ tags.dummy:
smoke : all
$(PERL) t/harness --html $(EXTRA_TEST_ARGS) $(PARROT_ARGS) \
- $(RUNCORE_TEST_FILES) \
- $(RUN_TEST_FILES) \
- $(SRC_TEST_FILES) \
- $(PERL_TEST_FILES) \
- $(TOOLS_TEST_FILES)
+ $(RUNCORE_TEST_FILES) \
+ $(RUN_TEST_FILES) \
+ $(SRC_TEST_FILES) \
+ $(PERL_TEST_FILES) \
+ $(TOOLS_TEST_FILES)
$(PERL) util/smokeserv-client.pl smoke.html
smoke-clean :