summaryrefslogtreecommitdiff
path: root/Cross/Makefile-cross-SH
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused AUTOGEN_FILES Makefile variableDagfinn Ilmari Mannsåker2017-12-281-4/+0
| | | | | | | | Commit 36bb303b6ac55df9c2780b48d374c505374dc378 moved the chmod +w that the variable was used for into regen.pl, but failed to remove the variable. The regenerated files are already listed in the comment above (including which script generates them), so the variable doesn't even have any informational value, it's just a maintenance burden.
* Remove utils/c2ph and utils/pstructAbigail2017-01-161-2/+2
| | | | | | | | | | These programs are the same, just behave differently depending on under which name you call it. This is a very old script, originally dating from the perl3 era. It has been deprecated in favour of h2xs for a long time. In Perl 5.26, these utilities will no longer be available.
* s/ar rcu/ar rc/ during linkingDavid Mitchell2016-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | The are a few places in Makefile.SH which do (approximately): rm $libfile ar rcu $libfile *.o The 'u' in 'rcu' seems redundant since the old lib file is always deleted just before being recreated; and more to the point, it generates warnings on recent Linux builds: /bin/ar: `u' modifier ignored since `D' is the default (see `U') This is because the 'u' modifier updates the archive, i.e. only replaces the objects which are newer in an existing archive. On my Linux system, ar by default operates in 'deterministic' mode, which means that it doesn't add timestamps etc (so that repeated builds will give identical binaries). In this mode 'u' can't work, hence the warning. So this commit just removes the 'u' flag.
* Add time64 as its own build target.Jarkko Hietaniemi2015-07-221-2/+2
|
* dquote_static.c -> dquote.cJarkko Hietaniemi2015-07-221-2/+2
| | | | Instead of #include-ing the C file, compile it normally.
* Change name of mro.cKarl Williamson2015-03-191-2/+2
| | | | | | | | | This is to prevent a conflict showing up on z/OS (os390) because this file's name is the same as one in /ext, and there are functions cross-referenced between them, and the loader on that platform can't deal with this. See http://nntp.perl.org/group/perl.perl5.porters/226612
* Remove some remnants of x2p, which was removed by commit e5a8a0fbd7Steve Hay2015-02-181-43/+2
| | | | | | | | | | | | | | References to PERL_FOR_X2P probably have to stay in case any third-party code is #defining it. Likewise, NO_PERL_TYPEDEFS in vms/vmsish.h has to stay because it actually is used by App::a2p. Cross/Makefile.SH.patch still needs regenerating since it contains references to x2p in the top-level Makefile.SH which were removed by e5a8a0fbd7. A few other references to x2p/a2p/find2p/s2p still remain, which I am less sure about removing, plus some others in documentation which should stay anyway.
* Remove MAD.Jarkko Hietaniemi2014-06-131-4/+2
| | | | | | MAD = Misc Attribute Decoration; unmaintained attempt at preserving the Perl parse tree more faithfully so that automatic conversion to Perl 6 would have been easier.
* Tweak the perl build someOwain G. Ainsworth2013-08-221-1/+1
| | | | | | | | | | Fix the cross makefile. makefile.SH treat us like openbsd. hints/bitrig.sh: remove all version number detection goop. this is for openbsd versions that are currently *higher* then the bitrig version number, so avoid foot shooting by throwing it out. Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Remove rules to delete *.loadmap and *.prelmap files, generated on VM/ESANicholas Clark2013-05-201-1/+0
| | | | | | These rules to clean up properly on VM/ESA were added in Oct 1998 by perforce changes 1961, 1962 and 1963 in the confperl branch. VM/ESA support was removed by commit 043fec90e88a2e23 in Aug 2012.
* Remove vestigial *.SH code which can link the extracted file into ../Nicholas Clark2013-05-201-6/+0
| | | | | | | | 4 of the *.SH files have code which links the extracted file into the parent directory if the current directory ends SH. This code dates from Perl 1. It seems that the intent was that the *.SH files could live in a SH/ directory, but that feature was neither used or mentioned in the documentation in Perl 1, and hasn't been used since.
* Split out hash functions into new file and turn into inline static functionsYves Orton2013-03-191-1/+1
| | | | | This includes various tweaks related to building SipHash and other cleanup.
* Make makemeta more cognisant and easier to useChris 'BinGOs' Williams2013-02-051-2/+2
| | | | | | | | | | Provide -y and -j switches to produce yml or json files, respectively, for use in regen rules and tests The default behaviour is to produce both files. Update release managers' guide to say to regen the META files before generating release tarballs.
* Teach makemeta to use CPAN::Meta to generate both META.json and META.ymlChris 'BinGOs' Williams2013-02-021-1/+4
|
* Remove the Rhapsody port.Nicholas Clark2013-01-161-1/+1
| | | | | | | Rhapsody was an Apple OS that later evolved into Darwin and Mac OS X. It was initially only released to developers, but later became Mac OS X Server, with releases in 1999 and 2000. It was obsoleted by Mac OS X 10.0, released in March 2001.
* Remove the VM/ESA port.Nicholas Clark2012-08-311-3/+0
| | | | | VM/ESA was a mainframe OS. IBM ended service on it in June 2003. It was superseded by Z/VM.
* Purge references to --netscape and --libpods, no longer in Pod::HtmlNicholas Clark2012-01-171-1/+0
| | | | | | | | | | The long deprecated --netscape flag was removed in commit 27b29ec338b08496. This was originally added to control use of Netscape specific HTML extensions, , but became a no-op when that functionality was removed. --libpods was removed in commit 3b49d8d9ac841d8e. However neither commit removed use of these flags by callers to Pod::Html, notably in installhtml and the Makefiles that invoke it. Hence this commit.
* Add feature.h, with constants for feature bundlesFather Chrysostomos2011-12-241-2/+2
|
* Create regen/feature.plFather Chrysostomos2011-12-241-1/+3
| | | | | This script generates lib/feature.pm. Soon it will be made to gener- ate other files, too.
* Add new mktables generated files to makefilesKarl Williamson2011-11-121-0/+1
| | | | | This step was omitted from commit 0765b2b82b120f4e57571368932aa4863aba62f6
* Eliminate global.sym, as makedef.pl can generate it internally.Nicholas Clark2011-08-251-7/+4
| | | | | | | | global.sym was a file listing the exported symbols, generated by regen/embed.pl from embed.fnc and regen/opcodes, which was only used by makedef.pl Move the code that generates global.sym from regen/embed.pl to makedef.pl, and thereby eliminate the need to ship a 907 line generated file.
* Add find2perl as a dependency for the target 'test_prep'.Nicholas Clark2011-05-231-1/+2
| | | | | | | If t/porting/podcheck.t can't find x2p/find2perl, then it is unable to find an external target for a pod link in perlutil.pod, which it flags up as an error. find2perl was already a dependency of the 'all' target, hence without this rule podcheck.t would pass for 'make all test', but not 'make test'.
* Avoid make distclean failing if t/tmp* matches a directory.Nicholas Clark2011-05-191-1/+2
| | | | | | | | | | | | | Some of the tests in t/ make directories with names generated by the test.pl tempfile(), and if they exit abnormally without deleting them, this would cause distclean to fail. So change `rm -f t/tmp*` to `rm -rf t/tmp*` Remove other cruft from the same line in the Makefile. t/misctmp* hasn't been generated since 7a7e49369367a634. t/forktmp* hasn't been generated since 1c25d394345c1b97. t/io/fs.t has deleted t/c itself since 44a8e56aa037ed0f. (Whilst it might abort and fail to delete it, there's no special treatment in the Makefile for the other file that it creates, "t/TEST$$")
* In t/TEST, automatically detect if running under miniperlNicholas Clark2011-02-211-2/+2
| | | | | | Set $ENV{PERL_CORE_MINITEST} based on defined &DynaLoader::boot_DynaLoader, instead of relying on a -minitest parameter. &DynaLoader::boot_DynaLoader is undefined in miniperl, defined in perl, for both -Dusedl and -Uusedl
* Add ext/re/re.pm to the @INC set for miniperl by lib/buildcustomize.plNicholas Clark2011-02-151-6/+2
| | | | | | | This avoids a build-time race condition where lib/re.pm might be read midway through the *second* copy of it (when ext/re/Makefile is being run). It also simplifies many [Mm]akefile* rules, which previously had a special case to copy it early.
* Use a buildcustomize.pl to set @INC in miniperl when building extensions.Nicholas Clark2011-02-151-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the build tools now shipped in various subdirectories of cpan/ and dist/ we need to add several paths to @INC when invoking MakeMaker (etc) to build extensions. The previous approach of using $ENV{PERL5LIB} was fragile, because: a: It was hitting the length limit for %ENV variables on VMS b: It was running the risk of race conditions in a parallel build - ExtUtils::Makemaker "knows" to add -I../..lib, which puts lib at the *front* of @INC, but if one parallel process happens to copy a module into lib/ whilst another is searching for it, the second may get a partial read c: Overwriting $ENV{PERL5LIB} breaks any system where any of the installed build tools are actually implemented in Perl, if they are relying on $ENV{PERL5LIB} for setup This approach a: Doesn't have %ENV length limits b: Ensures that lib/ is last, so copy targets are always shadowing copy sources c: Only affects miniperl, and doesn't touch $ENV{PERL5LIB} Approaches that turned out to have fatal flaws: 1: Using $ENV{PERL5OPT} with a module fails because ExtUtils::MakeMaker searches for the build perl without setting lib, and treats the error caused by a failed -M as "not a valid perl 5 binary" 2: Refactoring ExtUtils::MakeMaker to *not* use -I for lib, and instead rely on $ENV{PERL5LIB} [which includes "../../lib"] fails because: some extensions have subdirectories, and on these EU::MM correctly uses -I../../../lib, where as $ENV{PERL5LIB} only has space for relative paths, and only with two levels. This approach actually takes advantage of ExtUtils::MakeMaker setting an -I option correct for the depth of directory being built.
* Merge perl_keyword.pl into regen/keywords.pl, to generate keywords.[ch]Nicholas Clark2011-01-241-2/+1
| | | | | | | | | | Prepend + or - in front of all the keyword names in __DATA__ to mark weak and strong keywords, needed for keyword.c As keywords.c needs Devel::Tokenizer::C 0.05, not a core module (and not a common module either) we can no longer run it as part of regen.pl. So store the sha256 of the source in the generated files, and use this in to check that they are not stale (in t/porting/regen.t)
* Break out the generated function Perl_keywords() into keywords.c, a new file.Nicholas Clark2011-01-241-1/+1
| | | | | | | | As it and Perl_yylex() both need FEATURE_IS_ENABLED, feature_is_enabled() is no longer static, and the two macro definitions move from toke.c to perl.h Previously, one had to cut and paste the output of perl_keywords.pl into the middle of toke.c, and it was not clear that it was generated code.
* opcode.pl hasn't generated files named *-old since 2008, so don't delete them.Nicholas Clark2011-01-231-1/+0
| | | | | | Commit b6b9a09997c80269 removed the last vestiges of the code that generated any files named *-old, but the code to clean them up remained. It serves no purpose.
* Remove references to compat3.sym and interp.sym, deleted over 10 years ago.Nicholas Clark2011-01-191-2/+0
|
* Generate pp_* prototypes in pp_proto.h, and remove pp.symNicholas Clark2011-01-091-5/+4
| | | | | | | | | | | Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13 locations that relied on them. regen/opcode.pl now generates prototypes for the PP functions directly, into pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads this, removing the only ordering dependency in the regen scripts. opcode.pl is now responsible for prototypes for pp_* functions. (embed.pl remains responsible for ck_* functions, reading from regen/opcodes)
* Fix typos (spelling errors) in Cross/*.Peter J. Acklam) (via RT2011-01-071-2/+2
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81880] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81880 > Signed-off-by: Abigail <abigail@abigail.be>
* Remove makeaperl, never used, a wrapper for ExtUtils::MakeMaker::makeaperlNicholas Clark2010-11-281-1/+1
| | | | | | makeaperl was added in perl5.000k, wrapped as makeaperl.SH in perl5.000l, but neither used in the core build nor installed. All it does is acts as a command-line wrapper to makeaperl() in ExtUtils::MakeMaker.
* Eliminate the now unused Makefile targets plextract, pl and pllist.Nicholas Clark2010-10-051-17/+2
|
* Move pod2html.PL into ext/Pod-HtmlNicholas Clark2010-10-051-2/+2
| | | | | Let ExtUtils::MakeMaker deal with running these extraction scripts, rather than repeating the logic in (at least) 5 places.
* Move pod2man.PL, pod2text.PL, podselect.PL into cpan/podlators/scriptsNicholas Clark2010-10-051-2/+2
| | | | | Let ExtUtils::MakeMaker deal with running these extraction scripts, rather than repeating the logic in (at least) 5 places.
* Move pod2usage.PL, podchecker.PL, podselect.PL into cpan/Pod-Parser/scriptsNicholas Clark2010-10-051-4/+2
| | | | | Let ExtUtils::MakeMaker deal with running these extraction scripts, rather than repeating the logic in (at least) 5 places.
* Move pod2latex.PL into its CPAN distribution directory.Nicholas Clark2010-10-051-2/+2
| | | | | Let ExtUtils::MakeMaker deal with running this extraction script, rather than repeating the logic in (at least) 5 places.
* test_prep has a dependency on x2p/s2pNicholas Clark2010-10-051-1/+1
| | | | | This has not been spotted because is has a dependency on $(plextract) which in turn depends on x2p/s2p
* Move OP prototypes from pp_proto.h to proto.hNicholas Clark2010-09-271-3/+3
| | | | | | | | | | | | Make embed.pl fully responsible for generating prototypes and embedding macros for pp_* and ck_* functions, placing them in embed.h and proto.h opcode.pl no longer generates pp_proto.h Remove the (effectively) duplicate explicit entries for (all but 2) ck_* functions from embed.fnc We can't actually remove pp_proto.h from the distribution *yet*, as ExtUtils::MM_Unix and ExtUtils::MM_VMS have hardcoded lists of the installed headers. Once this is resolved, we can.
* Global executable bit cleanupDavid Golden2010-07-241-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* Revert makefile part of the Unicode 5.2 patchRafael Garcia-Suarez2009-12-031-1/+1
| | | | lib/unicore/version was getting removed by "make distclean".
* Unicode 5.2Karl Williamson2009-12-031-1/+1
|
* wrap uniprops.t; makefile changes for mktablesKarl Williamson2009-11-251-5/+7
| | | | Message-ID: <4B0C4744.7080401@khwilliamson.com>
* remove all references to patching.podDave Rolsky2009-10-301-1/+1
|
* Retire uupacktool.pl. We're not in Kansas^W(Perforce & APC)-land anymore.Nicholas Clark2009-09-131-12/+5
|
* No need to run AutoSplit on lib - all AutoLoader using modules are in ext.Nicholas Clark2009-09-111-12/+1
| | | | | | | | | | | | | It seems that the code in the Makefile to run AutoSplit over lib has actually been vestigial since some point *before* 5.000. Presumably, initially, Perl code for extensions was in lib, and autosplit (the precursor to AutoSplit.pm) was run on them there. Or they were copied from ext to lib first, before splitting. Fifteen year-old backup tapes refuse to give us the detailed history of the pre-5.000 period. Whatever the cause, the code was never needed - backed up by the absense of any analgous code in the Win32 Makefiles. So remove it. This happens to also remove the only use of the shell script makedir, so remove it too.
* Remove autodoc.pl from regen.pl and the lists of regenerated files in Makefiles.Nicholas Clark2009-06-131-2/+0
| | | | Should really have been done as part of 344af494c35a9f0f50dab51474b2e7cd806f1b08
* Eliminate the regen_pods target from pod/Makefile, and references to it.Nicholas Clark2009-06-131-5/+2
|
* Convert xsutils.c and lib/attributes.pm to a regular XS extension.Nicholas Clark2009-04-121-2/+2
|