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,fps)) 25 26$(eval $(call gb_Library_set_componentfile,fps,fpicker/util/fps)) 27 28$(eval $(call gb_Library_set_include,fps,\ 29 $$(INCLUDE) \ 30 -I$(SRCDIR)/fpicker/inc/pch \ 31)) 32 33$(eval $(call gb_Library_add_api,fps,\ 34 offapi \ 35 udkapi \ 36)) 37 38$(eval $(call gb_Library_add_linked_libs,fps,\ 39 comphelper \ 40 cppu \ 41 cppuhelper \ 42 sal \ 43 stl \ 44 tl \ 45 vcl \ 46 $(gb_STDLIBS) \ 47)) 48 49$(eval $(call gb_Library_add_linked_libs,fps,\ 50 advapi32 \ 51 comdlg32 \ 52 gdi32 \ 53 kernel32 \ 54 ole32 \ 55 oleaut32 \ 56 shell32 \ 57 user32\ 58 uuid \ 59 uwinapi \ 60)) 61 62$(eval $(call gb_Library_add_cxxobjects,fps,\ 63 fpicker/source/win32/filepicker/FileOpenDlg \ 64 fpicker/source/win32/filepicker/FPentry \ 65 fpicker/source/win32/filepicker/FilePicker \ 66 fpicker/source/win32/filepicker/WinFileOpenImpl \ 67 fpicker/source/win32/filepicker/FilterContainer \ 68 fpicker/source/win32/filepicker/controlaccess \ 69 fpicker/source/win32/filepicker/dibpreview \ 70 fpicker/source/win32/filepicker/helppopupwindow \ 71 fpicker/source/win32/filepicker/controlcommand \ 72 fpicker/source/win32/filepicker/filepickerstate \ 73 fpicker/source/win32/filepicker/getfilenamewrapper \ 74 fpicker/source/win32/filepicker/asynceventnotifier \ 75 fpicker/source/win32/filepicker/previewadapter \ 76 fpicker/source/win32/filepicker/previewbase \ 77 fpicker/source/win32/filepicker/filepickereventnotification \ 78 fpicker/source/win32/filepicker/customcontrol \ 79 fpicker/source/win32/filepicker/customcontrolcontainer \ 80 fpicker/source/win32/filepicker/customcontrolfactory \ 81 fpicker/source/win32/filepicker/dialogcustomcontrols \ 82 fpicker/source/win32/filepicker/asyncrequests \ 83 fpicker/source/win32/filepicker/VistaFilePickerEventHandler \ 84 fpicker/source/win32/filepicker/VistaFilePickerImpl \ 85 fpicker/source/win32/filepicker/VistaFilePicker \ 86 fpicker/source/win32/filepicker/SolarMutex \ 87 , -D_UNICODE -DUNICODE -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 $(gb_LinkTarget_EXCEPTIONFLAGS) \ 88)) 89 90ifeq ($(COM),GCC) 91$(eval $(call gb_Library_add_cxxobjects,fps,\ 92 fpicker/source/win32/misc/WinImplHelper \ 93 fpicker/source/win32/misc/AutoBuffer \ 94 fpicker/source/win32/misc/resourceprovider \ 95 , -fexceptions -fno-enforce-eh-specs -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 96)) 97else 98$(eval $(call gb_Library_add_cxxobjects,fps,\ 99 fpicker/source/win32/misc/WinImplHelper \ 100 fpicker/source/win32/misc/AutoBuffer \ 101 fpicker/source/win32/misc/resourceprovider \ 102 , -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 103)) 104endif 105 106# vim: set noet sw=4 ts=4: 107