Main > Programming > Libraries >

Makefile::Parser 0.11

Makefile::Parser 0.11

Sponsored Links

Makefile::Parser 0.11 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.018 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1103
Date added: 2006-10-24
Publisher: Agent Zhang

Makefile::Parser 0.11 description

Makefile::Parser is a Simple Parser for Makefiles.

SYNOPSIS

use Makefile::Parser;

$parser = Makefile::Parser->new;

# Equivalent to ->parse(Makefile);
$parser->parse or
die Makefile::Parser->error;

# Get last value assigned to the specified variable CC:
print $parser->var(CC);

# Get all the variable names defined in the Makefile:
@vars = $parser->vars;
print join( , sort @vars);

@roots = $parser->roots; # Get all the "root targets"
print $roots[0]->name;

@tars = $parser->targets; # Get all the targets
$tar = join("n", $tars[0]->commands);

# Get the default target, say, the first target defined in Makefile:
$tar = $parser->target;

$tar = $parser->target(install);
# Get the name of the target, say, install here:
print $tar->name;

# Get the dependencies for the target install:
@depends = $tar->depends;

# Access the shell command used to build the current target.
@cmds = $tar->commands;

# Parse another file using the same Parser object:
$parser->parse(Makefile.old) or
die Makefile::Parser->error;

# Get the target who is specified by variable EXE_FILE
$tar = $parser->target($parser->var(EXE_FILE));

This is a parser for Makefiles. At this very early stage, the parser only supports a limited set of features, so it may not recognize some advanced features provided by certain make tools like GNU make. Its initial purpose is to provide basic support for another module named Makefile::GraphViz, which is aimed to render the building process specified by a Makefile using the amazing GraphViz library. The Make module is not satisfactory for this purpose, so I decided to build one of my own.

Makefile::Parser 0.11 Screenshot

Advertisements

Makefile::Parser 0.11 Keywords

Bookmark Makefile::Parser 0.11

Hyperlink code:
Link for forum:

Makefile::Parser 0.11 Copyright

WareSeeker periodically updates pricing and software information of Makefile::Parser 0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Makefile::Parser 0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Audio::Cuefile::Parser is a Perl module for audio cuefile parser. Free Download
RDF::Simple::Parser is a simple RDF/XML parser that reads a string containing RDF in XML. Free Download
PandaLex PDF Parser is a flex and bison parser for PDF documents. Free Download
Bakefile is cross-platform, cross-compiler generator of native makefiles. Free Download
XML::Bare is a minimal XML parser implemented via a C state engine. Free Download
Shell::Parser is a simple shell script parser. Free Download
GEMpire is a turn based multiplayer strategy game in Java. Free Download
Test::Parser is a collection of parsers for different test output file formats. Free Download