ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/node28.html
Revision: 1.1
Committed: Mon Nov 18 17:50:01 2002 UTC (22 years, 6 months ago) by sashby
Content type: text/html
Branch: MAIN
CVS Tags: V1_pre0, V0_19_7
Branch point for: SCRAM_V1_BRANCH
Log Message:
Generated and added HTML documentation.

File Contents

# User Rev Content
1 sashby 1.1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2    
3     <!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
4     patched version by: Kenshi Muto, Debian Project.
5     LaTeX2HTML 2002 (1.62),
6     original version by: Nikos Drakos, CBLU, University of Leeds
7     * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
8     * with significant contributions from:
9     Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10     <HTML>
11     <HEAD>
12     <TITLE>3.2.1.0.2 ProductStore Example:</TITLE>
13     <META NAME="description" CONTENT="3.2.1.0.2 ProductStore Example:">
14     <META NAME="keywords" CONTENT="SCRAM">
15     <META NAME="resource-type" CONTENT="document">
16     <META NAME="distribution" CONTENT="global">
17    
18     <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
19     <META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
20     <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
21    
22     <LINK REL="STYLESHEET" HREF="SCRAM.css">
23    
24     <LINK REL="previous" HREF="node27.html">
25     <LINK REL="up" HREF="node26.html">
26     <LINK REL="next" HREF="node29.html">
27     </HEAD>
28    
29     <BODY bgcolor="beige" >
30     <!--Navigation Panel-->
31     <A NAME="tex2html735"
32     HREF="node29.html">
33     <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
34     SRC="file:/usr/share/latex2html/icons/next.png"></A>
35     <A NAME="tex2html729"
36     HREF="node26.html">
37     <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
38     SRC="file:/usr/share/latex2html/icons/up.png"></A>
39     <A NAME="tex2html725"
40     HREF="node27.html">
41     <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
42     SRC="file:/usr/share/latex2html/icons/prev.png"></A>
43     <A NAME="tex2html731"
44     HREF="node2.html">
45     <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
46     SRC="file:/usr/share/latex2html/icons/contents.png"></A>
47     <A NAME="tex2html733"
48     HREF="node85.html">
49     <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
50     SRC="file:/usr/share/latex2html/icons/index.png"></A>
51     <BR>
52     <B> Next:</B> <A NAME="tex2html736"
53     HREF="node29.html">3.2.2 Compiler Support</A>
54     <B> Up:</B> <A NAME="tex2html730"
55     HREF="node26.html">3.2.1 The Project BuildFile</A>
56     <B> Previous:</B> <A NAME="tex2html726"
57     HREF="node27.html">3.2.1.0.1 ClassPath Example:</A>
58     &nbsp <B> <A NAME="tex2html732"
59     HREF="node2.html">Contents</A></B>
60     &nbsp <B> <A NAME="tex2html734"
61     HREF="node85.html">Index</A></B>
62     <BR>
63     <BR>
64     <!--End of Navigation Panel-->
65    
66     <H4><A NAME="SECTION00421020000000000000">
67     3.2.1.0.2 <I>ProductStore Example</I>:</A>
68     </H4> To create separate <TT>include</TT>,
69     <TT>bin</TT> and <TT>lib</TT> subdirectories, all of which are
70     architecture-dependent, the following tags would be added to the project <TT>BuildFile</TT>:
71     <A NAME="1857"></A>
72     <PRE>
73     &lt;ProductStore name=include type=arch&gt;&lt;/ProductStore&gt;
74     &lt;ProductStore name=lib type=arch&gt;&lt;/ProductStore&gt;
75     &lt;ProductStore name=bin type=arch&gt;&lt;/ProductStore&gt;
76     &lt;ProductStore name=module type=arch&gt;&lt;/ProductStore&gt;
77     </PRE>
78     <P>
79     When <SMALL>SCRAM</SMALL>&nbsp;finds a &lt;<TT>ProductStore</TT>&gt; tag, makefile
80     variables are set which can be used anywhere in a project
81     makefile when writing custom rules. For example, there may be a
82     default rule for copying all include files to a single location after
83     building all libraries. Here are the descriptions of the variables
84     which are set for each &lt;<TT>ProductStore</TT>&gt; tag:
85    
86     <P>
87     <DL>
88     <DT><STRONG><TT>SCRAMSTORENAME_name</TT></STRONG></DT>
89     <DD>
90     <BR>
91     The path to the storage location <TT>name</TT> from the developer
92     area directory (e.g. ,<TT>lib</TT> or <TT>lib/Linux__2.2</TT>).
93     </DD>
94     <DT><STRONG><TT>SCRAMSTORE_name</TT></STRONG></DT>
95     <DD>
96     <BR>
97     Full path to the storage location <TT>name</TT> in the current developer area.
98     </DD>
99     </DL>
100    
101     <P>
102     <BR><HR>
103     <ADDRESS>
104     scram-developers@cern.ch
105     </ADDRESS>
106     </BODY>
107     </HTML>