For some source files that included it the generated builtext.h wasn't

explicitly added as dependency. Fixes #4070.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31434 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-07-06 22:50:42 +00:00
parent a612697fc9
commit a78909c607
2 changed files with 6 additions and 5 deletions

View File

@ -94,7 +94,8 @@ BinCommand bash :
Includes [ FGristFiles trap.c ] : <bash>signames.h ;
# some sources include the generated builtext.h
Includes [ FGristFiles execute_cmd.c jobs.c parse.c ] : <bash>builtext.h ;
Includes [ FGristFiles execute_cmd.c jobs.c parse.c trap.c ]
: <bash>builtext.h ;
SubInclude HAIKU_TOP src bin bash lib ;
SubInclude HAIKU_TOP src bin bash builtins ;

View File

@ -39,7 +39,7 @@ rule MkBuiltinsExt
MakeLocateArch $(sources) ;
SEARCH on $(defFiles) = $(SEARCH_SOURCE) ;
Depends $(sources) : $(defFiles) mkbuiltins ;
MkBuiltinsExt1 $(sources) : mkbuiltins $(defFiles) ;
LocalClean clean : $(sources) ;
@ -59,7 +59,7 @@ local bashDefFiles =
shopt.def printf.def complete.def
;
# generate the source file for the .def files
# generate the source files for the .def files
local bashDefFile ;
for bashDefFile in [ FGristFiles $(bashDefFiles) ] {
local source = $(bashDefFile:S=.c) ;
@ -77,5 +77,5 @@ StaticLibrary libbuiltins.a
[ FGristFiles $(bashDefFiles:S=.c) ]
;
# common.c includes builtext.h
Includes [ FGristFiles common.c ] : <bash>builtext.h ;
# common.c and mkbuiltins.c include builtext.h
Includes [ FGristFiles common.c mkbuiltins.c ] : <bash>builtext.h ;