|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-B1800856-3516-5D22-B1C5-556866CDDF46" xml:lang="en"><title>bldmake |
|
13 command syntax</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The <filepath>bldmake</filepath> tool processes the component description |
|
15 file (<filepath>bld.inf</filepath>) in the current directory and generates |
|
16 the batch file <filepath>abld.bat</filepath> and several build batch makefiles |
|
17 (<filepath>.make</filepath>). The makefiles are used by <filepath>abld</filepath> to |
|
18 perform the various stages of building the component. </p> |
|
19 <p><b>Invocation syntax </b> </p> |
|
20 <p> <codeph>bldmake</codeph> [ <codeph>options</codeph> ] <codeph>command</codeph> [ <codeph>platform</codeph> ] </p> |
|
21 <p>Details of <varname>command</varname> and <varname>options</varname> are |
|
22 given in the following tables: </p> |
|
23 <p><b>Command </b> </p> |
|
24 <table id="GUID-36F68EE0-3993-55A3-8FE8-B0AA83865FCE"> |
|
25 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
26 <thead> |
|
27 <row> |
|
28 <entry><b>Command</b></entry> |
|
29 <entry><b>Description</b></entry> |
|
30 </row> |
|
31 </thead> |
|
32 <tbody> |
|
33 <row> |
|
34 <entry><p> <codeph>bldfiles</codeph> </p> </entry> |
|
35 <entry><p>Creates abld and the project makefiles. </p> </entry> |
|
36 </row> |
|
37 <row> |
|
38 <entry><p> <codeph>clean</codeph> </p> </entry> |
|
39 <entry><p>Removes all files created by bldmake. </p> </entry> |
|
40 </row> |
|
41 <row> |
|
42 <entry><p> <codeph>inf</codeph> </p> </entry> |
|
43 <entry><p>Displays basic <filepath>bld.inf</filepath> syntax. </p> </entry> |
|
44 </row> |
|
45 <row> |
|
46 <entry><p> <codeph>plat</codeph> </p> </entry> |
|
47 <entry><p>Displays a list of the supported platforms, and the macros defined |
|
48 for each for the preprocessing of <codeph>prj_mmpfiles</codeph> and <codeph>prj_testmmpfiles</codeph> sections |
|
49 of bld.inf files. </p> <p>If a platform name is given, just the macros for |
|
50 that platform are displayed: for example, <codeph>bldmake plat thumb</codeph>. </p> </entry> |
|
51 </row> |
|
52 </tbody> |
|
53 </tgroup> |
|
54 </table> |
|
55 <p><b>Options </b> </p> |
|
56 <table id="GUID-4BBBDC0A-652C-5079-B581-11CF52CBD9C7"> |
|
57 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
58 <thead> |
|
59 <row> |
|
60 <entry><b>Options</b></entry> |
|
61 <entry><b>Description</b></entry> |
|
62 </row> |
|
63 </thead> |
|
64 <tbody> |
|
65 <row> |
|
66 <entry><p> <codeph>-v</codeph> </p> </entry> |
|
67 <entry><p>Instructs <filepath>bldmake</filepath> to print progress messages. </p> <p>Only |
|
68 error messages are printed by default. </p> </entry> |
|
69 </row> |
|
70 <row> |
|
71 <entry><p> <codeph> -k</codeph> or <codeph>-keepgoing </codeph> </p> </entry> |
|
72 <entry><p>Instructs <filepath>bldmake</filepath> to continue with the process |
|
73 even if the files specified in <xref href="GUID-EDCBBB5E-FAAD-50A5-9EE4-B4F399B77CE9.dita">bld.inf |
|
74 file</xref> are missing. </p> </entry> |
|
75 </row> |
|
76 </tbody> |
|
77 </tgroup> |
|
78 </table> |
|
79 <p><b>Platform </b> </p> |
|
80 <p>Defines the target for which to create the makefiles. If not specified, |
|
81 all the default targets are assumed. </p> |
|
82 <p>For v9.1, the default targets are WINSCW, GCCXML, ARMV5, and CW_IDE. </p> |
|
83 </conbody></concept> |