xref: /trunk/main/salhelper/Library_salhelper.mk (revision 46cbbbfe)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,salhelper))
25
26$(eval $(call gb_Library_add_package_headers,salhelper,salhelper_inc))
27
28$(eval $(call gb_Library_set_include,salhelper,\
29	$$(INCLUDE) \
30	-I$(SRCDIR)/salhelper/inc \
31))
32
33#$(eval $(call gb_Library_add_api,salhelper, \
34#        udkapi \
35#	offapi \
36#))
37
38$(eval $(call gb_Library_add_defs,salhelper,\
39	-DSALHELPER_DLLIMPLEMENTATION \
40))
41
42ifeq ($(COMNAME),msci)
43$(eval $(call gb_Library_set_versionmap,salhelper,$(SRCDIR)/salhelper/source/msci.map))
44else ifeq ($(COMNAME),mscx)
45$(eval $(call gb_Library_set_versionmap,salhelper,$(SRCDIR)/salhelper/source/mscx.map))
46else ifeq ($(GUI),OS2)
47$(eval $(call gb_Library_set_versionmap,salhelper,$(SRCDIR)/salhelper/source/gcc3os2.map))
48else ifeq ($(COMNAME),sunpro5)
49$(eval $(call gb_Library_set_versionmap,salhelper,$(SRCDIR)/salhelper/source/sols.map))
50else ifeq ($(COMNAME),gcc3)
51$(eval $(call gb_Library_set_versionmap,salhelper,$(SRCDIR)/salhelper/source/gcc3.map))
52endif
53
54$(eval $(call gb_Library_add_linked_libs,salhelper,\
55	sal \
56	stl \
57	$(gb_STDLIBS) \
58))
59
60$(eval $(call gb_Library_add_exception_objects,salhelper,\
61	salhelper/source/condition \
62	salhelper/source/dynload \
63	salhelper/source/simplereferenceobject \
64))
65
66# vim: set noet sw=4 ts=4:
67
68