moved from .cpp.h to .hpp for bison generated header, still compatible with R5 bison
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8208 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a235dd1ea1
commit
cec8c8b59e
9
Jamrules
9
Jamrules
@ -1492,13 +1492,13 @@ rule Bison
|
||||
{
|
||||
local _h ;
|
||||
|
||||
_h = $(1).h ;
|
||||
_h = $(1:S=.hpp) ;
|
||||
|
||||
MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;
|
||||
|
||||
Depends $(<) $(_h) : $(>) ;
|
||||
Bison1 $(<) $(_h) : $(>) ;
|
||||
LocalClean clean : $(<) $(_h) ;
|
||||
Depends $(<) $(_h) : $(>) ;
|
||||
Bison1 $(<) $(_h) : $(>) ;
|
||||
LocalClean clean : $(<) $(_h) ;
|
||||
|
||||
# make sure someone includes $(_h) else it will be
|
||||
# a deadly independent target
|
||||
@ -1509,6 +1509,7 @@ rule Bison
|
||||
actions Bison1
|
||||
{
|
||||
bison $(YACCFLAGS) -o $(1[1]) $(2)
|
||||
[ -f $(1[1]).h ] && mv $(1[1]).h $(1[2]) || true
|
||||
}
|
||||
|
||||
# BeOS specific rules
|
||||
|
Loading…
Reference in New Issue
Block a user