1*8d854f23Sdamjan#************************************************************** 2*8d854f23Sdamjan# 3*8d854f23Sdamjan# Licensed to the Apache Software Foundation (ASF) under one 4*8d854f23Sdamjan# or more contributor license agreements. See the NOTICE file 5*8d854f23Sdamjan# distributed with this work for additional information 6*8d854f23Sdamjan# regarding copyright ownership. The ASF licenses this file 7*8d854f23Sdamjan# to you under the Apache License, Version 2.0 (the 8*8d854f23Sdamjan# "License"); you may not use this file except in compliance 9*8d854f23Sdamjan# with the License. You may obtain a copy of the License at 10*8d854f23Sdamjan# 11*8d854f23Sdamjan# http://www.apache.org/licenses/LICENSE-2.0 12*8d854f23Sdamjan# 13*8d854f23Sdamjan# Unless required by applicable law or agreed to in writing, 14*8d854f23Sdamjan# software distributed under the License is distributed on an 15*8d854f23Sdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8d854f23Sdamjan# KIND, either express or implied. See the License for the 17*8d854f23Sdamjan# specific language governing permissions and limitations 18*8d854f23Sdamjan# under the License. 19*8d854f23Sdamjan# 20*8d854f23Sdamjan#************************************************************** 21*8d854f23Sdamjan 22*8d854f23Sdamjan 23*8d854f23Sdamjan 24*8d854f23Sdamjan$(eval $(call gb_Library_Library,fps)) 25*8d854f23Sdamjan 26*8d854f23Sdamjan$(eval $(call gb_Library_set_componentfile,fps,fpicker/util/fps)) 27*8d854f23Sdamjan 28*8d854f23Sdamjan$(eval $(call gb_Library_set_include,fps,\ 29*8d854f23Sdamjan $$(INCLUDE) \ 30*8d854f23Sdamjan -I$(SRCDIR)/fpicker/inc/pch \ 31*8d854f23Sdamjan)) 32*8d854f23Sdamjan 33*8d854f23Sdamjan$(eval $(call gb_Library_add_api,fps,\ 34*8d854f23Sdamjan offapi \ 35*8d854f23Sdamjan udkapi \ 36*8d854f23Sdamjan)) 37*8d854f23Sdamjan 38*8d854f23Sdamjan$(eval $(call gb_Library_add_linked_libs,fps,\ 39*8d854f23Sdamjan comphelper \ 40*8d854f23Sdamjan cppu \ 41*8d854f23Sdamjan cppuhelper \ 42*8d854f23Sdamjan sal \ 43*8d854f23Sdamjan tl \ 44*8d854f23Sdamjan vcl \ 45*8d854f23Sdamjan $(gb_STDLIBS) \ 46*8d854f23Sdamjan)) 47*8d854f23Sdamjan 48*8d854f23Sdamjan$(eval $(call gb_Library_add_linked_libs,fps,\ 49*8d854f23Sdamjan advapi32 \ 50*8d854f23Sdamjan comdlg32 \ 51*8d854f23Sdamjan gdi32 \ 52*8d854f23Sdamjan kernel32 \ 53*8d854f23Sdamjan ole32 \ 54*8d854f23Sdamjan oleaut32 \ 55*8d854f23Sdamjan shell32 \ 56*8d854f23Sdamjan uuid \ 57*8d854f23Sdamjan uwinapi \ 58*8d854f23Sdamjan)) 59*8d854f23Sdamjan 60*8d854f23Sdamjan$(eval $(call gb_Library_add_cxxobjects,fps,\ 61*8d854f23Sdamjan fpicker/source/win32/filepicker/FileOpenDlg \ 62*8d854f23Sdamjan fpicker/source/win32/filepicker/FPentry \ 63*8d854f23Sdamjan fpicker/source/win32/filepicker/FilePicker \ 64*8d854f23Sdamjan fpicker/source/win32/filepicker/WinFileOpenImpl \ 65*8d854f23Sdamjan fpicker/source/win32/filepicker/FilterContainer \ 66*8d854f23Sdamjan fpicker/source/win32/filepicker/controlaccess \ 67*8d854f23Sdamjan fpicker/source/win32/filepicker/dibpreview \ 68*8d854f23Sdamjan fpicker/source/win32/filepicker/helppopupwindow \ 69*8d854f23Sdamjan fpicker/source/win32/filepicker/controlcommand \ 70*8d854f23Sdamjan fpicker/source/win32/filepicker/filepickerstate \ 71*8d854f23Sdamjan fpicker/source/win32/filepicker/getfilenamewrapper \ 72*8d854f23Sdamjan fpicker/source/win32/filepicker/asynceventnotifier \ 73*8d854f23Sdamjan fpicker/source/win32/filepicker/previewadapter \ 74*8d854f23Sdamjan fpicker/source/win32/filepicker/previewbase \ 75*8d854f23Sdamjan fpicker/source/win32/filepicker/filepickereventnotification \ 76*8d854f23Sdamjan fpicker/source/win32/filepicker/customcontrol \ 77*8d854f23Sdamjan fpicker/source/win32/filepicker/customcontrolcontainer \ 78*8d854f23Sdamjan fpicker/source/win32/filepicker/customcontrolfactory \ 79*8d854f23Sdamjan fpicker/source/win32/filepicker/dialogcustomcontrols \ 80*8d854f23Sdamjan fpicker/source/win32/filepicker/asyncrequests \ 81*8d854f23Sdamjan fpicker/source/win32/filepicker/VistaFilePickerEventHandler \ 82*8d854f23Sdamjan fpicker/source/win32/filepicker/VistaFilePickerImpl \ 83*8d854f23Sdamjan fpicker/source/win32/filepicker/VistaFilePicker \ 84*8d854f23Sdamjan fpicker/source/win32/filepicker/SolarMutex \ 85*8d854f23Sdamjan , -D_UNICODE -DUNICODE -U_WIN32_WINNT -D_WIN32_WINNT=0x0600 $(gb_LinkTarget_EXCEPTIONFLAGS) \ 86*8d854f23Sdamjan)) 87*8d854f23Sdamjan 88*8d854f23Sdamjanifeq ($(COM),GCC) 89*8d854f23Sdamjan$(eval $(call gb_Library_add_cxxobjects,fps,\ 90*8d854f23Sdamjan fpicker/source/win32/misc/WinImplHelper \ 91*8d854f23Sdamjan fpicker/source/win32/misc/AutoBuffer \ 92*8d854f23Sdamjan fpicker/source/win32/misc/resourceprovider \ 93*8d854f23Sdamjan , -fexceptions -fno-enforce-eh-specs -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 94*8d854f23Sdamjan)) 95*8d854f23Sdamjanelse 96*8d854f23Sdamjan$(eval $(call gb_Library_add_cxxobjects,fps,\ 97*8d854f23Sdamjan fpicker/source/win32/misc/WinImplHelper \ 98*8d854f23Sdamjan fpicker/source/win32/misc/AutoBuffer \ 99*8d854f23Sdamjan fpicker/source/win32/misc/resourceprovider \ 100*8d854f23Sdamjan , -DUNICODE -D_UNICODE $(gb_LinkTarget_EXCEPTIONFLAGS) \ 101*8d854f23Sdamjan)) 102*8d854f23Sdamjanfi 103*8d854f23Sdamjan 104*8d854f23Sdamjan# vim: set noet sw=4 ts=4: 105