Committed, thanks. (makes things ugly, but hopefully we'll be replacing
the makefile with something more perlish down the road)
--Josh
At 16:17 on 04/01/2002 EST, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> Ok, here's the necessary fixes to the VMS hints and Makefile.in to get
> VMS to Configure and have MMS parse the resulting Makefile. It
> includes all the stuff I posted eariler today.
>
> - There *must* be a space between the target, colon and dependencyes
> foo: bar *wrong*
> foo : bar *right*
>
> - LD was defined twice
>
> - MMS does not appear to understand .dummy_targets like .test_dummy.
>
> - Anything Case Sensitive on the command line must be in "".
> This includes things like -MSome::Module.
>
> - $(PERL) needs 'MCR' prefixed to it to run.
>
> So MMS now accepts the generated Makefile, which is good, but it
> immediately tries to run Configure.pl, which is bad.
>
> $ mms
>
> MCR $1$dkb300:[schwern.src.perl-5_6_1.][000000]perl.exe;1 Configure.pl
> Parrot Version 0.0.4 Configure
> Copyright (C) 2001-2002 Yet Another Society
>
> Since you're running this script, you obviously have
> Perl 5--I'll be pulling some defaults from its configuration.
>
> Checking the MANIFEST to make sure you have a complete Parrot kit...
>
> I have no idea why. This looks like the $(STICKY_FILES) target, not
> reconfig.
>
> Worse, MMK is choking on the sheer volume of $(O_FILES)
>
> $ mmk
> %MMK-F-PARSERR, error parsing description line blib/lib/libparrot.so.0.0.
4 : blib_lib exceptions.o global_setup.o interpreter.o parrot.o register.o cor
e_ops.o core_ops_prederef.o memory.o packfile.o stacks.o string.o encoding.o
chartype.o runops_cores.
> -MMK-I-ERRLOC, at line number 189 in file USER1:[SCHWERN.SRC.PARROT]MAKEF
ILE.;2
> -LIB-F-SYNTAXERR, string syntax error detected by LIB$TPARSE
>
> I had hoped I could fix that with some proper escaping (you'll see
> some of my attempts below) but no go. I'll have to see if I can pull
> something out of MakeMaker's bag of tricks.
>
> Anyhow, Configure works. :)
>
>
> --- Makefile.in 29 Mar 2002 07:07:20 -0000 1.142
> +++ Makefile.in 1 Apr 2002 21:09:49 -0000
> @@ -26,8 +26,8 @@
> GEN_MAKEFILES = Makefile classes/Makefile languages/Makefile docs/Makefile \
> languages/jako/Makefile languages/miniperl/Makefile languages/scheme/Makefil
e
>
> -GEN_CONFIGS = include/parrot/config.h include/parrot/platform.h lib/Parrot/
Config.pm \
> -lib/Parrot/Types.pm platform.c
> +GEN_CONFIGS = include/parrot/config.h include/parrot/platform.h \
> + lib/Parrot/Config.pm lib/Parrot/Types.pm platform.c
>
> STICKY_FILES = $(GEN_CONFIGS) $(GEN_MAKEFILES) config.opt
>
> @@ -76,20 +76,26 @@
> classes/perlarray$(O) classes/perlundef$(O) \
> classes/perlhash$(O) classes/parrotpointer$(O) classes/intqueue$(O)
>
> -ENCODING_O_FILES = encodings/singlebyte$(O) encodings/utf8$(O) encodings/utf
16$(O) \
> -encodings/utf32$(O)
> +ENCODING_O_FILES = encodings/singlebyte$(O) encodings/utf8$(O) \
> + encodings/utf16$(O) \
> + encodings/utf32$(O)
>
> CHARTYPE_O_FILES = chartypes/unicode$(O) chartypes/usascii$(O)
>
> IO_O_FILES = io/io$(O) io/io_stdio$(O) io/io_unix$(O) io/io_win32$(O)
>
> -INTERP_O_FILES = exceptions$(O) global_setup$(O) interpreter$(O) parrot$(O)
register$(O) \
> -core_ops$(O) core_ops_prederef$(O) memory$(O) packfile$(O) stacks$(O) \
> -string$(O) encoding$(O) chartype$(O) runops_cores$(O) trace$(O) pmc$(O) key$
(O) \
> -platform$(O) ${jit_o} resources$(O) rx$(O) rxstacks$(O) embed$(O) warnings$(
O) \
> -misc$(O)
> -
> -O_FILES = $(INTERP_O_FILES) $(IO_O_FILES) $(CLASS_O_FILES) $(ENCODING_O_FILE
S) $(CHARTYPE_O_FILES)
> +INTERP_O_FILES = exceptions$(O) global_setup$(O) interpreter$(O) parrot$(O)
\
> + register$(O) core_ops$(O) core_ops_prederef$(O
) memory$(O) \
> + packfile$(O) stacks$(O) string$(O) encoding$(O
) \
> + chartype$(O) runops_cores$(O) trace$(O) pmc$(O
) key$(O) \
> + platform$(O) ${jit_o} resources$(O) rx$(O) rxs
tacks$(O) \
> + embed$(O) warnings$(O) misc$(O)
> +
> +O_FILES = $(INTERP_O_FILES) \
> + $(IO_O_FILES) \
> + $(CLASS_O_FILES) \
> + $(ENCODING_O_FILES) \
> + $(CHARTYPE_O_FILES)
>
> OPS_FILES = ${ops} $(GEN_OPSFILES)
>
> @@ -109,7 +115,6 @@
> C_LIBS = ${libs}
>
> CC = ${cc}
> -LD = ${ld}
> PERL = ${perl}
>
>
> @@ -140,29 +145,29 @@
>
> ${make_set_make}
>
> -.c$(O):
> +.c$(O) :
> $(CC) $(CFLAGS) ${cc_o_out}$@ -c $<
>
> all : $(TEST_PROG) docs
>
> -mops: examples/assembly/mops${exe} examples/mops/mops${exe}
> +mops : examples/assembly/mops${exe} examples/mops/mops${exe}
>
> # XXX Unix-only for now
> libparrot$(A) : $(O_FILES)
> $(AR_CRS) $@ $(O_FILES)
>
> -$(TEST_PROG): test_main$(O) $(GEN_HEADERS) $(O_FILES) lib/Parrot/OpLib/core.
pm lib/Parrot/PMC.pm
> +$(TEST_PROG) : test_main$(O) $(GEN_HEADERS) $(O_FILES) lib/Parrot/OpLib/core
..pm lib/Parrot/PMC.pm
> $(LD) ${ld_out}$(TEST_PROG) $(LDFLAGS) $(O_FILES) test_main$(O) $(C_LIB
S)
>
> -lib_deps_object: $(O_FILES)
> +lib_deps_object : $(O_FILES)
> $(PERL) lib_deps.pl object $(O_FILES)
>
> -lib_deps_source: $(GENERAL_H_FILES)
> +lib_deps_source : $(GENERAL_H_FILES)
> $(PERL) lib_deps.pl source all_source
>
> -lib_deps: lib_deps_object lib_deps_source
> +lib_deps : lib_deps_object lib_deps_source
>
> -check_source: $(GENERAL_H_FILES)
> +check_source : $(GENERAL_H_FILES)
> $(PERL) check_source_standards.pl all_source
>
> ############################################################################
##
> @@ -173,45 +178,45 @@
> #
> ############################################################################
##
>
> -blib:
> +blib :
> mkdir -p blib
>
> -blib_lib:
> +blib_lib :
> mkdir -p blib/lib
>
> -shared: blib_lib blib/lib/libparrot$(SO) blib/lib/libcore_prederef$(SO) $(TE
ST_PROG_SO)
> +shared : blib_lib blib/lib/libparrot$(SO) blib/lib/libcore_prederef$(SO) $(T
EST_PROG_SO)
>
> -blib/lib/libparrot$(SO).${VERSION}: blib_lib $(O_FILES)
> +blib/lib/libparrot$(SO).${VERSION} : blib_lib $(O_FILES)
> $(LD) $(LD_SHARED) -Wl,-soname,libparrot$(SO).${MAJOR} $(LDFLAGS) $(LD_
OUT)blib/lib/libparrot$(SO).${VERSION} $(O_FILES)
>
> -blib/lib/libparrot$(SO).${MAJOR}.${MINOR}: blib/lib/libparrot$(SO).${VERSION
}
> +blib/lib/libparrot$(SO).${MAJOR}.${MINOR} : blib/lib/libparrot$(SO).${VERSIO
N}
> $(RM_F) $@
> cd blib/lib; ln -s libparrot$(SO).${VERSION} libparrot$(SO).${MAJOR}.${
MINOR}
>
> -blib/lib/libparrot$(SO).${MAJOR}: blib/lib/libparrot$(SO).${MAJOR}.${MINOR}
> +blib/lib/libparrot$(SO).${MAJOR} : blib/lib/libparrot$(SO).${MAJOR}.${MINOR}
> $(RM_F) $@
> cd blib/lib; ln -s libparrot$(SO).${MAJOR}.${MINOR} libparrot$(SO).${MA
JOR}
>
> -blib/lib/libparrot$(SO): blib/lib/libparrot$(SO).${MAJOR}
> +blib/lib/libparrot$(SO) : blib/lib/libparrot$(SO).${MAJOR}
> $(RM_F) $@
> cd blib/lib; ln -s libparrot$(SO).${MAJOR} libparrot$(SO)
>
> -blib/lib/libcore_prederef$(SO).${VERSION}: blib_lib core_ops_prederef$(O)
> +blib/lib/libcore_prederef$(SO).${VERSION} : blib_lib core_ops_prederef$(O)
> $(LD) $(LD_SHARED) -Wl,-soname,libparrot$(SO).${MAJOR} $(LDFLAGS) $(LD_
OUT)blib/lib/libcore_prederef$(SO).${VERSION} core_ops_prederef$(O)
>
> -blib/lib/libcore_prederef$(SO).${MAJOR}.${MINOR}: blib/lib/libcore_prederef$
(SO).${VERSION}
> +blib/lib/libcore_prederef$(SO).${MAJOR}.${MINOR} : blib/lib/libcore_prederef
$(SO).${VERSION}
> $(RM_F) $@
> cd blib/lib; ln -s libcore_prederef$(SO).${VERSION} libcore_prederef$(S
O).${MAJOR}.${MINOR}
>
> -blib/lib/libcore_prederef$(SO).${MAJOR}: blib/lib/libcore_prederef$(SO).${MA
JOR}.${MINOR}
> +blib/lib/libcore_prederef$(SO).${MAJOR} : blib/lib/libcore_prederef$(SO).${M
AJOR}.${MINOR}
> $(RM_F) $@
> cd blib/lib; ln -s libcore_prederef$(SO).${MAJOR}.${MINOR} libcore_pred
eref$(SO).${MAJOR}
>
> -blib/lib/libcore_prederef$(SO): blib/lib/libcore_prederef$(SO).${MAJOR}
> +blib/lib/libcore_prederef$(SO) : blib/lib/libcore_prederef$(SO).${MAJOR}
> $(RM_F) $@
> cd blib/lib; ln -s libcore_prederef$(SO).${MAJOR} libcore_prederef$(SO)
>
> -$(TEST_PROG_SO): test_main$(O) blib/lib/libparrot$(SO) lib/Parrot/OpLib/core
..pm lib/Parrot/PMC.pm
> +$(TEST_PROG_SO) : test_main$(O) blib/lib/libparrot$(SO) lib/Parrot/OpLib/cor
e.pm lib/Parrot/PMC.pm
> $(LD) $(LD_OUT)$(TEST_PROG) test_main$(O) $(LDFLAGS) $(C_LIBS) -L blib/
lib -lparrot
>
>
> @@ -219,7 +224,7 @@
> # Parrot Dump
> #
>
> -#$(PDUMP): pdump$(O) packfile$(O)
> +#$(PDUMP) : pdump$(O) packfile$(O)
> # $(LD) ${ld_out}$(PDUMP) pdump$(O) packfile$(O) string$(O) chartype$(O)
memory$(O) $(C_LIBS) $(LDFLAGS)
>
>
> @@ -229,15 +234,15 @@
> #
> ############################################################################
##
>
> -test_main$(O): test_main.c $(GENERAL_H_FILES)
> +test_main$(O) : test_main.c $(GENERAL_H_FILES)
>
> -lib/Parrot/Jit.pm: lib/Parrot/Jit/${jitarchname}.pm lib/Parrot/Jit/${jitcpua
rch}Generic.pm
> - $(PERL) -MFile::Copy=cp -e ${PQ}cp q|lib/Parrot/Jit/${jitarchname}.pm|,
q|lib/Parrot/Jit.pm|${PQ}
> +lib/Parrot/Jit.pm : lib/Parrot/Jit/${jitarchname}.pm lib/Parrot/Jit/${jitcpu
arch}Generic.pm
> + $(PERL) "-MFile::Copy=cp" -e ${PQ}cp q|lib/Parrot/Jit/${jitarchname}.pm
|, q|lib/Parrot/Jit.pm|${PQ}
>
> -lib/Parrot/OpLib/core.pm: $(OPS_FILES) ops2pm.pl lib/Parrot/OpsFile.pm lib/P
arrot/Op.pm
> +lib/Parrot/OpLib/core.pm : $(OPS_FILES) ops2pm.pl lib/Parrot/OpsFile.pm lib/
Parrot/Op.pm
> $(PERL) ops2pm.pl $(OPS_FILES)
>
> -lib/Parrot/PMC.pm: include/parrot/pmc.h pmc_pm.pl
> +lib/Parrot/PMC.pm : include/parrot/pmc.h pmc_pm.pl
> $(PERL) pmc_pm.pl
>
>
> @@ -247,22 +252,22 @@
> #
> ############################################################################
##
>
> -examples/assembly/mops.pbc: examples/assembly/mops.pasm assemble.pl
> +examples/assembly/mops.pbc : examples/assembly/mops.pasm assemble.pl
> cd examples && cd assembly && $(MAKE) mops.pbc PERL=$(PERL) && cd .. &&
cd ..
>
> -examples/assembly/mops.c: examples/assembly/mops.pbc pbc2c.pl
> +examples/assembly/mops.c : examples/assembly/mops.pbc pbc2c.pl
> $(PERL) pbc2c.pl examples/assembly/mops.pbc > examples/assembly/mops.c
>
> -examples/assembly/mops${exe}: examples/assembly/mops$(O) $(O_FILES)
> +examples/assembly/mops${exe} : examples/assembly/mops$(O) $(O_FILES)
> $(LD) $(LDFLAGS) ${ld_out}examples/assembly/mops${exe} examples/assembl
y/mops$(O) $(O_FILES) $(C_LIBS)
>
> -examples/assembly/life.pbc: examples/assembly/life.pasm assemble.pl
> +examples/assembly/life.pbc : examples/assembly/life.pasm assemble.pl
> cd examples && cd assembly && $(MAKE) life.pbc PERL=$(PERL) && cd .. &&
cd ..
>
> -examples/assembly/life.c: examples/assembly/life.pbc pbc2c.pl
> +examples/assembly/life.c : examples/assembly/life.pbc pbc2c.pl
> $(PERL) pbc2c.pl examples/assembly/life.pbc > examples/assembly/life.c
>
> -examples/assembly/life${exe}: examples/assembly/life$(O) $(O_FILES)
> +examples/assembly/life${exe} : examples/assembly/life$(O) $(O_FILES)
> $(LD) $(LDFLAGS) ${ld_out}examples/assembly/life${exe} examples/assembl
y/life$(O) $(O_FILES) $(C_LIBS)
>
> ############################################################################
##
> @@ -271,9 +276,9 @@
> #
> ############################################################################
##
>
> -examples/mops/mops$(O): examples/mops/mops.c
> +examples/mops/mops$(O) : examples/mops/mops.c
>
> -examples/mops/mops${exe}: examples/mops/mops$(O) platform$(O)
> +examples/mops/mops${exe} : examples/mops/mops$(O) platform$(O)
> $(LD) $(LDFLAGS) ${ld_out}examples/mops/mops${exe} examples/mops/mops$(
O) platform$(O) $(C_LIBS)
>
>
> @@ -283,103 +288,103 @@
> #
> ############################################################################
##
>
> -global_setup$(O): $(GENERAL_H_FILES)
> +global_setup$(O) : $(GENERAL_H_FILES)
>
> -pmc$(O): $(GENERAL_H_FILES)
> +pmc$(O) : $(GENERAL_H_FILES)
>
> -jit$(O): $(GENERAL_H_FILES) ${jit_struct_h}
> +jit$(O) : $(GENERAL_H_FILES) ${jit_struct_h}
>
> -key$(O): $(GENERAL_H_FILES)
> +key$(O) : $(GENERAL_H_FILES)
>
> -resources$(O): $(GENERAL_H_FILES)
> +resources$(O) : $(GENERAL_H_FILES)
>
> -platform$(O): $(GENERAL_H_FILES)
> +platform$(O) : $(GENERAL_H_FILES)
>
> -string$(O): $(GENERAL_H_FILES)
> +string$(O) : $(GENERAL_H_FILES)
>
> -chartype$(O): $(GENERAL_H_FILES)
> +chartype$(O) : $(GENERAL_H_FILES)
>
> -encoding$(O): $(GENERAL_H_FILES)
> +encoding$(O) : $(GENERAL_H_FILES)
>
> -chartype/usascii$(O): $(GENERAL_H_FILES)
> +chartype/usascii$(O) : $(GENERAL_H_FILES)
>
> -chartype/unicode$(O): $(GENERAL_H_FILES)
> +chartype/unicode$(O) : $(GENERAL_H_FILES)
>
> -exceptions$(O): $(GENERAL_H_FILES)
> +exceptions$(O) : $(GENERAL_H_FILES)
>
> -encoding/singlebyte$(O): $(GENERAL_H_FILES)
> +encoding/singlebyte$(O) : $(GENERAL_H_FILES)
>
> -encoding/utf8$(O): $(GENERAL_H_FILES)
> +encoding/utf8$(O) : $(GENERAL_H_FILES)
>
> -encoding/utf16$(O): $(GENERAL_H_FILES)
> +encoding/utf16$(O) : $(GENERAL_H_FILES)
>
> -encoding/utf32$(O): $(GENERAL_H_FILES)
> +encoding/utf32$(O) : $(GENERAL_H_FILES)
>
> -interpreter$(O): interpreter.c $(GENERAL_H_FILES)
> +interpreter$(O) : interpreter.c $(GENERAL_H_FILES)
>
> -io/io$(O): $(GENERAL_H_FILES)
> +io/io$(O) : $(GENERAL_H_FILES)
>
> -io/io_stdio$(O): $(GENERAL_H_FILES)
> +io/io_stdio$(O) : $(GENERAL_H_FILES)
>
> -io/io_unix$(O): $(GENERAL_H_FILES)
> +io/io_unix$(O) : $(GENERAL_H_FILES)
>
> -io/io_win32$(O): $(GENERAL_H_FILES)
> +io/io_win32$(O) : $(GENERAL_H_FILES)
>
> -memory$(O): $(GENERAL_H_FILES)
> +memory$(O) : $(GENERAL_H_FILES)
>
> -packfile$(O): $(GENERAL_H_FILES)
> +packfile$(O) : $(GENERAL_H_FILES)
>
> -packout$(O): $(GENERAL_H_FILES)
> +packout$(O) : $(GENERAL_H_FILES)
>
> -parrot$(O): $(GENERAL_H_FILES)
> +parrot$(O) : $(GENERAL_H_FILES)
>
> -register$(O): $(GENERAL_H_FILES)
> +register$(O) : $(GENERAL_H_FILES)
>
> -rx$(O): $(GENERAL_H_FILES)
> +rx$(O) : $(GENERAL_H_FILES)
>
> -rxstacks$(O): $(GENERAL_H_FILES)
> +rxstacks$(O) : $(GENERAL_H_FILES)
>
> -stacks$(O): $(GENERAL_H_FILES)
> +stacks$(O) : $(GENERAL_H_FILES)
>
> -embed$(O): $(GENERAL_H_FILES)
> +embed$(O) : $(GENERAL_H_FILES)
>
> -core_ops$(O): $(GENERAL_H_FILES) core_ops.c
> +core_ops$(O) : $(GENERAL_H_FILES) core_ops.c
>
> -core_ops.c $(INC)/oplib/core_ops.h: $(OPS_FILES) ops2c.pl lib/Parrot/OpsFile
..pm lib/Parrot/Op.pm
> +core_ops.c $(INC)/oplib/core_ops.h : $(OPS_FILES) ops2c.pl lib/Parrot/OpsFil
e.pm lib/Parrot/Op.pm
> $(PERL) ops2c.pl C $(OPS_FILES)
>
> -core_ops_prederef$(O): $(GENERAL_H_FILES) core_ops_prederef.c
> +core_ops_prederef$(O) : $(GENERAL_H_FILES) core_ops_prederef.c
>
> -core_ops_prederef.c $(INC)/oplib/core_ops_prederef.h: $(OPS_FILES) ops2c.pl
lib/Parrot/OpsFile.pm lib/Parrot/Op.pm
> +core_ops_prederef.c $(INC)/oplib/core_ops_prederef.h : $(OPS_FILES) ops2c.pl
lib/Parrot/OpsFile.pm lib/Parrot/Op.pm
> $(PERL) ops2c.pl CPrederef $(OPS_FILES)
>
> -warnings$(O): $(H_FILES)
> +warnings$(O) : $(H_FILES)
>
> -misc$(O): $(H_FILES)
> +misc$(O) : $(H_FILES)
>
> -vtable.ops: make_vtable_ops.pl
> +vtable.ops : make_vtable_ops.pl
> $(PERL) make_vtable_ops.pl > vtable.ops
>
> -$(STICKY_FILES): Configure.pl config_h.in
> +$(STICKY_FILES) : Configure.pl config_h.in
> $(PERL) Configure.pl
>
> -$(INC)/vtable.h: vtable.tbl vtable_h.pl
> +$(INC)/vtable.h : vtable.tbl vtable_h.pl
> $(PERL) vtable_h.pl
>
> -$(INC)/jit_struct.h: jit2h.pl lib/Parrot/OpLib/core.pm lib/Parrot/Jit.pm jit
/${jitcpuarch}/core.jit jit/${jitcpuarch}/string.jit
> +$(INC)/jit_struct.h : jit2h.pl lib/Parrot/OpLib/core.pm lib/Parrot/Jit.pm ji
t/${jitcpuarch}/core.jit jit/${jitcpuarch}/string.jit
> $(PERL) jit2h.pl ${jitcpuarch} > $(INC)/jit_struct.h
>
> -docs: docs/.dummy
> +docs : docs/.dummy
>
> -docs/.dummy:
> +docs/.dummy :
> cd docs && $(MAKE) && cd ..
>
> -$(CLASS_O_FILES):
> +$(CLASS_O_FILES) :
> cd classes && $(MAKE) && cd ..
>
> -languages: languages.dummy
> +languages : languages.dummy
>
> -languages.dummy:
> +languages.dummy :
> cd languages && $(MAKE) && cd ..
>
>
> @@ -389,30 +394,30 @@
> #
> ############################################################################
##
>
> -test: $(TEST_PROG) assemble.pl .test_dummy
> +test : $(TEST_PROG) assemble.pl test_dummy
>
> -.test_dummy:
> +test_dummy :
> $(PERL) t/harness
>
> -testp: $(TEST_PROG) assemble.pl blib/lib/libcore_prederef$(SO) blib/lib/libp
arrot$(SO) $(TEST_PROG_SO) .test_dummy_p
> +testp : $(TEST_PROG) assemble.pl blib/lib/libcore_prederef$(SO) blib/lib/lib
parrot$(SO) $(TEST_PROG_SO) test_dummy_p
>
> -.test_dummy_p:
> +test_dummy_p :
> $(PERL) t/harness -P
>
> -testj: $(TEST_PROG) assemble.pl .test_dummy_j
> +testj : $(TEST_PROG) assemble.pl test_dummy_j
>
> -.test_dummy_j:
> +test_dummy_j :
> $(PERL) t/harness -j
>
> -quicktest: $(TEST_PROG) assemble.pl .quicktest_dummy
> +quicktest : $(TEST_PROG) assemble.pl quicktest_dummy
>
> -.quicktest_dummy:
> +quicktest_dummy :
> $(PERL) t/harness quick
>
> -mopstest: $(TEST_PROG) examples/assembly/mops.pbc
> +mopstest : $(TEST_PROG) examples/assembly/mops.pbc
> $(TEST_PROG) examples/assembly/mops.pbc
>
> -lifetest: $(TEST_PROG) examples/assembly/life.pbc
> +lifetest : $(TEST_PROG) examples/assembly/life.pbc
> $(TEST_PROG) examples/assembly/life.pbc
>
>
> @@ -422,7 +427,7 @@
> #
> ############################################################################
##
>
> -clean: testclean
> +clean : testclean
> $(RM_F) $(O_FILES)
> $(RM_F) *.s
> $(RM_F) $(FLUID_FILES)
> @@ -436,23 +441,23 @@
> cd classes && $(MAKE) clean && cd ..
> cd languages && $(MAKE) clean && cd ..
>
> -testclean:
> +testclean :
> $(RM_F) t/op/*.pasm t/op/*.pbc t/op/*.out
>
> -realclean: clean
> +realclean : clean
> $(RM_F) $(STICKY_FILES)
>
> -distclean:
> - $(PERL) -MExtUtils::Manifest=filecheck -le ${PQ}sub ExtUtils::Manifest:
:_maniskip{sub{0}};$$ExtUtils::Manifest::Quiet=1;unlink $$_ for filecheck()${PQ
}
> +distclean :
> + $(PERL) "-MExtUtils::Manifest=filecheck" -le ${PQ}sub ExtUtils::Manifes
t::_maniskip{sub{0}};$$ExtUtils::Manifest::Quiet=1;unlink $$_ for filecheck()${
PQ}
>
> -cvsclean:
> - $(PERL) -MExtUtils::Manifest=filecheck -le ${PQ}sub ExtUtils::Manifest:
:_maniskip{sub{0}};$$ExtUtils::Manifest::Quiet=1; do { unlink $$_ unless $$_ =~
m!(?:CVS/|\.cvs)! } for filecheck()${PQ}
> +cvsclean :
> + $(PERL) "-MExtUtils::Manifest=filecheck" -le ${PQ}sub ExtUtils::Manifes
t::_maniskip{sub{0}};$$ExtUtils::Manifest::Quiet=1; do { unlink $$_ unless $$_
=~ m!(?:CVS/|\.cvs)! } for filecheck()${PQ}
>
> -reconfig:
> +reconfig :
> $(MAKE) clean; $(PERL) Configure.pl --reconfig
>
> -manitest:
> - $(PERL) -MExtUtils::Manifest=fullcheck -e fullcheck
> +manitest :
> + $(PERL) "-MExtUtils::Manifest=fullcheck" -e fullcheck
>
> ############################################################################
##
> #
> @@ -460,13 +465,13 @@
> #
> ############################################################################
##
>
> -update:
> +update :
> cvs -q update -dP
>
> -status:
> +status :
> cvs -n -q upd -dP
>
> -lint: ${test_prog}
> - $(LINT) ${cc_inc} ${cc_hasjit} -Iclasses $(LINTFLAGS) `echo $(O_FILES)
| sed 's/\.o/\.c/g'`
> +lint : ${test_prog}
> + $(LINT) ${cc_inc} ${cc_hasjit} "-Iclasses" $(LINTFLAGS) `echo $(O_FILES
) | sed 's/\.o/\.c/g'`
> $(LINT) ${cc_inc} $(LINTFLAGS) test_main.c
>
> --- hints/vms.pl 4 Jan 2002 17:39:29 -0000 1.5
> +++ hints/vms.pl 1 Apr 2002 21:09:49 -0000
> @@ -1,8 +1,12 @@
> use Cwd;
> -$c{ccflags} = "/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_ALIA
S/include=([.include],\"/here\")";
> +$c{ccflags} = qq{/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_AL
IAS/include="./include"};
> +
> +$c{perl} = "MCR $c{perl}";
> +
> if (!defined $c{exe}) {
> $c{exe} = "exe";
> }
> +
> {
> local $^W; #no warnings on redefinition
>
> @@ -10,8 +14,11 @@
> my $name;
> $name = shift;
> $name = "test" unless $name;
> - system("$c{cc} $c{ccflags} $name.c") and die "C compiler died!"
;
> - system("link/exe=test_siz $name") and die "Link failed!";
> + my $cmd = "$c{cc} $c{ccflags} $name.c";
> + system($cmd) and die "C compiler died! Command was '$cmd'";
> +
> + $cmd = "link/exe=test_siz $name";
> + system($cmd) and die "Link failed! Command was '$cmd'";
> };
>
> *runtestc=sub {
>
>
> --
>
> Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
> Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job
One
> It wasn't false, just differently truthful.
> -- Abhijit Menon-Sen in <[EMAIL PROTECTED]>