Bump for 3.6-28
[LibreOffice.git] / salhelper / Library_salhelper.mk
blobc9f7c8a1c49e58e5aeea79c654ccd113a6f4e2e1
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # Major Contributor(s):
16 # Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com>
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Library_Library,salhelper))
30 $(eval $(call gb_Library_use_package,salhelper,salhelper_inc))
32 $(eval $(call gb_Library_add_defs,salhelper,\
33 -DSALHELPER_DLLIMPLEMENTATION \
36 $(eval $(call gb_Library_use_libraries,salhelper,\
37 sal \
38 $(gb_STDLIBS) \
41 $(eval $(call gb_Library_add_exception_objects,salhelper,\
42 salhelper/source/condition \
43 salhelper/source/dynload \
44 salhelper/source/simplereferenceobject \
45 salhelper/source/thread \
46 salhelper/source/timer \
49 # At least on Linux, for backwards compatibility the salhelper library needs a
50 # specific soname and symbol versioning. The symbols in the gcc3.map should be
51 # those not already filtered out due to hidden visibility, so combining the
52 # visibility feature with the version map file feature works well.
53 # Solaris would need something like this, too. Its backwards compatibility is
54 # broken for now:
56 $(eval $(call gb_Library_set_soversion_script,salhelper,3,$(SRCDIR)/salhelper/source/gcc3.map))
58 # vim: set noet sw=4 ts=4: