File: libtool.jam

package info (click to toggle)
glest 3.1.2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 3,496 kB
  • ctags: 6,107
  • sloc: cpp: 30,065; sh: 8,293; makefile: 48
file content (38 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
rule InvokeLibtoolFinish
{
    # eventually invoke libtool --mode=finish after installation
    if ! $(INVOKE_LIBTOOL_FINISH) && ! $(DESTDIR) {
        INVOKE_LIBTOOL_FINISH = true ; 
        NotFile libtool_finish ;
        Always libtool_finish ;
        LibToolFinish libtool_finish ;
        Depends install_lib : libtool_finish ;
    }
    Depends libtool_finish : $(<) ;
}

rule DoLibToolClean
{
    local target = libtoolclean ;
    Always $(target) ;
    NotFile $(target) ;

    Depends clean : $(target) ;
    LibToolClean $(target) ;
}

actions LibToolFinish bind INSTALLLIBS
{
    $(LIBTOOL) --mode=finish $(libdir)
}

actions LibToolClean
{
    $(LIBTOOL) --mode=clean $(RM)
}

if ! $(LIBTOOL_VERBOSE)
{
    LIBTOOL = "$(LIBTOOL) --quiet" ;
}