summaryrefslogtreecommitdiff
path: root/solenv/gbuild/TargetLocations.mk
AgeCommit message (Collapse)Author
2015-07-04Fix typosAndrea Gelmini
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-12-01Fold URE: Linux ure/share/misc/* -> program/Stephan Bergmann
...and remove now unused ure-link symlink Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-11-26On Mac, the lib/libuno_*.dylib symlinks are not in the SDKStephan Bergmann
...but rather dynamically created (via the SDK's setsdkenv_unix.sh.in) in the SDK's per-user output tree. So better reflect that in instdir by putting the symlinks into workdir/LinkTarget/Library/ instead on Mac. (Which has the additional benefit that the location of the symlinks doesn't change with the versioned SDKDIRNAME.) Change-Id: I77237f6a5d64771c3cb0866e125925ed7b0ecdaf
2014-09-05gbuild: Framework for performance unit tests using callgrindMatúš Kukan
Run them with "make perfcheck" (toplevel or in a module) To add a new performance test: - Add it as a perfcheck target - Use gb_CppunitTest_set_performance_test - Use CALLGRIND_ macros from valgrind/callgrind.h http://valgrind.org/docs/manual/cl-manual.html#cl-manual.clientrequests Change-Id: I67c776dbe4db0a686607efeee7a7e4f3aeae0e5c
2014-08-02gbuild: ensure py files for a component are thereDavid Tardon
... when the component is used by a unit test. Change-Id: I5e3b1770c18d8f7dd8166f30f82bbbba1aa72dc1
2014-04-26mixing build path and host exec. name doesn't workDavid Tardon
Change-Id: I54785205e3884ddf7b94ef7f43617bd329c4e780
2014-04-18restore deps on bins from bundled projects used during buildDavid Tardon
Change-Id: Ibd97268e4aaa61ec896135bf780173a18536101d
2013-11-21make packageinfo targetBjoern Michaelsen
Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
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-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-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: add ExtensionPackageSet classMichael Stahl
Change-Id: I947207c78e28b416aebe2e33172043fd8cfa4f17
2013-10-31gbuild: add ExtensionPackage classMichael Stahl
Change-Id: I65ca50ccc512e35a5b95c2482f3a8833d1a7294b
2013-10-31gbuild: InstallScript: use scripts from WORKDIRMichael Stahl
Change-Id: I741edcabf86801f77ff58bc42a81372053c7901b
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-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
2013-10-28fdo#69601: refactor CliNativeLibraryMichael Stahl
- stop copying the DLL to OUTDIR - since that was the main reason for the separation between CliNativeLibrary and CliNativeLibraryTarget, merge the targets; the newly inherited variables are not expected to cause problems - the Library remains in layer NONE; the derived CliNativeLibrary is in INSTDIR - hardcode target to URE bin dir for now, no immediate need for multiple layers Change-Id: I3bf4859e8c574f84d69eb43d12ddce0d34b5730c
2013-10-26Fix OS X build: Use INSTROOT, not INSTDIRTor Lillqvist
Change-Id: Ia65b1cdcd10d400eb992a83e2b419b6edb6c77fa
2013-10-25gbuild: refactor UnoApi to remove rdb files from OUTDIRMichael Stahl
- gb_UnoApi_get_target returns the files in INSTDIR - stop using rdb files from OUTDIR - remove gb_UnoApi_install - remove pointless 2nd parameter of gb_UnoApi_UnoApi - order-only dependency from gb_UnoApi_get_target to gb_UnoApiHeadersTarget_get_target because INSTDIR .rdb is always outdated Change-Id: Id418f75e9b38d6fe135b55eca2594c2624bc41cc
2013-10-25gbuild: refactor Jar target to stop using OUTDIRMichael Stahl
- gb_Jar_get_target points to layer-specific location - remove gb_Jar_get_outdir_target - add OXT and NONE layers - add a rule for every installed Jar to avoid problems with conflicting pattern rules in instdir Change-Id: Icf11869a454a7a52791c5ae257fc5da87aa46dc2
2013-10-02gbuild: kill gb_XcsTarget_get_outdir_targetMatúš Kukan
No idea what the '--path $(gb_Configuration_registry)' parameter was for. Change-Id: I892e178a62fa2ea971101815ea558f79d32f85ed
2013-10-02gbuild: kill gb_XcuModuleTarget_get_outdir_targetMatúš Kukan
Change-Id: I1d54d98b8aa50f778de87e6ebb17ec2eed0d65dc
2013-10-02gbuild: kill gb_XcuDataTarget_get_outdir_targetMatúš Kukan
Change-Id: Ifad958524cc75ead4d2bb383369f63457a2237fc
2013-10-02gbuild: kill gb_XcuLangpackTarget_get_outdir_targetMatúš Kukan
Change-Id: I91444ed4fb98b094ba45bfc2a789abc83eb67212
2013-10-02we do not need .xcd files in solverMatúš Kukan
Change-Id: Ic08b12b0deb7342c520a5385c226d864596fc858
2013-09-27gbuild: remove now unused gb_Library_OUTDIRLOCATIONMatúš Kukan
Change-Id: I696b550b495d1bf6549e3c54a3157d467a7ead8d
2013-09-24fix --enable-mergelibs dependenciesMatúš Kukan
..and create gb_BUILD_HELPER_LIBS in instdir, so that they are found when gb_BUILD_HELPER_TOOLS link against them. Altough it's ugly - we don't want them in instdir otherwise. Change-Id: Ia946eceeaf7eada0c3b42379e95af9bdbf52957f
2013-09-23Fixes for cross-compilation on OS X (to iOS)Tor Lillqvist
Introduce SDKDIRNAME as a configury variable and use it instead of the gbuild gb_Package_SDKDIRNAME. Then we can easily construct the SDKDIRNAME_FOR_BUILD variant that is needed to find the specially named SDK in instdir on OS X when cross-compiling. Move the version number section in configure.ac earlier. Change-Id: Iee3db1a50ad4c7a9f91bbc5e0d0b01d76a76f701
2013-09-23Try to fix cross-compilationTor Lillqvist
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22gbuild: remove static libraries from OUTDIRMichael Stahl
Refactor to find and link static libraries directly in WORKDIR. - gb_StaticLibrary_get_target is now same as the gb_LinkTarget_get_target - fix the StaticLibrary clean target Change-Id: Icf29d32d6487747a2e39d4599ceebccfead04667
2013-09-22find lots of external static libraries in UnpackedTarball dirMichael Stahl
Note: do NOT put file paths to static libraries into FOO_LIBS variables that are passed to bundled externals that are built with --enable-static: on Mac OS X this will result in .a archives that contain other .a archives as entries, and trying to link those results in errors like: ld: warning: ignoring file .../libodfgen-0.0.a, file was built for archive which is not the architecture being linked (i386) Change-Id: If2c5a458058e4da76f80b3643e55b489d1edee24
2013-09-22gbuild: remove executables from OUTDIR and WORKDIRMichael Stahl
Call and link executables directly in INSTDIR. - gb_Library_get_target is now same as the gb_LinkTarget_get_target - disable gb_Library_add_auxtarget, no auxtargets need to be copied - adjust paths of all external executables to OUTDIR_FOR_BUILD for now - use lazy assignment instead of := in AllLangResTarget because it's read before Executable - link.exe generates an import library for lots of executables because they export symbols, especially since commit 0ffab9363d527d55b12b9b09d7136ca1c9d171e0 "force 'main' to always be DLLPUBLIC." Change-Id: I3e1ee7425dd430bb83c7cd59e265869a0541b38d
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-22gbuild: make the versioned library the linktarget on UnixesMichael Stahl
If there is a SOVERSION then the versioned library is a real file and the unversioned one just a symlink; better to have the real file be the target. - add gb_Library_UDK_MAJORVER variable for SOVERSION - remove version parameter of gb_Library_set_soversion_script; instead hardcode the SOVERSION since it must be included in the file name in gb_Library_FILENAMES anyway - store the unversioned symlink in the ILIBTARGET variable - via new gb_Library_get_workdir_target_versionlink function - removed gb_Helper_install call that resulted in both versioned and unversioned libs in instdir Change-Id: I2c6f1698f0e39fdb2c07964d43ed9485cbca0b30
2013-09-22gbuild: make the DLL the LinkTarget of Library and CppunitTestMichael Stahl
... instead of the import lib. If the DLL is an auxtarget, it cannot be deleted without annoying errors, and we want to be able to rm -r $(INSTIDR) and build incrementally from there. - replace DLLTARGET -> ILIBTARGET - replace gb_Library_DLLFILENAMES -> gb_Library_FILENAMES - replace gb_Library_FILENAMES -> gb_Library_ILIBFILENAMES - replace gb_Library_get_dllname -> gb_Library_get_filename - replace gb_Library_get_filename -> gb_Library_get_ilibfilename - replace gb_CppunitTest_get_libfilename -> gb_CppunitTest_get_ilibfilename - replace gb_LinkTarget_set_dlltarget -> gb_LinkTarget_set_ilibtarget Change-Id: I92a2f061a653b9b5941f3232d729987b1317b6f8
2013-09-22gbuild: deduplicate gb_Library_get_exports_targetMichael Stahl
and remove comment obsoleted by 170668d83911c12475eccf69eba5e191863d4a56 Change-Id: Iba8db6214e04480eaf45bcd069ccd8b41fd25874
2013-09-22gbuild: refactor LinkTarget representationMichael Stahl
If the link targets are not in workdir then 2 different aspects are needed: the previously used location relative to workdir's LinkTarget dir (for all the misc. related targets), and the full target file. Adding an additional parameter to all LinkTarget functions would be quite annoying, especially since it would need passing through all the gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode both into the linktarget itself, and modify the functions gb_LinkTarget_get_target to return the target and all others to return the workdir linktargetname. - replace gb_Library_get_linktargetname with either: * gb_Library__get_workdir_linktargetname * gb_Library__get_linktarget_target * gb_Library_get_linktarget - similar for gb_Executable_get_linktargetname - similar for gb_StaticLibrary_get_linktargetname - similar for gb_CppunitTest__get_linktargetname - add calls to gb_LinkTarget__get_workdir_linktargetname where needed Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-09-19Directly build UNOIDL .rdb files from .idl filesStephan Bergmann
...via unoidl-write and the new source-format registry provicers, instead of using idlc to produce .urd files, regmerge to merge them into legacy .rdb files, and unoidl-write to translate those to new UNOIDL .rdb files. gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is the path (below $(SRCDIR)) of the source-format registry from which to obtain UNOIDL entity definitions. It can either be an .idl file (in which case no *_add_idlfiles calls should be used and the resulting .rdb will contain all the entities from that one .idl file; used in some tests to conveniently define all test-specific entities in a single file) or a directory denoting the root of an .idl file tree (in which case *_add_idlfiles calls specify the entites to include in the resulting .idl file). (In the first case, the generated .rdb file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor contains a dependency on that additional argument, which happens, as a side effect, to trigger rebuilds in the second, tree-based case when addition/removal of .idl files in the tree causes updates of directory time-stamps.) UnoApiPartTarget and all the dependency-tracking logic based on .urd files in solenv/gbuild/UnoApiTarget.mk is gone. Generation of an .rdb file now depends on its source registry (see previous paragraph) and all the .idl files specified with *_add_idlfiles (in the second, tree-based case above). A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all do the same now. I left them in for now anyway, maybe they become relevant again when the use of cppumaker is changed to read directly from a source-format registry instead of going via a .rdb registry. The legacy tools idlc, regcompare, regmerge, and regview are still contained in the URE or SDK for now. cb344cd59e1ddb7c6db66dbd9263b4755969d4ba "Revert 'Looks like idlc resolved typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is generated via unoidl-write instead of idlc." Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
2013-09-10gbuild: install pagein files directly from workdirMatúš Kukan
Change-Id: I51e632ab96a5a569446c1a46ffce5cc3d85eadf9
2013-09-10gbuild: install .res files directly from workdirMatúš Kukan
Change-Id: I95e4f150c21f991f629530eebf19748c2768f856
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53