Source of: /manual/en/internals2.buildsys.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/internals2.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'internals2.buildsys.php',
1 => 'The PHP 5 build system',
),
'up' =>
array (
0 => 'internals2.php',
1 => 'PHP at the Core: A Hacker\'s Guide to the Zend Engine',
),
'prev' =>
array (
0 => 'internals2.counter.function.counter-get-named.php',
1 => 'counter_get_named',
),
'next' =>
array (
0 => 'internals2.buildsys.environment.php',
1 => 'Building PHP for extension development',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>The PHP 5 build system</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="internals2.buildsys.environment.php">Building PHP for extension development</a></li><li><a href="internals2.buildsys.skeleton.php">The ext_skel script</a></li><li><a href="internals2.buildsys.configunix.php">Talking to the UNIX build system: config.m4</a></li><li><a href="internals2.buildsys.configwin.php">Talking to the Windows build system: config.w32</a></li></ul>
<p class="para">
With all the functionality and flexibility available in PHP 5, it is no
surprise that it consists of several thousand files and over one million
lines of source code. Equally unsurprising is the necessity of a build
system to manage so much data. This section describes how to set PHP up for
extension development, the layout of an extension within the PHP source
tree, and how to interface your extension with the build system.
</p>
</div>
<?php manual_footer(); ?>