michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: LIBRARY_NAME = 'stlport_static' michael@0: michael@0: FORCE_STATIC_LIB = True michael@0: michael@0: SOURCES += [ michael@0: 'src/allocators.cpp', michael@0: 'src/bitset.cpp', michael@0: 'src/codecvt.cpp', michael@0: 'src/collate.cpp', michael@0: 'src/complex.cpp', michael@0: 'src/complex_io.cpp', michael@0: 'src/complex_trig.cpp', michael@0: 'src/ctype.cpp', michael@0: 'src/dll_main.cpp', michael@0: 'src/facets_byname.cpp', michael@0: 'src/fstream.cpp', michael@0: 'src/ios.cpp', michael@0: 'src/iostream.cpp', michael@0: 'src/istream.cpp', michael@0: 'src/locale.cpp', michael@0: 'src/locale_catalog.cpp', michael@0: 'src/locale_impl.cpp', michael@0: 'src/messages.cpp', michael@0: 'src/monetary.cpp', michael@0: 'src/num_get.cpp', michael@0: 'src/num_get_float.cpp', michael@0: 'src/num_put.cpp', michael@0: 'src/num_put_float.cpp', michael@0: 'src/numpunct.cpp', michael@0: 'src/ostream.cpp', michael@0: 'src/sstream.cpp', michael@0: 'src/stdio_streambuf.cpp', michael@0: 'src/string.cpp', michael@0: 'src/strstream.cpp', michael@0: 'src/time_facets.cpp', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'src/c_locale.c', michael@0: 'src/cxa.c', michael@0: ] michael@0: michael@0: DEFINES['_GNU_SOURCE'] = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: 'stlport', michael@0: ] michael@0: michael@0: DISABLE_STL_WRAPPING = True michael@0: michael@0: # Suppress warnings in third-party code. michael@0: if CONFIG['GNU_CXX']: michael@0: CXXFLAGS += [ michael@0: '-Wno-empty-body', michael@0: '-Wno-type-limits', michael@0: ]