1508394c9Sdamjan#************************************************************** 2508394c9Sdamjan# 3508394c9Sdamjan# Licensed to the Apache Software Foundation (ASF) under one 4508394c9Sdamjan# or more contributor license agreements. See the NOTICE file 5508394c9Sdamjan# distributed with this work for additional information 6508394c9Sdamjan# regarding copyright ownership. The ASF licenses this file 7508394c9Sdamjan# to you under the Apache License, Version 2.0 (the 8508394c9Sdamjan# "License"); you may not use this file except in compliance 9508394c9Sdamjan# with the License. You may obtain a copy of the License at 10508394c9Sdamjan# 11508394c9Sdamjan# http://www.apache.org/licenses/LICENSE-2.0 12508394c9Sdamjan# 13508394c9Sdamjan# Unless required by applicable law or agreed to in writing, 14508394c9Sdamjan# software distributed under the License is distributed on an 15508394c9Sdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16508394c9Sdamjan# KIND, either express or implied. See the License for the 17508394c9Sdamjan# specific language governing permissions and limitations 18508394c9Sdamjan# under the License. 19508394c9Sdamjan# 20508394c9Sdamjan#************************************************************** 21508394c9Sdamjan 22508394c9Sdamjan 23508394c9Sdamjan 24508394c9Sdamjan$(eval $(call gb_Library_Library,emboleobj)) 25508394c9Sdamjan 26508394c9Sdamjan$(eval $(call gb_Library_add_precompiled_header,emboleobj,$(SRCDIR)/embeddedobj/inc/pch/precompiled_embeddedobj)) 27508394c9Sdamjan 28508394c9Sdamjanifeq ($(OS),WNT) 29508394c9Sdamjan$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj.windows)) 30508394c9Sdamjanelse 31508394c9Sdamjan$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj)) 32508394c9Sdamjanendif 33508394c9Sdamjan 34508394c9Sdamjan$(eval $(call gb_Library_set_include,emboleobj,\ 35508394c9Sdamjan $$(INCLUDE) \ 36508394c9Sdamjan -I$(SRCDIR)/embeddedobj/inc/pch \ 37508394c9Sdamjan -I$(SRCDIR)/embeddedobj/source/inc \ 38508394c9Sdamjan)) 39508394c9Sdamjan 40508394c9Sdamjan$(eval $(call gb_Library_add_api,emboleobj,\ 41508394c9Sdamjan offapi \ 42508394c9Sdamjan udkapi \ 43508394c9Sdamjan)) 44508394c9Sdamjan 45508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 46508394c9Sdamjan comphelper \ 47508394c9Sdamjan cppu \ 48508394c9Sdamjan cppuhelper \ 49508394c9Sdamjan sal \ 50508394c9Sdamjan stl \ 51508394c9Sdamjan tl \ 52508394c9Sdamjan utl \ 53508394c9Sdamjan vos3 \ 54508394c9Sdamjan $(gb_STDLIBS) \ 55508394c9Sdamjan)) 56508394c9Sdamjan 57508394c9Sdamjanifeq ($(OS),WNT) 58508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 59508394c9Sdamjan gdi32 \ 60508394c9Sdamjan ole32 \ 61508394c9Sdamjan oleaut32 \ 62508394c9Sdamjan uuid \ 63*fca47c88Sdamjan user32 \ 64508394c9Sdamjan)) 65508394c9Sdamjanelse ifeq ($(OS),OS2) 66508394c9Sdamjan$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 67508394c9Sdamjan)) 68508394c9Sdamjanendif 69508394c9Sdamjan 70508394c9Sdamjan$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 71508394c9Sdamjan embeddedobj/source/msole/closepreventer \ 72508394c9Sdamjan embeddedobj/source/msole/oleregister \ 73508394c9Sdamjan embeddedobj/source/msole/xolefactory \ 74508394c9Sdamjan embeddedobj/source/msole/olepersist \ 75508394c9Sdamjan embeddedobj/source/msole/oleembed \ 76508394c9Sdamjan embeddedobj/source/msole/olevisual \ 77508394c9Sdamjan embeddedobj/source/msole/olemisc \ 78508394c9Sdamjan embeddedobj/source/msole/ownview \ 79508394c9Sdamjan)) 80508394c9Sdamjan 81508394c9Sdamjanifeq ($(OS),WNT) 82508394c9Sdamjan$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 83508394c9Sdamjan embeddedobj/source/msole/graphconvert \ 84508394c9Sdamjan embeddedobj/source/msole/olecomponent \ 85508394c9Sdamjan embeddedobj/source/msole/olewrapclient \ 86508394c9Sdamjan embeddedobj/source/msole/xdialogcreator \ 87508394c9Sdamjan embeddedobj/source/msole/advisesink \ 88508394c9Sdamjan)) 89508394c9Sdamjanendif 90508394c9Sdamjan 91508394c9Sdamjan# vim: set noet sw=4 ts=4: 92