Re: NSPR build system
"Wan-Teh Chang" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 13, 2008 at 6:54 AM, Benjamin Smedberg <[email protected]> wrote: > > NSPR uses autoconf (version 2.13) but it does not use automake. > > The NSPR build system was created long before automake existed, and has many > of the same features as automake. A rough summary of the build system goes > like this: > > * configure.in is an M4 script which defines configuration options. It is > tranformed into the configure shell script using "autoconf-2.13". > > > * Makefile.in files are in each build directory. When configure is run, they > are transformed into Makefile by substituting @VARNAMES@. They typically > include the following sections: > > include $(DEPTH)/config/autoconf.mk - this file contains the build > configuration variables set during configure > > include $(topsrcdir)/config/config.mk - this file sets up makefile variables > > set variables such as CRSCS and HEADERS > > include $(topsrcdir)/config/rules.mk - this file sets the makefile rules for > compiling files, installing headers, etc Benjamin's reply is very complete. Thanks! I just wanted to add that the current NSPR build instructions are at http://developer.mozilla.org/en/docs/NSPR_build_instructions (I know build instructions are not the same as documentation of the build system.) Wan-Teh