1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval
$(call gb_Library_Library
,salhelper
))
13 $(eval
$(call gb_Library_add_defs
,salhelper
,\
14 -DSALHELPER_DLLIMPLEMENTATION \
17 $(eval
$(call gb_Library_set_is_ure_library
,salhelper
))
19 $(eval
$(call gb_Library_use_libraries
,salhelper
,\
23 $(eval
$(call gb_Library_add_exception_objects
,salhelper
,\
24 salhelper
/source
/condition \
25 salhelper
/source
/dynload \
26 salhelper
/source
/simplereferenceobject \
27 salhelper
/source
/thread \
28 salhelper
/source
/timer \
31 # At least on Linux, for backwards compatibility the salhelper library needs a
32 # specific soname and symbol versioning. The symbols in the gcc3.map should be
33 # those not already filtered out due to hidden visibility, so combining the
34 # visibility feature with the version map file feature works well.
35 # Solaris would need something like this, too. Its backwards compatibility is
38 $(eval
$(call gb_Library_set_soversion_script
,salhelper
,$(SRCDIR
)/salhelper
/source
/gcc3.map
))
40 # vim: set noet sw=4 ts=4: