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,fop)) 25 26$(eval $(call gb_Library_set_componentfile,fop,fpicker/util/fop)) 27 28$(eval $(call gb_Library_set_include,fop,\ 29 $$(INCLUDE) \ 30 -I$(SRCDIR)/fpicker/inc/pch \ 31)) 32 33$(eval $(call gb_Library_add_api,fop,\ 34 offapi \ 35 udkapi \ 36)) 37 38$(eval $(call gb_Library_add_linked_libs,fop,\ 39 comphelper \ 40 cppu \ 41 cppuhelper \ 42 sal \ 43 tl \ 44 vcl \ 45 $(gb_STDLIBS) \ 46)) 47 48$(eval $(call gb_Library_add_linked_libs,fop,\ 49 advapi32 \ 50 gdi32 \ 51 ole32 \ 52 oleaut32 \ 53 shell32 \ 54 uwinapi \ 55)) 56 57$(eval $(call gb_Library_add_exception_objects,fop,\ 58 fpicker/source/win32/folderpicker/fopentry \ 59 fpicker/source/win32/folderpicker/folderpicker \ 60 fpicker/source/win32/folderpicker/WinFopImpl \ 61 fpicker/source/win32/folderpicker/MtaFop \ 62)) 63 64ifeq ($(COM),GCC) 65$(eval $(call gb_Library_add_cxxobjects,fop,\ 66 fpicker/source/win32/misc/WinImplHelper \ 67 fpicker/source/win32/misc/AutoBuffer \ 68 fpicker/source/win32/misc/resourceprovider \ 69 , -fexceptions -fno-enforce-eh-specs -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 70)) 71else 72$(eval $(call gb_Library_add_cxxobjects,fop,\ 73 fpicker/source/win32/misc/WinImplHelper \ 74 fpicker/source/win32/misc/AutoBuffer \ 75 fpicker/source/win32/misc/resourceprovider \ 76 , -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 77)) 78fi 79 80# vim: set noet sw=4 ts=4: 81