Getting Started with phoneME Feature Software (MR2)

# Building the JavaCall Porting Layer (Win32_i386 Only) first | prev | next | last The JavaCall porting layer provides a uniform set of APIs that improve and simplify the phoneME Feature software porting process. Note: The JavaCall porting layer is optional and available only on the Win32/i386 platform. To build a default implementation of the JavaCall porting layer, you take the following general steps: Set environment variables for your platform Run `make` to build the JavaCall implementation Note: This document is part of the MR2 development release version of phoneME Feature software. The instructions have not been verified or tested. The contents will continue to change as development moves forward. ### Setting JavaCall Environment Variables JavaCall has two environment variables that can be set, as shown in Table 2-1. Note: Make note of the values you choose for these variables. When executing the build procedures for PCSL, CLDC, and the phoneME Feature software client, you must set corresponding values.
TABLE 2-1 JavaCall Environment Variables
Name | Description
--- | ---
`JAVACALL_INCLUDE_DIR` | Specifies the location of the JavaCall header files in the source directory. For example, `JAVACALL_INCLUDE_DIR=%HOME%/javacall/include`.
`JAVACALL_OUTPUT_DIR` | Defines the directory where the build system puts its output (for example, object files and libraries). For example, `JAVACALL_OUTPUT_DIR=%BUILD_OUPUT_DIR%/javacall` Note: This is an optional variable. If it is not specified, the JavaCall build system sets the output directory for you.
### Building JavaCall To build an implementation of the JavaCall porting layer, take the following steps: Set JavaCall environment variables, as shown here. `$ set JAVACALL_INCLUDE_DIR=%HOME%/javacall/include` `$ set JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall` Change to the JavaCall build directory. `$ cd %HOME%/javacall/src/win32/build` Run the `make` command. `$ make` When the `make` command has successfully completed, the JavaCall build output is found in the following directory: `%JAVACALL_OUTPUT_DIR%/javacall_i386`
first | prev | next | last