1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_StaticLibrary_StaticLibrary
,boost_filesystem
))
12 $(eval
$(call gb_StaticLibrary_use_unpacked
,boost_filesystem
,boost
))
14 $(eval
$(call gb_StaticLibrary_set_warnings_disabled
,boost_filesystem
))
16 # disable "auto link" "feature" on MSVC
17 $(eval
$(call gb_StaticLibrary_add_defs
,boost_filesystem
,\
19 $(if
$(filter-out MACOSX WNT
,$(OS
)),-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS
) \
22 # See workdir/UnpackedTarball/boost/libs/filesystem/build/Jamfile.v2:
23 ifeq ($(HAVE_CXX20_ATOMIC_REF
),)
24 $(eval
$(call gb_StaticLibrary_add_defs
,boost_filesystem
,-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF
))
27 $(eval
$(call gb_StaticLibrary_use_external
,boost_filesystem
,boost_headers
))
29 $(eval
$(call gb_StaticLibrary_set_generated_cxx_suffix
,boost_filesystem
,cpp))
31 $(eval
$(call gb_StaticLibrary_add_generated_exception_objects
,boost_filesystem
,\
32 UnpackedTarball
/boost
/libs
/filesystem
/src
/codecvt_error_category \
33 UnpackedTarball
/boost
/libs
/filesystem
/src
/directory \
34 UnpackedTarball
/boost
/libs
/filesystem
/src
/exception \
35 UnpackedTarball
/boost
/libs
/filesystem
/src
/operations \
36 UnpackedTarball
/boost
/libs
/filesystem
/src
/path \
37 UnpackedTarball
/boost
/libs
/filesystem
/src
/path_traits \
38 UnpackedTarball
/boost
/libs
/filesystem
/src
/portability \
39 UnpackedTarball
/boost
/libs
/filesystem
/src
/unique_path \
40 UnpackedTarball
/boost
/libs
/filesystem
/src
/utf8_codecvt_facet \
41 UnpackedTarball
/boost
/libs
/filesystem
/src
/windows_file_codecvt \
44 # vim: set noet sw=4 ts=4: