name}"); mkdir($ext->name); // write LICENSE file if(is_object($ext->license)) { $ext->license->write_license_file("{$ext->name}/LICENSE"); } // generate code $ext->write_header_file(); $ext->write_code_file(); if (isset($ext->logo)) { $fp = fopen("{$ext->name}/{$ext->name}_logo.h", "w"); fwrite($fp, $ext->logo->h_code()); fclose($fp); } // generate project files for configure (unices and similar platforms like cygwin) if ($ext->platform === "all" || in_array("unix", $ext->platform)) { $ext->write_config_m4(); } // generate project files for Windows platform (VisualStudio/C++ V6) if ($ext->platform === "all" || in_array("win32", $ext->platform)) { $ext->write_ms_devstudio_dsp(); } // generate EXPERIMENTAL file for unstable release states $ext->write_experimental(); // generate CREDITS file $ext->write_credits(); // generate PEAR/PECL package.xml file $ext->write_package_xml(); // generate DocBook XML documantation for PHP manual $ext->generate_documentation(); // generate test case templates $ext->write_test_files(); ?>