1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/stlport/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,62 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +LIBRARY_NAME = 'stlport_static' 1.11 + 1.12 +FORCE_STATIC_LIB = True 1.13 + 1.14 +SOURCES += [ 1.15 + 'src/allocators.cpp', 1.16 + 'src/bitset.cpp', 1.17 + 'src/codecvt.cpp', 1.18 + 'src/collate.cpp', 1.19 + 'src/complex.cpp', 1.20 + 'src/complex_io.cpp', 1.21 + 'src/complex_trig.cpp', 1.22 + 'src/ctype.cpp', 1.23 + 'src/dll_main.cpp', 1.24 + 'src/facets_byname.cpp', 1.25 + 'src/fstream.cpp', 1.26 + 'src/ios.cpp', 1.27 + 'src/iostream.cpp', 1.28 + 'src/istream.cpp', 1.29 + 'src/locale.cpp', 1.30 + 'src/locale_catalog.cpp', 1.31 + 'src/locale_impl.cpp', 1.32 + 'src/messages.cpp', 1.33 + 'src/monetary.cpp', 1.34 + 'src/num_get.cpp', 1.35 + 'src/num_get_float.cpp', 1.36 + 'src/num_put.cpp', 1.37 + 'src/num_put_float.cpp', 1.38 + 'src/numpunct.cpp', 1.39 + 'src/ostream.cpp', 1.40 + 'src/sstream.cpp', 1.41 + 'src/stdio_streambuf.cpp', 1.42 + 'src/string.cpp', 1.43 + 'src/strstream.cpp', 1.44 + 'src/time_facets.cpp', 1.45 +] 1.46 + 1.47 +SOURCES += [ 1.48 + 'src/c_locale.c', 1.49 + 'src/cxa.c', 1.50 +] 1.51 + 1.52 +DEFINES['_GNU_SOURCE'] = True 1.53 + 1.54 +LOCAL_INCLUDES += [ 1.55 + 'stlport', 1.56 +] 1.57 + 1.58 +DISABLE_STL_WRAPPING = True 1.59 + 1.60 +# Suppress warnings in third-party code. 1.61 +if CONFIG['GNU_CXX']: 1.62 + CXXFLAGS += [ 1.63 + '-Wno-empty-body', 1.64 + '-Wno-type-limits', 1.65 + ]