diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-11-29 19:19:21 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-11-29 19:24:14 +0000 |
commit | a812f6a926c0966af8d2a9a3d2d05fe1a5df510f (patch) | |
tree | 199a940e0c7e7b9bafaf55878970d936b0b95b59 /Makefile.SH | |
parent | bca52ca1d767654670429383dea23f9af89ab5ea (diff) | |
download | perl-a812f6a926c0966af8d2a9a3d2d05fe1a5df510f.tar.gz |
Following fbcaf61123069fe4, remove perlmain.c from the initial list of C files.
Otherwise miniperl gets built by ./makedepend, as it calls `make clist`,
clist depends on the initial list of C files, and perlmain.c has rules to
(re)build it which depend on miniperl.
There is no dependency problem with removing perlmain.c from the list of C
files, and hence the list of files for which makefile dependency rules are
generated, as its (new) dependency on miniperl means that it will always be
rebuilt if miniperl is rebuilt, and in turn miniperl will always be rebuilt
it miniperlmain.o is out of date. perlmain.o has the same dependencies as
miniperlmain.o, so the requirement to rebuild is always satisfied.
Thanks to Florian Ragwitz for spotting this problem.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-x | Makefile.SH | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH index 86e6d465b9..3cf2939f96 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -461,7 +461,7 @@ c3 = taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c c5 = $(madlysrc) $(mallocsrc) -c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c perlmain.c opmini.c perlmini.c +c = $(c1) $(c2) $(c3) $(c4) $(c5) miniperlmain.c opmini.c perlmini.c obj0 = op$(OBJ_EXT) perl$(OBJ_EXT) obj1 = $(madlyobj) $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) pad$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) reentr$(OBJ_EXT) mro$(OBJ_EXT) |