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