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,dnd)) 25 26$(eval $(call gb_Library_add_precompiled_header,dnd,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans)) 27 28$(eval $(call gb_Library_set_componentfile,dnd,dtrans/util/dnd)) 29 30$(eval $(call gb_Library_set_include,dnd,\ 31 $$(INCLUDE) \ 32 -I$(SRCDIR)/dtrans/inc/pch \ 33)) 34 35$(eval $(call gb_Library_add_api,dnd,\ 36 offapi \ 37 udkapi \ 38)) 39 40$(eval $(call gb_Library_add_linked_libs,dnd,\ 41 advapi32 \ 42 cppuhelper \ 43 cppu \ 44 gdi32 \ 45 ole32 \ 46 oleaut32 \ 47 sal \ 48 shell32 \ 49 stl \ 50 uuid \ 51 uwinapi \ 52 $(gb_STDLIBS) \ 53)) 54 55$(eval $(call gb_Library_add_exception_objects,dnd,\ 56 dtrans/source/win32/dnd/dndentry \ 57 dtrans/source/win32/dnd/target \ 58 dtrans/source/win32/dnd/idroptarget \ 59 dtrans/source/win32/dnd/source \ 60 dtrans/source/win32/dnd/globals \ 61 dtrans/source/win32/dnd/targetdropcontext \ 62 dtrans/source/win32/dnd/targetdragcontext \ 63 dtrans/source/win32/dnd/sourcecontext \ 64 dtrans/source/win32/misc/ImplHelper \ 65)) 66 67ifneq ($(COM),GCC) 68$(eval $(call gb_Library_add_cxxobjects,dnd,\ 69 dtrans/source/win32/dtobj/DtObjFactory \ 70 dtrans/source/win32/dtobj/APNDataObject \ 71 dtrans/source/win32/dtobj/DOTransferable \ 72 dtrans/source/win32/dtobj/DTransHelper \ 73 dtrans/source/win32/dtobj/XTDataObject \ 74 dtrans/source/win32/dtobj/TxtCnvtHlp \ 75 dtrans/source/win32/dtobj/DataFmtTransl \ 76 dtrans/source/win32/dtobj/FmtFilter \ 77 dtrans/source/win32/dtobj/FetcList \ 78 dtrans/source/win32/dtobj/Fetc \ 79 dtrans/source/win32/dtobj/XNotifyingDataObject \ 80 , -GR -Ob0 \ 81)) 82else 83$(eval $(call gb_Library_add_exception_objects,dnd,\ 84 dtrans/source/win32/dtobj/DtObjFactory \ 85 dtrans/source/win32/dtobj/APNDataObject \ 86 dtrans/source/win32/dtobj/DOTransferable \ 87 dtrans/source/win32/dtobj/DTransHelper \ 88 dtrans/source/win32/dtobj/XTDataObject \ 89 dtrans/source/win32/dtobj/TxtCnvtHlp \ 90 dtrans/source/win32/dtobj/DataFmtTransl \ 91 dtrans/source/win32/dtobj/FmtFilter \ 92 dtrans/source/win32/dtobj/FetcList \ 93 dtrans/source/win32/dtobj/Fetc \ 94 dtrans/source/win32/dtobj/XNotifyingDataObject \ 95)) 96endif 97 98# vim: set noet sw=4 ts=4: 99