Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
361 dpurdie 1
=pod
2
 
3
=for htmltoc    FAQ::Merge Static Libraries
4
 
5
=head1 name
6
 
7
Merging Static Libraries
8
 
9
=head1 SYNOPSIS
10
 
11
The following fragment will merge a number of static libraries into one static
12
library - without the need to create unreadable makefile.pl's.
13
 
14
The following code fragment assumes that the input libraries have been created
15
via the use of the SubDir directive within the current directory. There are
16
other mechanisms for locating the static libraries to be merged.
17
 
18
    # Merge libraries ....
19
    #..
20
    MergeLibrary( '*',  "services",
21
                        "MSocket,--SubDir=MSocket",
22
                        "dceconfig,--SubDir=Config",
23
                        "devinfo,--SubDir=devinfo_lib",
24
                        "crc16,--SubDir=crc",
25
                        "CompDecomp,--SubDir=CompDecomp" );
26
 
27
=head2 Points of interest
28
 
29
=over 4
30
 
31
=item * 
32
 
33
Works for all machines types. Solaris and unix libraries are handled automatically. 
34
 
35
=item * 
36
 
37
The --Subdir informs JATS where to locate the input static library. In this case
38
the library is found within the current directory tree. Other options are
39
available. 
40
 
41
=item * 
42
 
43
There is no need for the "armerge" utility - this has been integrated into JATS.
44
Delete the local version.
45
 
46
=back
47
 
48
=cut
49