# ifgen

Source: [https://docs.qualcomm.com/doc/80-41102-4/topic/ifgen.html](https://docs.qualcomm.com/doc/80-41102-4/topic/ifgen.html)

The `ifgen` Interface Generation tool parses interface definition (`.api`) files, and generates IPC code (as needed).

`ifgen` is usually run automatically by the [mk Tools](https://docs.qualcomm.com/doc/80-41102-4/topic/mk-Tools.html), but can be used on its own to generate IPC code to be compiled into a legacy program that is built using its own build system.

`ifgen` usage details are displayed using the ` -h` or ` --help` options.

**Parent Topic:** [Build Tools](https://docs.qualcomm.com/doc/80-41102-4/topic/Build-Tools.html)

Last Published: Jan 13, 2025

[Previous Topic
mksys](https://docs.qualcomm.com/bundle/publicresource/80-41102-4/topics/mksys.md) [Next Topic
Target Tools](https://docs.qualcomm.com/bundle/publicresource/80-41102-4/topics/Target-Tools.md)