freeze

abld [ test ] freeze [-k] [-v] [ platform ] [ program ]

This command freezes new DLL exports in frozen .def files using the FREEZE target provided in makefiles generated by makmake.

The frozen .def files should be considered part of source for your component.

  • To freeze your component for the first time, having built the component, call this command.

  • Next, regenerate the makefiles so that import libraries can be created from the frozen .def files.

The import libraries can be created explicitly using the abld library command, or they can be built implicitly through abld build or abld target.

  • To add new exports to a project within your component, having built the component, call this command.

  • Next, rebuild the import libraries so that they incorporate the new exports.

Limitation:

When freezing functions from the target types, build system can auto generate .def files only for DLL, EXEDLL, EXEXP, and STDDLL target types even if, you do not have a .def file specified in the matching .mmp file.