2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04:00
|
|
|
# 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/.
|
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
Library('verifymar')
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-12-09 22:30:27 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-08-22 10:56:02 +04:00
|
|
|
'cryptox.c',
|
|
|
|
'mar_verify.c',
|
|
|
|
]
|
|
|
|
|
2013-10-24 21:51:00 +04:00
|
|
|
FORCE_STATIC_LIB = True
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2014-02-11 18:12:33 +04:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
USE_STATIC_LIBS = True
|
2014-04-23 04:45:59 +04:00
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
2014-04-08 18:06:56 +04:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'MacVerifyCrypto.cpp',
|
|
|
|
]
|
2014-08-06 02:25:33 +04:00
|
|
|
OS_LIBS += [
|
2014-04-23 04:45:59 +04:00
|
|
|
'-framework Security',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
DEFINES['MAR_NSS'] = True
|
|
|
|
LOCAL_INCLUDES += ['../sign']
|
2014-04-08 18:06:56 +04:00
|
|
|
|
2014-02-16 00:24:59 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../src',
|
|
|
|
]
|
|
|
|
|