Fixed bison build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14712 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,7 +2,8 @@ SubDir HAIKU_TOP src bin bison lib ;
|
|||||||
|
|
||||||
SubDirCcFlags -DHAVE_CONFIG_H ;
|
SubDirCcFlags -DHAVE_CONFIG_H ;
|
||||||
|
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
SubDirSysHdrs $(SUBDIR) ;
|
||||||
|
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
||||||
|
|
||||||
StaticLibrary libbison.a :
|
StaticLibrary libbison.a :
|
||||||
abitset.c
|
abitset.c
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ SubDir HAIKU_TOP src bin bison src ;
|
|||||||
|
|
||||||
SubDirCcFlags -DHAVE_CONFIG_H -DPKGDATADIR=\'\"/etc\"\' -DLOCALEDIR=\'\"/etc/locale\"\' ;
|
SubDirCcFlags -DHAVE_CONFIG_H -DPKGDATADIR=\'\"/etc\"\' -DLOCALEDIR=\'\"/etc/locale\"\' ;
|
||||||
|
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) lib ] ;
|
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) lib ] ;
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
||||||
|
|
||||||
BinCommand bison :
|
BinCommand bison :
|
||||||
LR0.c
|
LR0.c
|
||||||
@@ -37,5 +37,9 @@ BinCommand bison :
|
|||||||
uniqstr.c
|
uniqstr.c
|
||||||
vcg.c
|
vcg.c
|
||||||
: libbison.a
|
: libbison.a
|
||||||
: bison.rdef ;
|
: bison.rdef
|
||||||
|
;
|
||||||
|
|
||||||
|
# Don't search scan-gram.c and scan-skel.c in the source directory.
|
||||||
|
# We want to use the one generated from scan-gram.l and scan-skel.l.
|
||||||
|
SEARCH on [ FGristFiles scan-gram.c scan-skel.c ] = ;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
%option debug nodefault nounput noyywrap never-interactive
|
%option debug nodefault nounput noyywrap never-interactive
|
||||||
%option prefix="gram_" outfile="lex.yy.c"
|
%option prefix="gram_"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
02110-1301, USA. */
|
02110-1301, USA. */
|
||||||
|
|
||||||
%option nodefault noyywrap nounput never-interactive debug
|
%option nodefault noyywrap nounput never-interactive debug
|
||||||
%option prefix="skel_" outfile="lex.yy.c"
|
%option prefix="skel_"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user