|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
NSPR build systemHi All -
I'm looking for some help understanding NSPR's build system. I've been reading up on autoconf and automake, since I haven't used them before, but building NSPR is clearly more complex than a vanilla build using configure.in and Makefile.am files. Is there any documentation covering (for example), the files used to generate the configure script? I haven't yet found any up-to-date information on NSPR's build system. Any help would be greatly appreciated. Regards Jon _______________________________________________ dev-tech-nspr mailing list dev-tech-nspr@... https://lists.mozilla.org/listinfo/dev-tech-nspr |
|
|
Re: NSPR build systemjon wrote:
> I'm looking for some help understanding NSPR's build system. I've been > reading up on autoconf and automake, since I haven't used them before, > but building NSPR is clearly more complex than a vanilla build using > configure.in and Makefile.am files. Is there any documentation covering 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 --BDS _______________________________________________ dev-tech-nspr mailing list dev-tech-nspr@... https://lists.mozilla.org/listinfo/dev-tech-nspr |
|
|
Re: NSPR build systemOn Fri, Jun 13, 2008 at 6:54 AM, Benjamin Smedberg
<benjamin@...> 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 _______________________________________________ dev-tech-nspr mailing list dev-tech-nspr@... https://lists.mozilla.org/listinfo/dev-tech-nspr |
| Free Forum Powered by Nabble | Forum Help |