# $installusrbinperl
# $versiononly
+case "${osname}:${osvers}" in
+darwin:*)
+$spitshell >>Makefile <<EOF
+
+# Your locales are broken (osname $osname, osvers $osvers)
+# and to avoid the numerous
+# perl: warning: Setting locale failed.
+# warnings during the build process we reset the locale variables.
+
+LC_ALL=C
+LANG=C
+LANGUAGE=C
+EOF
+ ;;
+esac
## In the following dollars and backticks do not need the extra backslash.
$spitshell >>Makefile <<'!NO!SUBS!'
# keywords.pl: keywords.h
# opcode.pl: opcode.h opnames.h pp_proto.h pp.sym
# [* embed.pl needs pp.sym generated by opcode.pl! *]
-# embed.pl: proto.h embed.h embedvar.h global.sym objXSUB.h
+# embed.pl: proto.h embed.h embedvar.h global.sym
# perlapi.h perlapi.c pod/perlintern.pod
# pod/perlapi.pod
# bytecode.pl: ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c
AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
embed.h embedvar.h global.sym \
pod/perlintern.pod pod/perlapi.pod \
- objXSUB.h perlapi.h perlapi.c ext/ByteLoader/byterun.h \
+ perlapi.h perlapi.c ext/ByteLoader/byterun.h \
ext/ByteLoader/byterun.c ext/B/B/Asmdata.pm regnodes.h \
warnings.h lib/warnings.pm
utest ucheck test.utf8 check.utf8 \
test.third check.third utest.third ucheck.third test_notty.third \
test.deparse test_notty.deparse \
- minitest
+ minitest coretest
# Cannot delegate rebuilding of t/perl to make
# to allow interlaced test and minitest
utest ucheck test.utf8 check.utf8: test_prep
PERL=./perl TEST_ARGS=-utf8 $(MAKE) _test
+coretest: test_prep
+ PERL=./perl TEST_ARGS=-core $(MAKE) _test
+
test-prep: test_prep
test-tty: test_tty