2014-03-12 13:08:18 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2014-03-13 16:55:28 -07:00
|
|
|
'lib/pkixbind.cpp',
|
2014-03-12 13:08:18 -07:00
|
|
|
'lib/pkixbuild.cpp',
|
|
|
|
'lib/pkixcheck.cpp',
|
|
|
|
'lib/pkixder.cpp',
|
|
|
|
'lib/pkixkey.cpp',
|
|
|
|
'lib/pkixocsp.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'include',
|
|
|
|
]
|
|
|
|
|
2014-03-26 16:00:03 -07:00
|
|
|
TEST_DIRS += [
|
|
|
|
'test/gtest',
|
2014-03-12 13:08:18 -07:00
|
|
|
'test/lib',
|
|
|
|
]
|
|
|
|
|
2014-05-03 17:50:26 -07:00
|
|
|
CXXFLAGS += ['-Wall']
|
|
|
|
# -Wall with Visual C++ enables too many problematic warnings
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-wd4514', # 'function': unreferenced inline function has been removed
|
|
|
|
'-wd4668', # 'symbol' is not defined as a preprocessor macro...
|
|
|
|
'-wd4710', # 'function': function not inlined
|
|
|
|
'-wd4711', # function 'function' selected for inline expansion
|
|
|
|
'-wd4820', # 'bytes' bytes padding added after construct 'member_name'
|
|
|
|
]
|
|
|
|
|
2014-03-12 13:08:18 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-03-20 14:29:21 -07:00
|
|
|
LIBRARY_NAME = 'mozillapkix'
|
2014-03-12 13:08:18 -07:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|