summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
2013-11-10gbuild: SdiTarget: avoid more spurious rebuilds...Michael Stahl
... because the .hxx file only occurs as a target in .d files of objects, the rule for it will not trigger in a build from scratch and it will be older than the SdiTarget itself and will be touched on the next incremental build. Ensure that it's not older than the SdiTarget. Change-Id: I49504814ff62efb22d1f10b37e3bec2ea841bfc9
2013-11-10gbuild: HelpTarget: need more recipes...Michael Stahl
The files in gb_HelpTarget__get_index_files need to be targets with a rule since they are delivered via Package. Same for the ".tree" file, and the HelpJarTarget. Change-Id: I03167f358aabf297c9f2feacc170ec4e9db437d1
2013-11-10gbuild: Gallery: avoid spurious re-deliveryMichael Stahl
The .sdg/.sdv/.thm files are generated by gengal (i.e. the Gallery_get_target) but are not targets, which means they will only be delivered in a second make invocation because make requires running a command to propagate out-of-date-ness. Change-Id: Iddb2222151bdbcf93d79bd801fa30ab7d7fbd1d3
2013-11-08gbuild: Extension: avoid re-build on missing translation description.xmlMichael Stahl
Change-Id: I6292f4ec235f8880176c2671ec7c8533168cdbeb
2013-11-08gbuild: HelpTarget: avoid spurious rebuilds on missing translationMichael Stahl
... if the darn files are allowed to be missing, use wildcard to avoid dependencies on them. Change-Id: I36a83413f8fb65b081681a8f351ec6afcf15fe6d
2013-11-08gbuild: AllLangResTarget: avoid spurious rebuilds on missing translationMichael Stahl
... if the darn files are allowed to be missing, use wildcard to avoid dependencies on them. Change-Id: I5232efcb17342d0b2a1e909da6449b08c4148245
2013-11-08gbuild: SdiTarget: .hxx file is always out-of-dateMichael Stahl
... so touch it to avoid that, just to avoid the "true" rule from being invoked every time. Change-Id: I6f27c6e4b0d071b9877a38dc1f4cd3c3eb10bfc0
2013-11-07gbuild: AllLangResTarget: clean install targetMichael Stahl
Change-Id: Ic71d50e2374f15f2cb5d15dd32604a867bfb74e4
2013-11-07remove INPATH and PROEXTMichael Stahl
- WORKDIR path is just workdir - INSTDIR path is just instdir - WORKDIR_FOR_BUILD is workdir_for_build - INSTDIR_FOR_BUILD is instdir_for_build - replace other usage of INPATH by combination of OS and CPUNAME Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482 Reviewed-on: https://gerrit.libreoffice.org/6601 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-07Include backtrace in logStephan Bergmann
Change-Id: I76306ac61365282ef2de4869c1c8e21e044304ff
2013-11-07remove unused gb_smoketest_instsetMichael Stahl
Change-Id: I73739639be5aac39e50cf6cbe6dc576f350d07fa
2013-11-07gbuild: add BUILDTOOLTRACE to debug build tools more easilyMichael Stahl
Can be set like the CPPUNITTRACE variable to run build tools in gdb when they crash, like so (but beware that it will run _every_ build tool in gdb...): make PARALLELISM=1 BUILDTOOLTRACE="gdb --args" Change-Id: I64bd92f77c091c72cbabd07aa449882e78bdfc95
2013-11-04gbuild: fix gb_Extension_use_default_descriptionMichael Stahl
Passing a target local variable like $(LOCATION) to gb_Extension_add_file does not result in an actual dependency on the file. Change-Id: Ide77ab81f19877267056bf8e50d69c9cfedcda79
2013-11-04gbuild: remove error stubs for renamed/removed functionsMichael Stahl
Change-Id: If1d0d5294af87f2b780deadb21d12a6ee90dead6
2013-11-04add original PATH to PATH during unit testsMarkus Mohrhard
we need this for our opencl tests to be able to execute the opencl compiler during the test Change-Id: I9f9e8f3ceb26ff62789d888e6eb9f4f94010bb1f Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03fix target nameDavid Tardon
Change-Id: Icdc912c8d36fe75bedb5a3744018b5d100f45f21
2013-11-03duplicates in the module list break buildDavid Tardon
They might occur in extensions when crosscompiling, because both harfbuzz and lcms2 are listed twice. Change-Id: I6d6eff19043d33160b825f47988e46798da7857a
2013-11-02gbuild: LinkTarget: improve gb_LinkTarget__get_headers_checkMichael Stahl
Can actually error out early in some cases of partial build with missing deps from other modules; probably better than trying to build (Static)Library with bogus vars. Change-Id: I4e2cbd42d3c84b9bc87607d263f3d80ba7914302
2013-11-02gbuild: Library: remove gb_Library__get_final_targetMichael Stahl
... use gb_Library_get_exports_target instead, which is already a "final" target for Library. Change-Id: I5b8a708ba97e351ef383dcc64ead4ab9ea8705c7
2013-11-02gbuild: Executable: remove pointless indirection here tooMichael Stahl
gb_Executable__get_linktarget_target, gb_Executable_get_install_target and gb_Executable_get_install_target_for_build Change-Id: I1b0397c6982e885cd4834c2001264b1f6ae0a99c
2013-11-02gbuild: StaticLibrary: remove gb_StaticLibrary__get_linktarget_targetMichael Stahl
Change-Id: I82ddbb3c82fa5f92e27a938a65a282ed67826a1e
2013-11-02gbuild: Library: remove pointless functionsMichael Stahl
gb_Library_get_install_target and gb_Library__get_linktarget_target Change-Id: I446e642fb43cf9804900b99b32dcc4c621dcb1c7
2013-11-02gbuild: LinkTarget: remove unnecessary variables on dep_targetMichael Stahl
Since commit 8b5a984d45005d3df1c89eae897d6e04612625d8 it is no longer the case that objects get build only via a dependency from Linktarget's dep_target, relying on the variables set on dep_target; now objects only get built via dependency from LinkTarget itself. So there is no need to set these variables on dep_target any more. Change-Id: Id0a831342ae6cfcff3bebe7010ece923f0262703
2013-11-02gbuild: LinkTarget: why are loads of variables set on headers_targetMichael Stahl
It is not obvious to me why that was ever needed. Change-Id: I3df679b41f0685ab288294fa3fadfede093f6f69
2013-11-02gbuild: gb_LinkTarget__get_headers_check can signal error nowMichael Stahl
... since no external link targets not with gbuild should be used via gb_LinkTarget_use_library/static_library. Change-Id: I1c3188dbbe2eaa2f5acfb8944a79ad3b67a95998
2013-11-02gbuild: LinkTarget: setting FLAGS on clean target not necessaryMichael Stahl
Change-Id: Icc07e06e0ea7a7e5094d758a9aba0415449f706f
2013-11-02remove SOLARENV variableMichael Stahl
It is constant and can just be replaced by $(SRCDIR)/solenv. Use BUILD_TYPE where it was used to check if config_*.mk is sourced. Change-Id: Ib9d480c57194b6340093aa47776f8768df69b7d1
2013-11-02gbuild: SOLARBINDIR does not exist any moreMichael Stahl
Change-Id: Ia158e398acbd5a48dca33d59dd47705376a4dc26
2013-11-01Add FREEHAND_LIBSTor Lillqvist
Change-Id: I86d01c9afdedc2477c2894694ab04c4a493bfa65
2013-10-31solver doesn't solve anything...Michael Stahl
... it is an abbreviation of "Solar Version". Since nobody can remember that: remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath and any mention thereof. Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad Reviewed-on: https://gerrit.libreoffice.org/6515 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-31gbuild: gb_Helper_abbreviate_dirs should replace INSTDIR not OUTDIRMichael Stahl
Change-Id: I17bb3d4efc676f2904ad9e23433a4c98bc2669ad
2013-10-31gbuild; CppunitTest: use INSTDIR in add-auto-load-safe-pathMichael Stahl
Change-Id: Id9520beb1b50d580b6331c7a554794d88775faab
2013-10-31gbuild: stop creating OUTDIR/bin in ResTargetMichael Stahl
Change-Id: Ic708402d7d5c8d5065dc27d88c1dcb271e925770
2013-10-31gbuild: add ExtensionPackageSet classMichael Stahl
Change-Id: I947207c78e28b416aebe2e33172043fd8cfa4f17
2013-10-31gbuild: add ExtensionPackage classMichael Stahl
Change-Id: I65ca50ccc512e35a5b95c2482f3a8833d1a7294b
2013-10-31gbuild: remove unused gb_Helper_make_outdir_clean_targetMichael Stahl
Change-Id: I03894747e5269e6da60e0eb59551cdec123ef9a7
2013-10-31gbuild: InstallScript: use scripts from WORKDIRMichael Stahl
Change-Id: I741edcabf86801f77ff58bc42a81372053c7901b
2013-10-31gbuild: Package: check for duplicate definitionsMichael Stahl
Change-Id: I3c2a6b1128f7d827031e4c5a47a415112ce09c5c
2013-10-31readlicense_oo: stop delivering files to OUTDIRMichael Stahl
- remove Package_readme, use generated files from WORKDIR via include path - Package_license and Package_files deliver to INSTDIR - split up Package_odk_shared_readme to have extra Package for generated files - gb_Extension_LICENSEFILE_DEFAULT points to INSTDIR Change-Id: I019d3431e30d982e887ae0000c755e0d61f98893
2013-10-29gbuild: move unittest mock profile to WORKDIRMichael Stahl
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
2013-10-29gbuild: remove gb_CppunitTestFakeExecutable_get_targetMichael Stahl
... use the real Executable instead Change-Id: I46b8374e921b9165a6bb71fba6f6f3459dd18c67
2013-10-29gbuild: remove gb_ResTarget_get_unittest_targetMichael Stahl
Change-Id: I94994645d737b2ee36939ab91d28aa6953e9b475
2013-10-29gbuild: stop using stuff in OUTDIR/unittest/installMichael Stahl
Change-Id: Icdfe1282d5e636a034ee7d1b16b9a113a9b70492
2013-10-28gbuild: remove internal calls to gb_Package_set_outdir with INSTROOTMichael Stahl
Change-Id: If8aded13ed91a871b119192401d2c2edbbd50f94
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28gbuild: remove dummy rule for OUTDIR/incMichael Stahl
Nobody has such paths in .d files any more. Change-Id: I0089f5ad1e69ed7a2ae7a4c33461bbeb5a47fcfd
2013-10-28gbuild: deliver CLI config and policy files to INSTDIRMichael Stahl
Change-Id: I93aaf87b53c17fb143e6e6ae0bca60777dbb3eb5
2013-10-28unoil: build cli_oootypes.dll via CliUnoApiMichael Stahl
Change-Id: I9f6a410515106941c4848edafaffaeacbc27b125
2013-10-28gbuild: refactor CliLibraryMichael Stahl
- stop copying the DLL to OUTDIR - since that was the main reason for the separation between CliLibrary and CliLibraryTarget, merge the targets; the newly inherited variables are not expected to cause problems - hardcode target to URE bin dir for now, no immediate need for multiple layers Change-Id: If0fea1337349c41f231c8cde122852c71d5080a7
2013-10-28gbuild: refactor CliUnoApiMichael Stahl
- stop copying the DLL to OUTDIR - since that was the main reason for the separation between CliUnoApi and CliUnoApiTarget, merge the targets; the newly inherited variables are not expected to cause problems - hardcode target to URE bin dir for now, no immediate need for multiple layers Change-Id: I428d801ec7058e1c6374d8162a4118a3fe581978