Remove library urelibs. It was more just a temporary hack and is not used.
Change-Id: I7566dcf21aae6b800adb58d8c94e350bb0da720c
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# 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/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Library_Library,urelibs))
|
||||
|
||||
# gb_URELIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
|
||||
$(eval $(call gb_Library_use_library_objects,urelibs,\
|
||||
$(gb_URELIBS) \
|
||||
))
|
||||
|
||||
# needed to generate proper deps for module-deps.pl
|
||||
$(eval $(call gb_Library_use_libraries,urelibs,\
|
||||
$(gb_UWINAPI) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_static_libraries,urelibs,\
|
||||
findsofficepath \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_externals,urelibs,\
|
||||
libxml2 \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_libs,urelibs,\
|
||||
$(if $(filter $(OS),LINUX), \
|
||||
-ldl \
|
||||
-lpthread \
|
||||
-lrt \
|
||||
) \
|
||||
))
|
||||
|
||||
$(if $(filter $(OS),WNT), \
|
||||
$(eval $(call gb_Library_use_system_win32_libs,urelibs,\
|
||||
mpr \
|
||||
ole32 \
|
||||
shell32 \
|
||||
ws2_32 \
|
||||
)) \
|
||||
)
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
@@ -547,7 +547,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
|
||||
) \
|
||||
log_uno_uno \
|
||||
unsafe_uno_uno \
|
||||
$(if $(URELIBS),urelibs) \
|
||||
$(if $(filter MSC,$(COM)),$(if $(filter INTEL,$(CPUNAME)),msci,mscx),gcc3)_uno \
|
||||
$(if $(filter $(OS),WNT), \
|
||||
uwinapi \
|
||||
|
||||
@@ -17,7 +17,6 @@ $(eval $(call gb_Module_Module,libreoffice))
|
||||
ifneq ($(MERGELIBS),)
|
||||
$(eval $(call gb_Module_add_targets,libreoffice,\
|
||||
Library_merged \
|
||||
$(if $(URELIBS),Library_urelibs) \
|
||||
))
|
||||
endif
|
||||
|
||||
|
||||
@@ -166,7 +166,6 @@ sub create_lib_module_map()
|
||||
my %l2m;
|
||||
# hardcode the libs that don't have a directory
|
||||
$l2m{'merged'} = 'merged';
|
||||
$l2m{'urelibs'} = 'urelibs';
|
||||
|
||||
for (glob($src_root."/*/Library_*.mk"))
|
||||
{
|
||||
|
||||
@@ -593,7 +593,6 @@ export TMPDIR=@TEMP_DIRECTORY@
|
||||
export TOUCH=@TOUCH@
|
||||
export TYPO_EXTENSION_PACK=@TYPO_EXTENSION_PACK@
|
||||
export UNOWINREG_DLL=@UNOWINREG_DLL@
|
||||
export URELIBS=@URELIBS@
|
||||
export USE_LIBRARY_BIN_TAR=@USE_LIBRARY_BIN_TAR@
|
||||
export USE_XINERAMA=@USE_XINERAMA@
|
||||
export UUIDGEN=@UUIDGEN@
|
||||
|
||||
@@ -12657,7 +12657,6 @@ if test -n "$enable_mergelibs" -a "$enable_mergelibs" != "no"; then
|
||||
fi
|
||||
if test "$enable_mergelibs" = "all"; then
|
||||
MERGELIBS="ALL"
|
||||
URELIBS="TRUE"
|
||||
AC_DEFINE(STATIC_LINKING)
|
||||
else
|
||||
MERGELIBS="CORE"
|
||||
@@ -12667,7 +12666,6 @@ else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST([MERGELIBS])
|
||||
AC_SUBST([URELIBS])
|
||||
|
||||
# ===================================================================
|
||||
# Create hardlinks on deliver instead of copying for smaller size and speed up
|
||||
|
||||
@@ -12,7 +12,6 @@ $(eval $(call gb_Pagein_Pagein,common))
|
||||
# sorted in approx. reverse load order (ld.so.1)
|
||||
$(eval $(call gb_Pagein_add_objects,common,\
|
||||
$(if $(MERGELIBS),merged) \
|
||||
$(if $(URELIBS),urelibs) \
|
||||
i18nlangtag \
|
||||
$(if $(SYSTEM_ICU),,\
|
||||
libicui18n$(gb_Library_DLLEXT).$(ICU_MAJOR) \
|
||||
|
||||
@@ -122,16 +122,11 @@ if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then
|
||||
cp -pr "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
|
||||
fi
|
||||
|
||||
# keep in sync with solenv/Package_gdb.mk
|
||||
if [[ -n "${MERGELIBS}" ]]; then
|
||||
make_autoload merged program libmergedlo."$DYLIB" merge svl tl basegfx `[[ ${MERGELIBS} == "ALL" ]] && echo sw`
|
||||
if [[ ${MERGELIBS} == "ALL" ]]; then
|
||||
make_autoload urelibs program liburelibs."$DYLIB" merge cppu sal
|
||||
else
|
||||
make_autoload cppu program libuno_cppu."$DYLIB".3
|
||||
make_autoload sal program libuno_sal."$DYLIB".3
|
||||
make_autoload sw program libswlo."$DYLIB"
|
||||
fi
|
||||
make_autoload cppu program libuno_cppu."$DYLIB".3
|
||||
make_autoload sal program libuno_sal."$DYLIB".3
|
||||
make_autoload sw program libswlo."$DYLIB"
|
||||
else
|
||||
make_autoload basegfx program libbasegfxlo."$DYLIB"
|
||||
make_autoload cppu program libuno_cppu."$DYLIB".3
|
||||
|
||||
@@ -188,7 +188,7 @@ $$(eval $$(call gb_Output_error,$(1) is not a valid group for installed librarie
|
||||
endif
|
||||
$(call gb_Helper__register_libraries,$(1),$(3))
|
||||
|
||||
gb_Library_MODULE_$(2) += $(filter-out $(gb_MERGEDLIBS) $(gb_URELIBS),$(3))
|
||||
gb_Library_MODULE_$(2) += $(filter-out $(gb_MERGEDLIBS),$(3))
|
||||
|
||||
$(if $(filter UNOVERLIBS RTVERLIBS,$(1)),\
|
||||
gb_SdkLinkLibrary_MODULE_sdk += $(3))
|
||||
|
||||
@@ -136,7 +136,7 @@ $(call gb_Library_get_clean_target,$(gb_Library__get_name)) : \
|
||||
$(call gb_ComponentTarget_get_clean_target,$(2))
|
||||
endef
|
||||
|
||||
gb_Library__get_name = $(if $(filter $(1),$(gb_MERGEDLIBS)),merged,$(if $(filter $(1),$(gb_URELIBS)),urelibs,$(1)))
|
||||
gb_Library__get_name = $(if $(filter $(1),$(gb_MERGEDLIBS)),merged,$(1))
|
||||
|
||||
gb_Library__get_componentprefix = \
|
||||
$(call gb_Library__get_layer_componentprefix,$(call \
|
||||
|
||||
@@ -483,7 +483,7 @@ define gb_LinkTarget__command_impl
|
||||
$(if $(findstring concat-deps,$(2)),,\
|
||||
$(call gb_LinkTarget__command_dep,$(call gb_LinkTarget_get_dep_target,$(2)).tmp,$(2)) \
|
||||
mv $(call gb_LinkTarget_get_dep_target,$(2)).tmp $(call gb_LinkTarget_get_dep_target,$(2))))
|
||||
$(if $(filter $(2),$(foreach lib,$(gb_MERGEDLIBS) $(gb_URELIBS),$(call gb_Library__get_workdir_linktargetname,$(lib)))),\
|
||||
$(if $(filter $(2),$(foreach lib,$(gb_MERGEDLIBS),$(call gb_Library__get_workdir_linktargetname,$(lib)))),\
|
||||
$(if $(filter $(true),$(call gb_LinkTarget__is_build_lib,$(2))),\
|
||||
$(call gb_LinkTarget__command,$(1),$(2)),\
|
||||
mkdir -p $(dir $(1)) && echo invalid > $(1) \
|
||||
@@ -796,8 +796,8 @@ define gb_LinkTarget__use_libraries
|
||||
|
||||
# used by bin/module-deps.pl
|
||||
ifneq ($(ENABLE_PRINT_DEPS),)
|
||||
# exclude libraries in Library_merged Librery_urelibs
|
||||
ifeq ($(filter $(1),$(foreach lib,$(gb_MERGEDLIBS) $(gb_URELIBS),$(call gb_Library_get_linktarget,$(lib)))),)
|
||||
# exclude libraries in Library_merged
|
||||
ifeq ($(filter $(1),$(foreach lib,$(gb_MERGEDLIBS),$(call gb_Library_get_linktarget,$(lib)))),)
|
||||
$$(eval $$(call gb_PrintDeps_info,$(4),$(3)))
|
||||
endif
|
||||
endif
|
||||
@@ -869,10 +869,7 @@ $(call gb_LinkTarget__use_libraries,$(1),$(2),$(strip \
|
||||
$(if $(filter $(gb_MERGEDLIBS),$(2)), \
|
||||
$(if $(call gb_LinkTarget__is_merged,$(1)), \
|
||||
$(filter $(gb_MERGEDLIBS),$(2)), merged)) \
|
||||
$(if $(filter $(gb_URELIBS),$(2)), \
|
||||
$(if $(filter $(1),$(foreach lib,$(gb_URELIBS),$(call gb_Library_get_linktarget,$(lib)))), \
|
||||
$(filter $(gb_URELIBS),$(2)), urelibs)) \
|
||||
$(filter-out $(gb_MERGEDLIBS) $(gb_URELIBS),$(2)) \
|
||||
$(filter-out $(gb_MERGEDLIBS),$(2)) \
|
||||
),$(4))
|
||||
endif
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ $(call gb_Helper_install_final, \
|
||||
endef
|
||||
|
||||
define gb_Pagein_add_object
|
||||
$(call gb_Pagein_get_target,$(1)) : OBJECTS += $(filter-out $(gb_URELIBS) $(gb_MERGEDLIBS),$(2))
|
||||
$(call gb_Pagein_get_target,$(1)) : OBJECTS += $(filter-out $(gb_MERGEDLIBS),$(2))
|
||||
|
||||
endef
|
||||
|
||||
|
||||
@@ -158,28 +158,6 @@ gb_MERGEDLIBS := \
|
||||
xstor \
|
||||
$(if $(filter ALL,$(MERGELIBS)),$(gb_EXTRAMERGEDLIBS))
|
||||
|
||||
ifneq (,$(URELIBS))
|
||||
gb_URELIBS := \
|
||||
bootstrap \
|
||||
cppu \
|
||||
cppuhelper \
|
||||
introspection \
|
||||
$(if $(ENABLE_JAVA),jvmaccess) \
|
||||
$(if $(ENABLE_JAVA),jvmfwk) \
|
||||
reflection \
|
||||
reg \
|
||||
sal \
|
||||
salhelper \
|
||||
stocservices \
|
||||
store \
|
||||
unoidl \
|
||||
xmlreader \
|
||||
$(if $(filter ALL,$(MERGELIBS)), \
|
||||
purpenvhelper \
|
||||
)
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
Reference in New Issue
Block a user