summaryrefslogtreecommitdiff
path: root/tests/libDLL_Test.icc
blob: 3d7c678f89c2eba1f6a9cc4ce3e423fa7bd5b00b (plain)
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
// $Id$

include "vacpp_setup.icc"

if $__TOS_AIX__ {
    TargetType = "shr"
    TargetName = "libDLL_Test.o"
}

option
    link(libSearchPath, platformLibSearchPath),
    incl(searchPath, ".."),
    link(linkWithMultiThreadLib,yes),
    link(debug)
    {
        target type ( TargetType ) TargetName
        {
           source type (cpp) "DLL_Test.cpp"
           source platformLinkLibs
        }
if $__TOS_AIX__ {
        run after targets( TargetName ) "ar -r -u libDLL_Test.a libDLL_Test.o"
        run cleanup targets ( TargetName ) "rm -rf libDLL_Test.a"
}

    }