Kaydet (Commit) d35eec7b authored tarafından Mike Kaganski's avatar Mike Kaganski

Make spsupp_x64 independent of shell/CustomTarget_x64

... in preparation for further changes.
Thanks to Noel Grandin for the hint!

Change-Id: I2b223322d1d42099b56a74a92e3c39631d6b581c
Reviewed-on: https://gerrit.libreoffice.org/72470
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/72501Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 59c4940c
...@@ -44,12 +44,6 @@ SHELL_PROPERTYHDL_FILES := \ ...@@ -44,12 +44,6 @@ SHELL_PROPERTYHDL_FILES := \
SHELL_XMLPARSER_FILES := \ SHELL_XMLPARSER_FILES := \
all/xml_parser all/xml_parser
SHELL_SPSUPP_FILES := \
win32/spsupp/COMOpenDocuments \
win32/spsupp/registrar \
win32/spsupp/spsuppClassFactory \
win32/spsupp/spsuppServ
SHELL_HEADERS := \ SHELL_HEADERS := \
win32/ooofilereader/autostyletag \ win32/ooofilereader/autostyletag \
win32/ooofilereader/dummytag \ win32/ooofilereader/dummytag \
...@@ -64,7 +58,7 @@ SHELL_HEADERS := \ ...@@ -64,7 +58,7 @@ SHELL_HEADERS := \
win32/zipfile/zipexcptn win32/zipfile/zipexcptn
$(call gb_CustomTarget_get_target,shell/source) : \ $(call gb_CustomTarget_get_target,shell/source) : \
$(foreach source,$(SHELL_SHLXTHANDLER_COMMON_FILES) $(SHELL_SHLXTHDL_FILES) $(SHELL_OOOFILT_FILES) $(SHELL_PROPERTYHDL_FILES) $(SHELL_XMLPARSER_FILES) $(SHELL_SPSUPP_FILES),\ $(foreach source,$(SHELL_SHLXTHANDLER_COMMON_FILES) $(SHELL_SHLXTHDL_FILES) $(SHELL_OOOFILT_FILES) $(SHELL_PROPERTYHDL_FILES) $(SHELL_XMLPARSER_FILES),\
$(call gb_CustomTarget_get_workdir,shell/source)/$(source).cxx) \ $(call gb_CustomTarget_get_workdir,shell/source)/$(source).cxx) \
$(foreach header,$(SHELL_HEADERS),\ $(foreach header,$(SHELL_HEADERS),\
$(call gb_CustomTarget_get_workdir,shell/source)/$(header).hxx) $(call gb_CustomTarget_get_workdir,shell/source)/$(header).hxx)
......
...@@ -12,7 +12,6 @@ $(eval $(call gb_Library_Library,spsupp_x64)) ...@@ -12,7 +12,6 @@ $(eval $(call gb_Library_Library,spsupp_x64))
$(eval $(call gb_Library_set_x64,spsupp_x64,YES)) $(eval $(call gb_Library_set_x64,spsupp_x64,YES))
$(eval $(call gb_Library_use_custom_headers,spsupp_x64,\ $(eval $(call gb_Library_use_custom_headers,spsupp_x64,\
shell/source \
shell/source/win32/spsupp/idl \ shell/source/win32/spsupp/idl \
)) ))
...@@ -40,11 +39,11 @@ $(eval $(call gb_Library_add_ldflags,spsupp_x64,\ ...@@ -40,11 +39,11 @@ $(eval $(call gb_Library_add_ldflags,spsupp_x64,\
/DEF:$(SRCDIR)/shell/source/win32/spsupp/spsupp.def \ /DEF:$(SRCDIR)/shell/source/win32/spsupp/spsupp.def \
)) ))
$(eval $(call gb_Library_add_x64_generated_exception_objects,spsupp_x64,\ $(eval $(call gb_Library_add_exception_objects,spsupp_x64,\
CustomTarget/shell/source/win32/spsupp/COMOpenDocuments \ shell/source/win32/spsupp/COMOpenDocuments_x64 \
CustomTarget/shell/source/win32/spsupp/registrar \ shell/source/win32/spsupp/registrar_x64 \
CustomTarget/shell/source/win32/spsupp/spsuppClassFactory \ shell/source/win32/spsupp/spsuppClassFactory_x64 \
CustomTarget/shell/source/win32/spsupp/spsuppServ \ shell/source/win32/spsupp/spsuppServ_x64 \
)) ))
# vim: set shiftwidth=4 tabstop=4 noexpandtab: # vim: set shiftwidth=4 tabstop=4 noexpandtab:
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// A stub for generating x64 DLL without the need to copy source files to a temporary directory
#include "COMOpenDocuments.cxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// A stub for generating x64 DLL without the need to copy source files to a temporary directory
#include "registrar.cxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// A stub for generating x64 DLL without the need to copy source files to a temporary directory
#include "spsuppClassFactory.cxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// A stub for generating x64 DLL without the need to copy source files to a temporary directory
#include "spsuppServ.cxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -1396,7 +1396,6 @@ endef ...@@ -1396,7 +1396,6 @@ endef
# call gb_LinkTarget_add_x64_generated_cobjects,linktarget,sourcefiles,cflags,linktargetmakefilename # call gb_LinkTarget_add_x64_generated_cobjects,linktarget,sourcefiles,cflags,linktargetmakefilename
define gb_LinkTarget_add_x64_generated_cobjects define gb_LinkTarget_add_x64_generated_cobjects
$(foreach obj,$(2),$(call gb_LinkTarget_add_generated_c_object,$(1),$(obj),$(3),$(4))) $(foreach obj,$(2),$(call gb_LinkTarget_add_generated_c_object,$(1),$(obj),$(3),$(4)))
$(foreach obj,$(2),$(eval $(call gb_GenCObject_get_target,$(obj)) : CXXOBJECT_X64 := YES))
endef endef
# call gb_LinkTarget_add_generated_exception_object,linktarget,sourcefile,linktargetmakefilename,cxxflags # call gb_LinkTarget_add_generated_exception_object,linktarget,sourcefile,linktargetmakefilename,cxxflags
......
...@@ -39,7 +39,7 @@ define gb_CObject__command_pattern ...@@ -39,7 +39,7 @@ define gb_CObject__command_pattern
$(call gb_Helper_abbreviate_dirs,\ $(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(1)) $(dir $(4)) && \ mkdir -p $(dir $(1)) $(dir $(4)) && \
unset INCLUDE && \ unset INCLUDE && \
$(if $(filter YES,$(CXXOBJECT_X64)), $(CXX_X64_BINARY), \ $(if $(filter YES,$(LIBRARY_X64)), $(CXX_X64_BINARY), \
$(if $(filter %.c,$(3)), $(gb_CC), \ $(if $(filter %.c,$(3)), $(gb_CC), \
$(if $(filter -clr,$(2)), \ $(if $(filter -clr,$(2)), \
$(MSVC_CXX) -I$(SRCDIR)/solenv/clang-cl,$(gb_CXX)))) \ $(MSVC_CXX) -I$(SRCDIR)/solenv/clang-cl,$(gb_CXX)))) \
...@@ -56,7 +56,7 @@ $(call gb_Helper_abbreviate_dirs,\ ...@@ -56,7 +56,7 @@ $(call gb_Helper_abbreviate_dirs,\
$(PCHFLAGS) \ $(PCHFLAGS) \
$(if $(COMPILER_TEST),,$(gb_COMPILERDEPFLAGS)) \ $(if $(COMPILER_TEST),,$(gb_COMPILERDEPFLAGS)) \
$(INCLUDE) \ $(INCLUDE) \
$(if $(filter YES,$(CXXOBJECT_X64)), -U_X86_ -D_AMD64_,) \ $(if $(filter YES,$(LIBRARY_X64)), -U_X86_ -D_AMD64_,) \
-c $(3) \ -c $(3) \
-Fo$(1)) $(if $(filter $(true),$(gb_SYMBOL)),/link /DEBUG:FASTLINK) \ -Fo$(1)) $(if $(filter $(true),$(gb_SYMBOL)),/link /DEBUG:FASTLINK) \
$(if $(COMPILER_TEST),,$(call gb_create_deps,$(4),$(1),$(3))) $(if $(COMPILER_TEST),,$(call gb_create_deps,$(4),$(1),$(3)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment