~online-accounts/libaccounts-qt/13.04

1 by Alberto Mardegan
Initial commit
1
#-----------------------------------------------------------------------------
2
# Common installation configuration for all projects.
3
#-----------------------------------------------------------------------------
4
5
#-----------------------------------------------------------------------------
6
# default installation target for applications
7
#-----------------------------------------------------------------------------
8
contains( TEMPLATE, app ) {
9
    target.path  = $${INSTALL_PREFIX}/bin
10
    INSTALLS    += target
11
    message("====")
12
    message("==== INSTALLS += target")
13
}
14
15
#-----------------------------------------------------------------------------
16
# default installation target for libraries
17
#-----------------------------------------------------------------------------
18
contains( TEMPLATE, lib ) {
19
75 by Jussi Laako
Fix build on x86-64
20
    target.path  = $${INSTALL_LIBDIR}
1 by Alberto Mardegan
Initial commit
21
    INSTALLS    += target
22
    message("====")
23
    message("==== INSTALLS += target")
24
25
    # reset the .pc file's `prefix' variable
26
    #include( tools/fix-pc-prefix.pri )
27
28
}
29
30
#-----------------------------------------------------------------------------
31
# target for header files
32
#-----------------------------------------------------------------------------
33
!isEmpty( headers.files ) {
34
    headers.path  = $${INSTALL_PREFIX}/include/$${TARGET}/Accounts/
35
    INSTALLS     += headers
36
    message("====")
37
    message("==== INSTALLS += headers")
38
} else {
39
    message("====")
40
    message("==== NOTE: Remember to add your API headers into `headers.files' for installation!")
41
}
42
43
44
# End of File