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