| #************************************************************** |
| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| #************************************************************** |
| |
| |
| |
| $(eval $(call gb_Library_Library,dnd)) |
| |
| $(eval $(call gb_Library_add_precompiled_header,dnd,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans)) |
| |
| $(eval $(call gb_Library_set_componentfile,dnd,dtrans/util/dnd)) |
| |
| $(eval $(call gb_Library_set_include,dnd,\ |
| $$(INCLUDE) \ |
| -I$(SRCDIR)/dtrans/inc/pch \ |
| )) |
| |
| $(eval $(call gb_Library_add_api,dnd,\ |
| offapi \ |
| udkapi \ |
| )) |
| |
| $(eval $(call gb_Library_add_linked_libs,dnd,\ |
| advapi32 \ |
| cppuhelper \ |
| cppu \ |
| gdi32 \ |
| ole32 \ |
| oleaut32 \ |
| sal \ |
| shell32 \ |
| stl \ |
| user32 \ |
| uuid \ |
| uwinapi \ |
| $(gb_STDLIBS) \ |
| )) |
| |
| $(eval $(call gb_Library_add_exception_objects,dnd,\ |
| dtrans/source/win32/dnd/dndentry \ |
| dtrans/source/win32/dnd/target \ |
| dtrans/source/win32/dnd/idroptarget \ |
| dtrans/source/win32/dnd/source \ |
| dtrans/source/win32/dnd/globals \ |
| dtrans/source/win32/dnd/targetdropcontext \ |
| dtrans/source/win32/dnd/targetdragcontext \ |
| dtrans/source/win32/dnd/sourcecontext \ |
| dtrans/source/win32/misc/ImplHelper \ |
| )) |
| |
| ifneq ($(COM),GCC) |
| $(eval $(call gb_Library_add_cxxobjects,dnd,\ |
| dtrans/source/win32/dtobj/DtObjFactory \ |
| dtrans/source/win32/dtobj/APNDataObject \ |
| dtrans/source/win32/dtobj/DOTransferable \ |
| dtrans/source/win32/dtobj/DTransHelper \ |
| dtrans/source/win32/dtobj/XTDataObject \ |
| dtrans/source/win32/dtobj/TxtCnvtHlp \ |
| dtrans/source/win32/dtobj/DataFmtTransl \ |
| dtrans/source/win32/dtobj/FmtFilter \ |
| dtrans/source/win32/dtobj/FetcList \ |
| dtrans/source/win32/dtobj/Fetc \ |
| , -GR -Ob0 $(gb_LinkTarget_EXCEPTIONFLAGS) \ |
| )) |
| else |
| $(eval $(call gb_Library_add_exception_objects,dnd,\ |
| dtrans/source/win32/dtobj/DtObjFactory \ |
| dtrans/source/win32/dtobj/APNDataObject \ |
| dtrans/source/win32/dtobj/DOTransferable \ |
| dtrans/source/win32/dtobj/DTransHelper \ |
| dtrans/source/win32/dtobj/XTDataObject \ |
| dtrans/source/win32/dtobj/TxtCnvtHlp \ |
| dtrans/source/win32/dtobj/DataFmtTransl \ |
| dtrans/source/win32/dtobj/FmtFilter \ |
| dtrans/source/win32/dtobj/FetcList \ |
| dtrans/source/win32/dtobj/Fetc \ |
| )) |
| endif |
| |
| # vim: set noet sw=4 ts=4: |