summaryrefslogtreecommitdiff
path: root/makedepend.SH
Commit message (Collapse)AuthorAgeFilesLines
* makedepend.SH: Split too long lines; properly joinKarl Williamson2014-10-211-2/+4
| | | | | | | | I had thought that a continuation introduced a space. But no, a continuation can happen in the middle of a token. And this splits lines that are getting very long to avoid preprocessor limitations.
* makedepend.SH: White-space onlyKarl Williamson2014-10-211-15/+15
| | | | Align continuation backslashes
* makedepend.SH: Remove some unnecessary white spaceKarl Williamson2014-10-211-4/+4
| | | | | | | | | | Multi-line preprocessor directives are now joined into single lines. This can create lines too long for the preprocessor to handle. This commit removes blanks adjoining comments that get deleted. This makes things somewhat less likely to exceed the limit. This commit also fixes several [] which were meant to each match a tab or a blank, but editors converted the tabs to blanks
* makedepend.SH: Retain '/**/' commentsKarl Williamson2014-10-211-9/+18
| | | | These comments may actually be necessary.
* makedepend.SH: Comment out unnecessary codeKarl Williamson2014-10-211-3/+4
| | | | | This causes problems currently for z/OS. But, since we don't know why it was there, I'm leaving it in as a placeholder.
* Programmatically generate dependencies for all *.SH files.Nicholas Clark2013-05-201-28/+1
| | | | | | Previously dependencies for Makefile, config.h and makedepend were explicitly coded into verbatim sections of Makefile.SH, with most of the others being generated by makedepend.SH
* Pass in to makedepend the name(s) of files that all objects depend on.Nicholas Clark2013-05-201-2/+2
|
* 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.
* make the recent changes to makedepend more portableTony Cook2013-03-131-2/+2
| | | | | | Solaris complained about the length of the label and produced broken dependencies. This caused -Dusedtrace builds to fail since perldtrace.h wasn't being built.
* makedepend.SH: Deal with continuation linesKarl Williamson2013-02-241-1/+26
| | | | | | | | | | | | | | | makedepend was failing to take into account the fact that preprocessor directives, like any line, may be continued onto succeeding lines by a trailing backslash. This led to errors in the C preprocessing, which were suppressed on all but os390 systems.o This commit alleviates that, but it is not a complete solution. It deletes C comments, but this being sed, it doesn't catch all nuances of C comments. We only care, however, about comments on preprocessor directive lines, and this is good enough to work on the current Perl without generating any errors, on my system. Spotted by John Goodyear.
* makedepend.SH: Preprocessor directives don't have to start at column 1Karl Williamson2013-02-241-1/+1
| | | | | | | | | | Like, apparently, the person(s) who originally wrote this script, I thought all preprocessor directives had to start in column 1. It turns out that restriction was relaxed in C89; so that they may be indented. Spotted by John Goodyear.
* makedepend.SH: Make compiler errors show correct line numberKarl Williamson2013-02-241-1/+1
| | | | | | | Instead of inserting "#line 1", insert "#line 2" to account for the inserted line. Spotted by John Goodyear.
* Make everything exec-bit.txt lists executableFlorian Ragwitz2010-08-191-0/+0
| | | | | | | All these files used to be executable in the release tarballs. Apparently things also work without that in the repository, but I'd rather add this possibly unecessary change to blead instead of breaking the upcoming release. This should probably be looked into again afterwards.
* 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.
* Escape the periods in some Stratus VOS-specific code in makedepend.SHGreen, Paul2009-07-291-1/+1
|
* Amend patchlevel.h so that git_version.h is only #include""ed for perl.Nicholas Clark2009-01-231-0/+2
| | | | | | | miniperl builds with canned data equivalent to stock_git_version.h. git_version.h becomes an explicit dependency for perl.o, make_patchnum.pl is explicitly run to create it, and no sub-makes are spawned with their inherent race conditions and consequent strange build failures.
* add cflags as a dependency for all object files. (it is used to control the ↵Yves Orton2008-12-271-0/+1
| | | | arguments they are compiled with)
* RE: Perl @ 33218 (Stratus VOS patches)Paul Green2008-02-081-0/+4
| | | | | | | | From: "Green, Paul" <Paul.Green@stratus.com> Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com> Includes a fix to the patch to ext/Time/HiRes/Makefile.PL p4raw-id: //depot/perl@33259
* Assume NetBSD has touchRafael Garcia-Suarez2007-09-261-1/+0
| | | | | (patch from NetBSD package) p4raw-id: //depot/perl@31974
* makedepend.SH syntax errorYitzchak Scott-Thoennes2007-04-081-1/+1
| | | | | | From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Message-ID: <41520.67.40.29.216.1176013964.squirrel@webmail.efn.org> p4raw-id: //depot/perl@30870
* perl rebuilds because of gcc's -g flagMarcus Holland-Moritz2007-01-181-0/+1
| | | | | | Subject: [PATCH] Re: [perl #41058] make rebuilds perl everytime Message-ID: <20070118142755.28e7f724@r2d2> p4raw-id: //depot/perl@29871
* Very recent development versions of gcc (4.2.0 20060715) seemMarcus Holland-Moritz2006-07-251-0/+1
| | | | | to have switched from '<command line>' to '<command-line>'. p4raw-id: //depot/perl@28615
* z/OS makedepend fix from Peter Prymmer;Jarkko Hietaniemi2003-06-051-0/+5
| | | | | still needed as reported by Brian De Pradine. p4raw-id: //depot/perl@19692
* Force the C locale in makedepend, to prevent gcc fromRafael Garcia-Suarez2003-02-031-0/+5
| | | | | producing locale-dependent messages. p4raw-id: //depot/perl@18650
* [ID 20020708.001] makedepend problem (output of cppstdin garbled)Hans Ranke2002-07-091-3/+3
| | | | | Message-Id: <5.8.0_12541_1026136670@regency> p4raw-id: //depot/perl@17436
* Try to avoid a looping makedepend that sometimesJarkko Hietaniemi2002-06-081-0/+8
| | | | | happens when timestamps are out of sync. p4raw-id: //depot/perl@17099
* [ PATCH ] HP-UX 11.00 + 16446 + gcc-3.1/64H.Merijn Brand2002-05-071-0/+1
| | | | | | From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020507190423.E22C.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@16449
* The section needs to be in the makedepend scriptJarkko Hietaniemi2002-03-151-4/+4
| | | | | (from Jan-Erik Karlsson). p4raw-id: //depot/perl@15231
* Remove obsolete hack.Jarkko Hietaniemi2002-03-021-3/+0
| | | p4raw-id: //depot/perl@14947
* makedepend VOS fix from Paul Green.Jarkko Hietaniemi2002-01-021-17/+8
| | | p4raw-id: //depot/perl@14018
* [ID 20011108.092] makedepend bug with new gccAlexander Klimov2001-11-081-0/+2
| | | | | Message-Id: <Pine.GSO.4.40.0111080952570.12110-100000@dardar.wisdom.weizmann.ac.il> p4raw-id: //depot/perl@12894
* If using gcc -B/foo/bar makedepend would giveJarkko Hietaniemi2001-08-101-1/+2
| | | | | unnecessary warnings about unused -B/foo/bar. p4raw-id: //depot/perl@11627
* The problem described in 20010514.031 still wasn'tJarkko Hietaniemi2001-05-151-2/+2
| | | | | | | fully cured, there were remnants of $CONFIG when $CONFIGDOTSH was expected. Now renamed to PERL_CONFIG_SH to avoid future conflicts. p4raw-id: //depot/perl@10113
* makedepend.SH patch for AmigaOS from Jan-Erik Karlsson;Jarkko Hietaniemi2001-04-241-0/+4
| | | | | the $cat must have an absolute path. p4raw-id: //depot/perl@9827
* 'no *POSIX' Patch speeding up make on BS2000 Thomas Dorner2001-03-081-1/+5
| | | | | Message-ID: <6727B1DACFCDD311A757009027CA8D69010A88CB@Ex02.inhouse.start.de> p4raw-id: //depot/perl@9079
* small os390 tweaks (from Peter Prymmer)Gurusamy Sarathy2000-04-241-15/+30
| | | p4raw-id: //depot/perl@5930
* nit from Spider BoardmanJarkko Hietaniemi2000-03-021-0/+1
| | | p4raw-id: //depot/cfgperl@5441
* two small patches from Peter Prymmer <pvhp@forte.com>Gurusamy Sarathy1999-12-031-0/+3
| | | p4raw-id: //depot/perl@4627
* rename cygwin32 to cygwin (from Eric Fifer <EFifer@sanwaint.com>)Gurusamy Sarathy1999-08-011-1/+1
| | | p4raw-id: //depot/perl@3852
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-07-261-33/+18
| | | p4raw-id: //depot/perl@3774
* First steps of making builds outside the sourceJarkko Hietaniemi1999-07-251-18/+33
| | | | | | | | directory possible. These should get us as far as miniperl, then building DynaLoader falls into tiny twinkling pieces as MakeMaker knows nothing of VPATH mindset. p4raw-id: //depot/cfgperl@3735
* cygwin32 update (untested adaptation of patch against 5.005_03)Alexander Smishlajev1999-05-101-1/+5
| | | | | | Message-ID: <37230365.5F68B460@turnhere.com> Subject: [PATCH]5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3358
* Configure regen.Jarkko Hietaniemi1999-04-021-2/+2
| | | | | | | Add llseek + offset_t probing. Change CONFIG to CONFIGDOTSH. 'unset foo' is unportable, use foo=''. p4raw-id: //depot/cfgperl@3201
* makedependIlya Zakharevich1999-01-211-1/+5
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-ID: <19990121020827.A25509@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2661
* NetBSD update, based on patches from the NetBSD packages system.Jarkko Hietaniemi1999-01-191-0/+1
| | | p4raw-id: //depot/cfgperl@2650
* patches for perl 5.005_51 under U/WINJoe Buehler1998-09-231-1/+6
| | | | | Message-ID: <yd37lzro5jb.fsf@pandora.hekimian.com> p4raw-id: //depot/perl@1823
* generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVSJarkko Hietaniemi1998-07-121-3/+8
| | | | | | Message-Id: <199807111451.RAA27010@alpha.hut.fi> Subject: M3 "generic" parts p4raw-id: //depot/perl@1451
* Configure patches -01 and -02 for 5.004_61.Andy Dougherty1998-03-051-1/+1
| | | p4raw-id: //depot/perl@783
* Re: ANNOUNCE: perl5.004_60 Configure patch is availableAndy Dougherty1998-02-251-1/+1
| | | p4raw-id: //depot/perl@575
* Major changes to the DOS/djgpp port (including threading):Molnar Laszlo1997-12-171-1/+1
| | | | | Subject: Re: dos-djgpp port not in perl 5.004_54 p4raw-id: //depot/perl@373