|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 EXPORTS += [ |
|
8 'mozzconf.h', |
|
9 'zconf.h', |
|
10 'zlib.h', |
|
11 ] |
|
12 |
|
13 LIBRARY_NAME = 'mozz' |
|
14 |
|
15 SOURCES += [ |
|
16 'adler32.c', |
|
17 'compress.c', |
|
18 'crc32.c', |
|
19 'deflate.c', |
|
20 'gzclose.c', |
|
21 'gzlib.c', |
|
22 'gzread.c', |
|
23 'gzwrite.c', |
|
24 'infback.c', |
|
25 'inffast.c', |
|
26 'inflate.c', |
|
27 'inftrees.c', |
|
28 'trees.c', |
|
29 'uncompr.c', |
|
30 'zutil.c', |
|
31 ] |
|
32 |
|
33 if CONFIG['ZLIB_IN_MOZGLUE']: |
|
34 DEFINES['IMPL_MFBT'] = True |