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_use_libraries
,salhelper
,\
22 $(eval
$(call gb_Library_add_exception_objects
,salhelper
,\
23 salhelper
/source
/condition \
24 salhelper
/source
/dynload \
25 salhelper
/source
/simplereferenceobject \
26 salhelper
/source
/thread \
27 salhelper
/source
/timer \
30 # At least on Linux, for backwards compatibility the salhelper library needs a
31 # specific soname and symbol versioning. The symbols in the gcc3.map should be
32 # those not already filtered out due to hidden visibility, so combining the
33 # visibility feature with the version map file feature works well.
34 # Solaris would need something like this, too. Its backwards compatibility is
37 $(eval
$(call gb_Library_set_soversion_script
,salhelper
,$(SRCDIR
)/salhelper
/source
/gcc3.map
))
39 # vim: set noet sw=4 ts=4: