summaryrefslogtreecommitdiff
path: root/tests/libDLL_Test.icc
blob: 46b05de93677c388520b39db6cefb9191ee428a8 (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
27
// $Id$

include "vacpp_setup.icc"

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

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

    }