diff options
author | Stig Bakken <ssb@php.net> | 1999-09-27 16:37:33 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-09-27 16:37:33 +0000 |
commit | 402b2a5d6d23b9d6e3a4aea878e12f52aba38487 (patch) | |
tree | d7234d1ebc0a7b0dcee83a31ab203e3943d8eb4f /sapi | |
parent | 2a854ca8b9e94ea75e949edb1283157b0daad617 (diff) | |
download | php-git-402b2a5d6d23b9d6e3a4aea878e12f52aba38487.tar.gz |
added README file with very brief docs
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sapi/README b/sapi/README new file mode 100644 index 0000000000..8c843e9e50 --- /dev/null +++ b/sapi/README @@ -0,0 +1,18 @@ +Each SAPI backend has to contain: + +config.m4: just like for extensions, this file contains +autoconf/automake directives that end up in the configure script. The +only difference is that the sapi config.m4 files are read in diversion +(output block) 2 instead of 3. The sapi config.m4 files should set +two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET +(the name of the resulting library or program, previously BINNAME). +If they are not specified, they will default to "cgi" and "php", +respectively. + +Makefile.inc: has to exist, has to define "INSTALL_IT" to the command +used to install the final target (or ":" for no operation). It also +has to define a plain Makefile rule (without autoconf substitutions) +to build $(SAPI_TARGET) + +Makefile.am: just what you think. Make sure your target is called +"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI. |