The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


Adding XPIDL interface files to the build process

We've a few rules to the build process to make it easy to create headers and xpt typelib files from XPIDL interface files.
  • Windows and Unixes:
    Define XPIDLSRCS in your Makefile.in or makefile.win, listing all the .idl files that you want to compile. rules.mk and rules.mak will use this variable to
    • create .h files for each .idl file and export them to the include directory.
    • create .xpt files for each .idl file
    • link the .xpt files together into $(MODULE).xpt
    • export the resulting .xpt file to the components directory.
    If you have several directories with the same MODULE that you want to compile .idl files in, you may want to define XPIDL_MODULE as well with a new name to avoid conflicts. The build system will use XPIDL_MODULE instead.

  • Macintosh:
    You need to create a seperate CodeWarrior project file listing the .idl files you want to compile. Ask Patrick Beard for details. Or write them up for me so I can put them here!
mccabe@netscape.com

Last modified: Fri May 28 12:35:45 PDT 1999



Copyright © 1998 The Mozilla Organization.