Each adapter must provide a set of makefiles and a batch file for building the new OXF libraries (including the OSAL), using its provided cross-compiler. The following table lists the makefile for each library.
| Makefile | Description | Built With |
|---|---|---|
| oxf | Run-time libraries | <env>oxf.mak |
| aom | Instrumentation libraries that support both tracing and animation | <env>aom.mak |
| tom | Instrumentation library that supports tracing | <env>tom.mak |
| omcom | Communication libraries that support communication between IBM® Rational® Rhapsody® and an instrumented application | <env>omcom.mak |
The compiled framework libraries are linked to the application generated from the Rational Rhapsody model, which has its own makefile. The application makefile is specified in the MakeFileContent property, which you modify in the site<lang>.prp file. See Creating new makefiles for more details.
| File | Location | Description |
|---|---|---|
| <env>build.mak | $OMROOT\Lang<lang> | Calls the other makefiles to build the Rational Rhapsody framework libraries (see Sample <env>build.mak file). |
| <env>aom.mak | $OMROOT\Lang<lang>\aom | Builds the instrumentation libraries: |
| <env>omcom.mak | $OMROOT\Lang<lang>\omcom | Builds the communication library for instrumentation (<env>omcomappl) |
| <env>oxf.mak | $OMROOT\Lang<lang>\oxf | Builds the OXF libraries:
See OXF versions for descriptions of the different OXF libraries. |
| <env>tom.mak | $OMROOT\tom | Builds the tracing libraries: |
You might also need to copy any RTOS-specific configuration files required to build the libraries to $OMROOT\MakeTempl. For example, pSOSystem requires drv_conf.c and sys_conf.h. In addition, you might need to copy the root.cpp file. Replace these files with any board-specific versions, if necessary.