File: common-installs-config.pri

package info (click to toggle)
signon-plugin-oauth2 0.25%2Bgit20231015.fab69886-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: cpp: 3,648; xml: 36; makefile: 10; ansic: 9
file content (51 lines) | stat: -rw-r--r-- 1,929 bytes parent folder | download | duplicates (3)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
#-----------------------------------------------------------------------------
# Installation configuration for all SSO plugins
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# default installation target for applications
#-----------------------------------------------------------------------------
contains( TEMPLATE, app ) {
    target.path  = $${INSTALL_PREFIX}/bin
    INSTALLS    += target
    message("====")
    message("==== INSTALLS += target")
}

#-----------------------------------------------------------------------------
# default installation target for libraries
#-----------------------------------------------------------------------------
contains( TEMPLATE, lib ) {
    target.path  = $${SIGNON_PLUGINS_DIR}
    INSTALLS    += target
    message("====")
    message("==== INSTALLS += target")
}

#-----------------------------------------------------------------------------
# target for header files
#-----------------------------------------------------------------------------
!isEmpty( headers.files ) {
    headers.path  = $${INSTALL_PREFIX}/include/signon-plugins
    INSTALLS     += headers
    message("====")
    message("==== INSTALLS += headers")
} else {
    message("====")
    message("==== NOTE: Remember to add your plugin headers into `headers.files' for installation!")
}

#-----------------------------------------------------------------------------
# target for header files
#-----------------------------------------------------------------------------
!isEmpty( pkgconfig.files ) {
    pkgconfig.path  = $${INSTALL_LIBDIR}/pkgconfig
    INSTALLS       += pkgconfig
    message("====")
    message("==== INSTALLS += pkgconfig")
} else {
    message("====")
    message("==== NOTE: Remember to add your pkgconfig into `pkgconfig.files' for installation!")
}

# End of File