Kaydet (Commit) b6928559 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Change my mind again: Do build a subset sb library even for DISABLE_SCRIPTING

The tables functionality in Writer documents need SbxValue.
üst 07eb8bdc
...@@ -384,12 +384,12 @@ bootstrap: $(WORKDIR_BOOTSTRAP) ...@@ -384,12 +384,12 @@ bootstrap: $(WORKDIR_BOOTSTRAP)
# #
build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset) build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset)
ifeq ($(DISABLE_SCRIPTING),TRUE) ifeq ($(DISABLE_SCRIPTING),TRUE)
# We must get the headers from basic and vbahelper "delivered" because # We must get the headers from vbahelper "delivered" because
# as we don't link to any libs from those they won't otherwise be, or # as we don't link to any libs from there they won't otherwise be, or
# something. And we still do include those headers always even if the # something. And we still do include those headers always even if the
# libs aren't built in the --disable-scripting case. (Ifdefs for # libs aren't built in the --disable-scripting case. (Ifdefs for
# DISABLE_SCRIPTING will be added to the code later as necessary.) # DISABLE_SCRIPTING will be added to the code later as necessary.)
$(GNUMAKE) basic vbahelper $(GNUMAKE) vbahelper
endif endif
ifeq ($(DISABLE_DBCONNECTIVITY),TRUE) ifeq ($(DISABLE_DBCONNECTIVITY),TRUE)
# Ditto for dbconnectivity in the --disable-database-connectivity case # Ditto for dbconnectivity in the --disable-database-connectivity case
......
...@@ -132,7 +132,6 @@ endif # ifeq ($(OS),WNT) ...@@ -132,7 +132,6 @@ endif # ifeq ($(OS),WNT)
ifeq (,$(filter SCRIPTING,$(BUILD_TYPE))) ifeq (,$(filter SCRIPTING,$(BUILD_TYPE)))
gb_Library_FILENAMES := $(patsubst sb:libsb%,,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst vbahelper:libvbahelper%,,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst vbahelper:libvbahelper%,,$(gb_Library_FILENAMES))
endif endif
......
...@@ -64,6 +64,8 @@ $(eval $(call gb_Library_add_linked_libs,sb,\ ...@@ -64,6 +64,8 @@ $(eval $(call gb_Library_add_linked_libs,sb,\
$(gb_STDLIBS) \ $(gb_STDLIBS) \
)) ))
ifneq ($(DISABLE_SCRIPTING),TRUE)
$(eval $(call gb_Library_add_exception_objects,sb,\ $(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/basmgr/basicmanagerrepository \ basic/source/basmgr/basicmanagerrepository \
basic/source/basmgr/basmgr \ basic/source/basmgr/basmgr \
...@@ -102,8 +104,6 @@ $(eval $(call gb_Library_add_exception_objects,sb,\ ...@@ -102,8 +104,6 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/runtime/ddectrl \ basic/source/runtime/ddectrl \
basic/source/runtime/inputbox \ basic/source/runtime/inputbox \
basic/source/runtime/iosys \ basic/source/runtime/iosys \
basic/source/runtime/methods \
basic/source/runtime/methods1 \
basic/source/runtime/props \ basic/source/runtime/props \
basic/source/runtime/runtime \ basic/source/runtime/runtime \
basic/source/runtime/sbdiagnose \ basic/source/runtime/sbdiagnose \
...@@ -112,13 +112,21 @@ $(eval $(call gb_Library_add_exception_objects,sb,\ ...@@ -112,13 +112,21 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/runtime/step0 \ basic/source/runtime/step0 \
basic/source/runtime/step1 \ basic/source/runtime/step1 \
basic/source/runtime/step2 \ basic/source/runtime/step2 \
basic/source/sbx/sbxmstrm \
))
endif
$(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/runtime/methods \
basic/source/runtime/methods1 \
basic/source/sbx/sbxarray \ basic/source/sbx/sbxarray \
basic/source/sbx/sbxbase \
basic/source/sbx/sbxbool \ basic/source/sbx/sbxbool \
basic/source/sbx/sbxbyte \ basic/source/sbx/sbxbyte \
basic/source/sbx/sbxchar \ basic/source/sbx/sbxchar \
basic/source/sbx/sbxcoll \ basic/source/sbx/sbxcoll \
basic/source/sbx/sbxcurr \ basic/source/sbx/sbxcurr \
basic/source/sbx/sbxbase \
basic/source/sbx/sbxdate \ basic/source/sbx/sbxdate \
basic/source/sbx/sbxdbl \ basic/source/sbx/sbxdbl \
basic/source/sbx/sbxdec \ basic/source/sbx/sbxdec \
...@@ -126,7 +134,6 @@ $(eval $(call gb_Library_add_exception_objects,sb,\ ...@@ -126,7 +134,6 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/sbx/sbxform \ basic/source/sbx/sbxform \
basic/source/sbx/sbxint \ basic/source/sbx/sbxint \
basic/source/sbx/sbxlng \ basic/source/sbx/sbxlng \
basic/source/sbx/sbxmstrm \
basic/source/sbx/sbxobj \ basic/source/sbx/sbxobj \
basic/source/sbx/sbxres \ basic/source/sbx/sbxres \
basic/source/sbx/sbxscan \ basic/source/sbx/sbxscan \
......
...@@ -32,7 +32,6 @@ ifneq ($(DISABLE_SCRIPTING),TRUE) ...@@ -32,7 +32,6 @@ ifneq ($(DISABLE_SCRIPTING),TRUE)
$(eval $(call gb_Module_add_targets,basic,\ $(eval $(call gb_Module_add_targets,basic,\
AllLangResTarget_sb \ AllLangResTarget_sb \
Library_sb \
)) ))
$(eval $(call gb_Module_add_check_targets,basic,\ $(eval $(call gb_Module_add_check_targets,basic,\
...@@ -42,6 +41,7 @@ $(eval $(call gb_Module_add_check_targets,basic,\ ...@@ -42,6 +41,7 @@ $(eval $(call gb_Module_add_check_targets,basic,\
endif endif
$(eval $(call gb_Module_add_targets,basic,\ $(eval $(call gb_Module_add_targets,basic,\
Library_sb \
Package_inc \ Package_inc \
)) ))
......
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