Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xorp: Automatically generate lex and yacc files
In xorp/site_scons/config/allconfig.py added checks if 'flex' and 'bison' are installed. If they aren't instructs user how to install them (instructions are for Ubuntu and Fedora). Change xorp/rtrmgr/SConscript to automatically generate yacc and lex files with bison and flex. In CPPPATH added env['xorp_sorcedir'] so generated files could include necessary files. Also did minor changes in .yy and .ll files, so they would compile. Unfortunately Eclipse striped whitespaces from changed files, so they are meshed up with the changed code. Signed-off-by: Igor Maravic <igorm@etf.rs>
- Loading branch information
Showing
9 changed files
with
295 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.