gecko-dev/xpcom/sample/macbuild
1999-10-03 02:58:48 +00:00
..
ReadMe.txt
Sample.mcp Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
Sample.Prefix
SampleDebug.Prefix
SampleIDL.mcp added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00

Because this sample is not part of the build system, you
have to do some things by hand. Build it like this:

1. Have a built tree.

2. Build SampleIDL.mcp, headers target. This should make an alias
   to nsISample.h in dist:xpconnect (actual location in dist
   does not matter).
   
3. Build SampleIDL.mcp, sample.xpt target. This makes sample.xpt.
   Put an alias to sample.xpt in your Components folder.
   
4. Build a target of Sample.mcp. Make an alias to the resulting
   shared lib in the components folder.
   
5. Run viewer or apprunner, and load "xpconnect-sample.html".
   Things should work.
   
sfraser@netscape.com