1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4{
5  'includes': [
6    '../../coreconf/config.gypi',
7    '../../cmd/platlibs.gypi'
8  ],
9  'targets': [
10    {
11      'target_name': 'modutil',
12      'type': 'executable',
13      'sources': [
14        'install-ds.c',
15        'install.c',
16        'installparse.c',
17        'instsec.c',
18        'lex.Pk11Install_yy.c',
19        'modutil.c',
20        'pk11.c'
21      ],
22      'dependencies': [
23        '<(DEPTH)/exports.gyp:nss_exports',
24        '<(DEPTH)/exports.gyp:dbm_exports',
25        '<(DEPTH)/lib/jar/jar.gyp:jar',
26        '<(DEPTH)/lib/zlib/zlib.gyp:nss_zlib'
27      ]
28    }
29  ],
30  'target_defaults': {
31    'include_dirs': [
32      '<(nss_private_dist_dir)/nss',
33      '<(nss_private_dist_dir)/dbm'
34    ],
35    'defines': [
36      'NSPR20',
37      'YY_NO_UNPUT',
38      'YY_NO_INPUT'
39    ]
40  },
41  'variables': {
42    'module': 'sectools'
43  }
44}
45