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,emboleobj)) 25 26$(eval $(call gb_Library_add_precompiled_header,emboleobj,$(SRCDIR)/embeddedobj/inc/pch/precompiled_embeddedobj)) 27 28ifeq ($(OS),WNT) 29$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj.windows)) 30else 31$(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj)) 32endif 33 34$(eval $(call gb_Library_set_include,emboleobj,\ 35 $$(INCLUDE) \ 36 -I$(SRCDIR)/embeddedobj/inc/pch \ 37 -I$(SRCDIR)/embeddedobj/source/inc \ 38)) 39 40$(eval $(call gb_Library_add_api,emboleobj,\ 41 offapi \ 42 udkapi \ 43)) 44 45$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 46 comphelper \ 47 cppu \ 48 cppuhelper \ 49 sal \ 50 stl \ 51 tl \ 52 utl \ 53 vos3 \ 54 $(gb_STDLIBS) \ 55)) 56 57ifeq ($(OS),WNT) 58$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 59 gdi32 \ 60 ole32 \ 61 oleaut32 \ 62 uuid \ 63)) 64else ifeq ($(OS),OS2) 65$(eval $(call gb_Library_add_linked_libs,emboleobj,\ 66 gdi32 \ 67 ole32 \ 68 oleaut32 \ 69 uuid \ 70)) 71endif 72 73$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 74 embeddedobj/source/msole/closepreventer \ 75 embeddedobj/source/msole/oleregister \ 76 embeddedobj/source/msole/xolefactory \ 77 embeddedobj/source/msole/olepersist \ 78 embeddedobj/source/msole/oleembed \ 79 embeddedobj/source/msole/olevisual \ 80 embeddedobj/source/msole/olemisc \ 81 embeddedobj/source/msole/ownview \ 82)) 83 84ifeq ($(OS),WNT) 85$(eval $(call gb_Library_add_exception_objects,emboleobj,\ 86 embeddedobj/source/msole/graphconvert \ 87 embeddedobj/source/msole/olecomponent \ 88 embeddedobj/source/msole/olewrapclient \ 89 embeddedobj/source/msole/xdialogcreator \ 90 embeddedobj/source/msole/advisesink \ 91)) 92endif 93 94# vim: set noet sw=4 ts=4: 95