2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-06-17 12:21:01 -07:00
|
|
|
LIBRARY_NAME = 'stlport_static'
|
|
|
|
|
2013-10-24 10:51:00 -07:00
|
|
|
FORCE_STATIC_LIB = True
|
2013-10-31 18:30:45 -07:00
|
|
|
|
|
|
|
SOURCES += [
|
|
|
|
'src/allocators.cpp',
|
|
|
|
'src/bitset.cpp',
|
|
|
|
'src/codecvt.cpp',
|
|
|
|
'src/collate.cpp',
|
|
|
|
'src/complex.cpp',
|
|
|
|
'src/complex_io.cpp',
|
|
|
|
'src/complex_trig.cpp',
|
|
|
|
'src/ctype.cpp',
|
|
|
|
'src/dll_main.cpp',
|
|
|
|
'src/facets_byname.cpp',
|
|
|
|
'src/fstream.cpp',
|
|
|
|
'src/ios.cpp',
|
|
|
|
'src/iostream.cpp',
|
|
|
|
'src/istream.cpp',
|
|
|
|
'src/locale.cpp',
|
|
|
|
'src/locale_catalog.cpp',
|
|
|
|
'src/locale_impl.cpp',
|
|
|
|
'src/messages.cpp',
|
|
|
|
'src/monetary.cpp',
|
|
|
|
'src/num_get.cpp',
|
|
|
|
'src/num_get_float.cpp',
|
|
|
|
'src/num_put.cpp',
|
|
|
|
'src/num_put_float.cpp',
|
|
|
|
'src/numpunct.cpp',
|
|
|
|
'src/ostream.cpp',
|
|
|
|
'src/sstream.cpp',
|
|
|
|
'src/stdio_streambuf.cpp',
|
|
|
|
'src/string.cpp',
|
|
|
|
'src/strstream.cpp',
|
|
|
|
'src/time_facets.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
SOURCES += [
|
|
|
|
'src/c_locale.c',
|
|
|
|
'src/cxa.c',
|
|
|
|
]
|
2013-11-27 05:55:07 -08:00
|
|
|
|
|
|
|
DEFINES['_GNU_SOURCE'] = True
|
2013-12-31 01:06:11 -08:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'stlport',
|
|
|
|
]
|
|
|
|
|
2014-03-04 16:39:06 -08:00
|
|
|
DISABLE_STL_WRAPPING = True
|
2014-04-23 19:51:42 -07:00
|
|
|
NO_VISIBILITY_FLAGS = True
|
2014-03-20 22:22:02 -07:00
|
|
|
|
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-empty-body',
|
|
|
|
'-Wno-type-limits',
|
|
|
|
]
|