|
|
Line 2: |
Line 2: |
| == Layout of Binary Packages == | | == Layout of Binary Packages == |
| The packaging will be as follows. Names with a "/" suffix are directories. All other names are file names. A "#" introduces an in-line comment. | | The packaging will be as follows. Names with a "/" suffix are directories. All other names are file names. A "#" introduces an in-line comment. |
| === Proposal 1 - single, inclusive include, lib, etc. directories ===
| |
|
| |
| Following <Proposal 1>, sample implementation, Solaris 9 debug build:
| |
|
| |
|
| ldapcsdk-6.02-SunOS5.9_DBG/ | | ldapcsdk-6.02-SunOS5.9_DBG/ |
Line 261: |
Line 258: |
| *: ldap.h | | *: ldap.h |
| *: ... # other ldap headers | | *: ... # other ldap headers |
|
| |
| === Proposal 2 - include, lib, etc. directories for each component ===
| |
| The top level directory will contain a subdirectory for each component. The directory name will be the name followed by a "-" followed by the version. For example, for NSPR version 4.6.4, the directory name would be '''nspr-4.6.4'''. Under each component directory will be a directory called ''lib'' and a directory called ''include''. It is intended that a Makefile could refer to these directly e.g. ''-L/path/to/nspr-4.6.4/lib'' and ''-I/path/to/nspr-4.6.4/include''. In addition, each component directory may have additional directories ''bin'' for executables and other binaries; ''tools'' for executable command line utilities and scripts; ''man'' and ''doc'' for man pages and documentation; and others.
| |
|
| |
| toplevel
| |
| * nspr-<version>/ # e.g. nspr-4.6.4/
| |
| ** lib/
| |
| ** include/
| |
| * nss-<version>/ # e.g. nss-3.11.4/
| |
| ** lib/
| |
| ** include/
| |
| ** bin/
| |
| * svrcore-<version>/ # e.g. svrcore-4.0.3/
| |
| ** lib/
| |
| ** include/
| |
| * mozldap-<version>/ # e.g. mozldap-6.1.0/
| |
| ** lib/
| |
| ** include/
| |
| ** tools/
| |
| ** examples/
| |
| ** docs/
| |