1*508394c9Sdamjan#************************************************************** 2*508394c9Sdamjan# 3*508394c9Sdamjan# Licensed to the Apache Software Foundation (ASF) under one 4*508394c9Sdamjan# or more contributor license agreements. See the NOTICE file 5*508394c9Sdamjan# distributed with this work for additional information 6*508394c9Sdamjan# regarding copyright ownership. The ASF licenses this file 7*508394c9Sdamjan# to you under the Apache License, Version 2.0 (the 8*508394c9Sdamjan# "License"); you may not use this file except in compliance 9*508394c9Sdamjan# with the License. You may obtain a copy of the License at 10*508394c9Sdamjan# 11*508394c9Sdamjan# http://www.apache.org/licenses/LICENSE-2.0 12*508394c9Sdamjan# 13*508394c9Sdamjan# Unless required by applicable law or agreed to in writing, 14*508394c9Sdamjan# software distributed under the License is distributed on an 15*508394c9Sdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*508394c9Sdamjan# KIND, either express or implied. See the License for the 17*508394c9Sdamjan# specific language governing permissions and limitations 18*508394c9Sdamjan# under the License. 19*508394c9Sdamjan# 20*508394c9Sdamjan#************************************************************** 21*508394c9Sdamjan 22*508394c9Sdamjan 23*508394c9Sdamjan 24*508394c9Sdamjan$(eval $(call gb_Library_Library,emboleobj)) 25*508394c9Sdamjan 26*508394c9Sdamjan$(eval $(call gb_Library_add_precompiled_header,emboleobj,$(SRCDIR)/embeddedobj/inc/pch/precompiled_embeddedobj)) 27*508394c9Sdamjan 28*508394c9Sdamjanifeq ($(OS),WNT) 29*508394c9Sdamjan$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj.windows)) 30*508394c9Sdamjanelse 31*508394c9Sdamjan$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj)) 32*508394c9Sdamjanendif 33*508394c9Sdamjan 34*508394c9Sdamjan$(eval $(call gb_Library_set_include,emboleobj,\ 35*508394c9Sdamjan $$(INCLUDE) \ 36*508394c9Sdamjan -I$(SRCDIR)/embeddedobj/inc/pch \ 37*508394c9Sdamjan -I$(SRCDIR)/embeddedobj/source/inc \ 38*508394c9Sdamjan)) 39*508394c9Sdamjan 40*508394c9Sdamjan$(eval $(call gb_Library_add_api,emboleobj,\ 41*508394c9Sdamjan offapi \ 42*508394c9Sdamjan udkapi \ 43*508394c9Sdamjan)) 44*508394c9Sdamjan 45*508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 46*508394c9Sdamjan comphelper \ 47*508394c9Sdamjan cppu \ 48*508394c9Sdamjan cppuhelper \ 49*508394c9Sdamjan sal \ 50*508394c9Sdamjan stl \ 51*508394c9Sdamjan tl \ 52*508394c9Sdamjan utl \ 53*508394c9Sdamjan vos3 \ 54*508394c9Sdamjan $(gb_STDLIBS) \ 55*508394c9Sdamjan)) 56*508394c9Sdamjan 57*508394c9Sdamjanifeq ($(OS),WNT) 58*508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 59*508394c9Sdamjan gdi32 \ 60*508394c9Sdamjan ole32 \ 61*508394c9Sdamjan oleaut32 \ 62*508394c9Sdamjan uuid \ 63*508394c9Sdamjan)) 64*508394c9Sdamjanelse ifeq ($(OS),OS2) 65*508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 66*508394c9Sdamjan gdi32 \ 67*508394c9Sdamjan ole32 \ 68*508394c9Sdamjan oleaut32 \ 69*508394c9Sdamjan uuid \ 70*508394c9Sdamjan)) 71*508394c9Sdamjanendif 72*508394c9Sdamjan 73*508394c9Sdamjan$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 74*508394c9Sdamjan embeddedobj/source/msole/closepreventer \ 75*508394c9Sdamjan embeddedobj/source/msole/oleregister \ 76*508394c9Sdamjan embeddedobj/source/msole/xolefactory \ 77*508394c9Sdamjan embeddedobj/source/msole/olepersist \ 78*508394c9Sdamjan embeddedobj/source/msole/oleembed \ 79*508394c9Sdamjan embeddedobj/source/msole/olevisual \ 80*508394c9Sdamjan embeddedobj/source/msole/olemisc \ 81*508394c9Sdamjan embeddedobj/source/msole/ownview \ 82*508394c9Sdamjan)) 83*508394c9Sdamjan 84*508394c9Sdamjanifeq ($(OS),WNT) 85*508394c9Sdamjan$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 86*508394c9Sdamjan embeddedobj/source/msole/graphconvert \ 87*508394c9Sdamjan embeddedobj/source/msole/olecomponent \ 88*508394c9Sdamjan embeddedobj/source/msole/olewrapclient \ 89*508394c9Sdamjan embeddedobj/source/msole/xdialogcreator \ 90*508394c9Sdamjan embeddedobj/source/msole/advisesink \ 91*508394c9Sdamjan)) 92*508394c9Sdamjanendif 93*508394c9Sdamjan 94*508394c9Sdamjan# vim: set noet sw=4 ts=4: 95