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:
parent
a612697fc9
commit
a78909c607
@ -94,7 +94,8 @@ BinCommand bash :
|
|||||||
Includes [ FGristFiles trap.c ] : <bash>signames.h ;
|
Includes [ FGristFiles trap.c ] : <bash>signames.h ;
|
||||||
|
|
||||||
# some sources include the generated builtext.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 lib ;
|
||||||
SubInclude HAIKU_TOP src bin bash builtins ;
|
SubInclude HAIKU_TOP src bin bash builtins ;
|
||||||
|
@ -39,7 +39,7 @@ rule MkBuiltinsExt
|
|||||||
|
|
||||||
MakeLocateArch $(sources) ;
|
MakeLocateArch $(sources) ;
|
||||||
SEARCH on $(defFiles) = $(SEARCH_SOURCE) ;
|
SEARCH on $(defFiles) = $(SEARCH_SOURCE) ;
|
||||||
|
|
||||||
Depends $(sources) : $(defFiles) mkbuiltins ;
|
Depends $(sources) : $(defFiles) mkbuiltins ;
|
||||||
MkBuiltinsExt1 $(sources) : mkbuiltins $(defFiles) ;
|
MkBuiltinsExt1 $(sources) : mkbuiltins $(defFiles) ;
|
||||||
LocalClean clean : $(sources) ;
|
LocalClean clean : $(sources) ;
|
||||||
@ -59,7 +59,7 @@ local bashDefFiles =
|
|||||||
shopt.def printf.def complete.def
|
shopt.def printf.def complete.def
|
||||||
;
|
;
|
||||||
|
|
||||||
# generate the source file for the .def files
|
# generate the source files for the .def files
|
||||||
local bashDefFile ;
|
local bashDefFile ;
|
||||||
for bashDefFile in [ FGristFiles $(bashDefFiles) ] {
|
for bashDefFile in [ FGristFiles $(bashDefFiles) ] {
|
||||||
local source = $(bashDefFile:S=.c) ;
|
local source = $(bashDefFile:S=.c) ;
|
||||||
@ -77,5 +77,5 @@ StaticLibrary libbuiltins.a
|
|||||||
[ FGristFiles $(bashDefFiles:S=.c) ]
|
[ FGristFiles $(bashDefFiles:S=.c) ]
|
||||||
;
|
;
|
||||||
|
|
||||||
# common.c includes builtext.h
|
# common.c and mkbuiltins.c include builtext.h
|
||||||
Includes [ FGristFiles common.c ] : <bash>builtext.h ;
|
Includes [ FGristFiles common.c mkbuiltins.c ] : <bash>builtext.h ;
|
||||||
|
Loading…
Reference in New Issue
Block a user