| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
You can specify the database header attributes which appeared in an old-style build-prc command line along with the kind of project being built in this clause:
project-kind [ type ] { dbname crid miscellaneous… }
|
This clause must appear exactly once, and must be first in the file,
before any other clauses. dbname, crid, and type
specify the database's name, creator id, and type. Except when
project-kind is database, type can be omitted and a type
suitable for the project kind will be used. project-kind controls
the processing of the bfd executable, and should be one of the following:
appapplicationBuild a Palm OS application, with a default type of appl.
Code and data sections in the bfd executable are converted into Palm OS
code, data, and rloc resources, and code #0
and pref #0 resources are synthesised.
glibBuild a GLib shared library, with a default type of GLib. Code and
data sections in the bfd executable are converted into GLib code,
data, and rloc resources.
syslibBuild a system shared library, with a default type of libr.
Code sections in the bfd executable are converted into libr
code resources. Since system libraries typically don't have their
own global data, data sections in the bfd executable will produce a
warning rather than being converted, unless you also use the data
miscellaneous flag.
hackBuild a HackMaster hack, with a default type of HACK. All bfd
executables given should be marked as stand-alone code sections, and any
data sections or extra code sections present will elicit warnings from
build-prc (see section Stand-alone code resources).
databaseThis implies no special handling of the bfd executable, and so builds a generic database. In this case, type must not be omitted.
The database name and creator id must come first within the braces, and may be followed by any number of the following, in any order:
read-onlyappinfo-dirtybackupok-to-install-newerreset-after-installcopy-preventionstreamhiddenlaunchable-datarecyclablebundleSet the corresponding database header attribute, adding to any attributes specified as options to build-prc. These may also be spelt with the hyphens replaced by underscores or omitted altogether (`readonly', `appinfo_dirty', etc).
modification=nummodnum=nummodno=numSet the modification number in the database header to num.
version=numSet the database header version number to num.
stack=sizeFor an application, make the pref #0 resource request size
bytes of stack space. By default, 4K is requested.
dataFor a system shared library, convert any data sections in input bfd executables into Palm OS data resources. Without this flag, when build-prc is building a system shared library, any data sections will cause warnings instead of being converted.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by root on October, 25 2005 using texi2html 1.76.