summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/pk11wrap/pk11wrap.gyp
blob: 2af27a0521eea3c5c8669258b1a82f532a434248 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
{
  'includes': [
    '../../coreconf/config.gypi'
  ],
  'targets': [
    {
      'target_name': 'pk11wrap',
      'type': 'static_library',
      'sources': [
        'dev3hack.c',
        'pk11akey.c',
        'pk11auth.c',
        'pk11cert.c',
        'pk11cxt.c',
        'pk11err.c',
        'pk11kea.c',
        'pk11list.c',
        'pk11load.c',
        'pk11mech.c',
        'pk11merge.c',
        'pk11nobj.c',
        'pk11obj.c',
        'pk11pars.c',
        'pk11pbe.c',
        'pk11pk12.c',
        'pk11pqg.c',
        'pk11sdr.c',
        'pk11skey.c',
        'pk11slot.c',
        'pk11util.c'
      ],
      'dependencies': [
        '<(DEPTH)/exports.gyp:nss_exports'
      ]
    }
  ],
  'target_defaults': {
    'defines': [
      'SHLIB_SUFFIX=\"<(dll_suffix)\"',
      'SHLIB_PREFIX=\"<(dll_prefix)\"',
      'SHLIB_VERSION=\"3\"',
      'SOFTOKEN_SHLIB_VERSION=\"3\"'
    ]
  },
  'variables': {
    'module': 'nss'
  }
}