This document contains instructions for building a PCSL reference port. It has the following sections:
PCSL libraries are used to build CLDC and the phoneME Feature software client. PCSL contains several individual services, including file, network, memory, and print. Follow the procedures in this section to build a default PCSL reference port containing libraries, tools, tests, and documentation bundles for the following target platforms:
Note: Although each PCSL service can be individually built, this document describes how to build the full PCSL only.
This section describes how to build PCSL on the Windows x86 build platform, for a JavaCall porting layer on a Windows x86 target platform, as shown in Table 3-1.
Note: Make a note of the values you choose for these variables. When building the CLDC and phoneME Feature software client, you must set corresponding values.
Setting PCSL Environment Variables for a Windows x86 Build Platform
Building for a Windows x86 Target Platform
make
command as a single command-line string,
as shown here.
C:\> make -C %COMPONENTS_DIR%/pcsl PCSL_PLATFORM=javacall_i386_vc
PCSL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/pcsl JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall
TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/tools
The PCSL build output is found under %PCSL_OUTPUT_DIR%/javacall_i386
To build Doxygen API documentation in HTML format from PCSL porting interfaces,
you must install the Doxygen tool. It can be acquired from
http://www.doxygen.org
Generating Doxygen Documentation
The procedure for building Doxygen documentation is the same for both Linux and Windows build platforms.
C:\> cd %COMPONENTS_DIR%/pcsl
make doc
command:
C:\> make doc
Note: The build system assumes that the Doxygen executable is in the
directory /usr/bin/doxygen
. If your executable is installed in a
different location, use the DOXYGEN_CMD
variable to define the
new location. For example:
C:\> make DOXYGEN_CMD=
doxygen_dir doc
where doxygen_dir is the location of your Doxygen executable.
Use any browser to display the Doxygen output file at the following URL:
file://%PCSL_OUTPUT_DIR%/doc/doxygen/html/index.html
first | prev | next | last
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.