diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-06-04 16:59:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-06-09 17:05:53 +0200 |
commit | 59801c706d440d15b0baf0aec4aad30a9c55bd8f (patch) | |
tree | 7a79ec613687f8f3b656d8b7289e14b6d45672e7 /solenv/gbuild/AutoInstall.mk | |
parent | gbuild: tweak var2file so it handles some shell metacharacters (diff) | |
download | core-59801c706d440d15b0baf0aec4aad30a9c55bd8f.tar.gz core-59801c706d440d15b0baf0aec4aad30a9c55bd8f.zip |
gbuild: AutoInstall: work around command line limit with Win32 make
Change-Id: Ice87781147d62d2ba5f7fe3e7cede89a0404c186
Diffstat (limited to 'solenv/gbuild/AutoInstall.mk')
-rw-r--r-- | solenv/gbuild/AutoInstall.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/solenv/gbuild/AutoInstall.mk b/solenv/gbuild/AutoInstall.mk index 5701b7f0e9e8..c6b33f9de13b 100644 --- a/solenv/gbuild/AutoInstall.mk +++ b/solenv/gbuild/AutoInstall.mk @@ -30,8 +30,13 @@ $(call gb_AutoInstall_get_target,%) : $(GBUILDDIR)/AutoInstall.mk \ $(foreach exe,$(gb_Executable_MODULE_$*),auto_$*_exe_$(exe)) \ $(foreach jar,$(gb_Jar_MODULE_$*),auto_$*_jar_$(jar)) \ $(foreach pkg,$(gb_Package_MODULE_$*),auto_$*_pkg_$(pkg))) - $(foreach lib,$(gb_Library_MODULE_$*),\ - echo '$(SCP2LIBTEMPLATE)(auto_$*_lib_$(lib),$(call gb_Library_get_runtime_filename,$(lib))$(if $(SCP2COMPONENTCONDITION),$(COMMA)$(SCP2COMPONENTCONDITION)))' >> $@;) + # ugly hack for Win32 8k command line length limit + $(foreach lib,$(wordlist 1,70,$(gb_Library_MODULE_$*)),\ + echo '$(SCP2LIBTEMPLATE)(auto_$*_lib_$(lib),$(call gb_Library_get_runtime_filename,$(lib))$(if $(SCP2COMPONENTCONDITION),$(COMMA)$(SCP2COMPONENTCONDITION)))' >> $@ &&) true + $(foreach lib,$(wordlist 71,140,$(gb_Library_MODULE_$*)),\ + echo '$(SCP2LIBTEMPLATE)(auto_$*_lib_$(lib),$(call gb_Library_get_runtime_filename,$(lib))$(if $(SCP2COMPONENTCONDITION),$(COMMA)$(SCP2COMPONENTCONDITION)))' >> $@ &&) true + $(foreach lib,$(wordlist 141,9999,$(gb_Library_MODULE_$*)),\ + echo '$(SCP2LIBTEMPLATE)(auto_$*_lib_$(lib),$(call gb_Library_get_runtime_filename,$(lib))$(if $(SCP2COMPONENTCONDITION),$(COMMA)$(SCP2COMPONENTCONDITION)))' >> $@ &&) true $(foreach lib,$(gb_SdkLinkLibrary_MODULE_$*),\ echo 'SDK_LIBRARY_LINK(auto_$*_link_$(lib),$(notdir $(call gb_Library_get_sdk_link_lib,$(lib))),../../ure-link/lib/$(call gb_Library_get_runtime_filename,$(lib)))' >> $@;) $(foreach exe,$(gb_Executable_MODULE_$*),\ |