summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Extension.mk
AgeCommit message (Collapse)Author
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-22Revert "fdo#51115: gb_Extension_add_file: fix Windows build:"Michael Stahl
This actually should no longer be necessary since AUXTARGETS were fixed in 85b6a93cf41fb05e726027e34fcd805330e20414. This reverts commit e818f8fa1f79c2eb2d647678333b8d12599dda69.
2013-06-07One more gbuild $ -> $$ fixStephan Bergmann
Change-Id: I907e383f117044ef5d105e91991cdcf7ef1f4c9c
2013-06-07gbuild: fix library paths in gb_Extension__compile_help_onelangMichael Stahl
Apparently *COMMAND are evaluated once too much so the $ are lost. Change-Id: Iefc2a945b9ce708bc0f0f5490e1c2f2f7bba1616
2013-06-07gbuild: install extension directly from workdirMatúš Kukan
Also kill ExtensionTarget indirection causing duplication. Change-Id: I24f7e6d85df6acf2ededaade20dd1a788d916594
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-03-07Make gb_Extension_use_default_description/license explicitStephan Bergmann
...as a prerequisite for gbuild'ifying desktop/test/deployment/passive/, which builds a test extension that does not match those default description/license settings. Change-Id: I200ff0ceb9750ed4b1c187305f10469f789d29cb
2013-03-06Dead codeStephan Bergmann
Change-Id: Ie54e11da130d563e52a87b924b556966d055b73f
2012-12-10userfriendly make targets for build and cleanLuboš Luňák
So that now it's possible to do just 'make CppunitTest_sw_macros_test' instead of 'make /home/llunak/build/src/l2/workdir/unxlngx6/CppunitTest/sw_macros_test.test' Change-Id: Ibd1e9ef4fc825043a71bd669b2f5c37ffec68e33 Reviewed-on: https://gerrit.libreoffice.org/1253 Reviewed-by: Peter Foley <jpfoley2@gmail.com> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-10-25gbuild: Extension: remove ugly "nodefaults" mode againMichael Stahl
Change-Id: I723f70224a00972993d5b8592dd5e3834be7fd84
2012-10-24make l10n of extensions work againDavid Tardon
Change-Id: I156f6bdf04d64abfdf482fd2bee13136528bff9b
2012-10-23gbuild: make ct2n module workMichael Stahl
- add a preparation target to ExtensionTarget so added files can depend on unpacked tarball or custom target - add a "nodefaults" mode to Extension to disable some stuff Change-Id: I1fce6e948cef0a6d976e2e6555ef5c5f8e90cffb
2012-10-01fdo#50163 move definition of PLATFORMID into configure.inAndras Timar
Change-Id: Iea8385aa9213ccde7e6650cb934361597d508250
2012-09-10add help.tree files to extensions' helpBence Babati
Change-Id: I2decf0178dea2722a752291f21e97cae4aab8074
2012-08-31fdo#53009: Compile extension help in gbuildStephan Bergmann
...as had been done in the old build system (solenv/inc/extension_helplink.mk). Especially for bundled extensions, this removes the need to compile the help data per user on first start. gb_Extension_add_helpfile(s) replaces gb_Extension_localize_help, and takes care of all the steps (localization, compilation, inclusion in .oxt), even for the en-US data (which was handled with additional gb_Extension_add_file calls before). Change-Id: Ie4bab66d3cad2b713780a23bf2606ca56cfff37f
2012-08-09change handling of description-LANG.txtDavid Tardon
Change-Id: Iecd7760af418f6e9ff7c9502e27011ee03962705
2012-08-09change handling of license fileDavid Tardon
This is a preparation for gbuildizing dictionaries, which does not contain registration/LICENSE like regular extensions. Change-Id: I9b186d101627872b522be0432f6daf21250eb497
2012-08-09refactor ExtensionDavid Tardon
Change-Id: Ie0fd71b6547d9e04a55ae9690b137579e581e006
2012-06-26fdo#51115: gb_Extension_add_file: fix Windows build:Michael Stahl
The DLL is not actually a make target, but is handled via the AUXTARGETS mechanism in LinkTarget.mk; add an ugly hack here to hopefully make adding libraries to extensions work. Change-Id: I85ee891fe8b7d470e09d9cb1d5a48d8b11b50d6e
2012-06-25gbuild: add gb_Extension_add_executableMichael Stahl
This is not really necessary, but consistent. Change-Id: Ic0249efac26c9977ede7ef591d517cc03542b002
2012-06-25fdo#51115: fix sdext extensions on Windows:Michael Stahl
The sdext extensions contain the .lib link stub instead of DLLs; add gb_Extension_add_library to get the correct DLL filename on Windows, and use it in presenter screen, presentation minimizer and PDF import extensions. Change-Id: Ie8113a6002f9038e4df798edc255208977ba9497
2012-05-17remove duplicated dependencyDavid Tardon
Change-Id: I4cfe3ce7b7dab5d3fb2d3ddfa28f0fa263593667
2012-05-16gbuild: fix build executable dependencies:Michael Stahl
Rules that invoke generated executables should have dependencies on those executables.
2012-05-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-05-09gbuild: use mixed paths on cygwinMatúš Kukan
make 3.82 understands mixed paths, so use them. This allows us to get rid of evil in BuildDirs.mk. Hopefully, life will be simpler now. Change-Id: I I I641f28c6af1948963f7004f8071af62e21caabb3
2012-05-05propmerge is not executable, only a scriptMatúš Kukan
Change-Id: I35c88dc5ffe1b4082d0ef9611dd2c698c0d4217e
2012-05-04do not handle description-* as special caseDavid Tardon
2012-05-04fdo#49136 install description-*.txtDavid Tardon
2012-05-04fix for cross-compilationDavid Tardon
2012-04-25fix extension help localization on WindowsAndras Timar
2012-04-09gbuild: simplify and unify gb_Helper_*native*Matúš Kukan
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-03-13missing $: announce only if something is happeningMatúš Kukan
2012-03-08quick hack to fix building sdext with l10nDavid Tardon
2012-03-08fix mis-mergeDavid Tardon
2012-03-06fix adding files to extension's root dirDavid Tardon
2012-03-06set localize.sdf path separately for each fileDavid Tardon
It cannot be done at the main target, because there is no guarantee that all help (or properties) files are in one directory.
2012-03-06fail if any previous command failedDavid Tardon
2012-03-06hardcode manifest source path againDavid Tardon
2012-03-06add support for platform spec. data in manifest and descriptionDavid Tardon
2012-03-06simplify ruleDavid Tardon
2012-03-06allow adding deps on packagesDavid Tardon
2012-03-06allow using manifest in different locationDavid Tardon
This is necessary for C++ extensions (at least for those from sdext module), because the manifest needs preprocessing (the extension's name is platform-dependent etc.)
2012-03-06support adding more than 1 file at onceDavid Tardon
2012-03-02translations converted to gbuildMatúš Kukan
2012-02-08Missing $(...)Stephan Bergmann
2012-02-08Properly rebuild files generated by l10ntools programsStephan Bergmann
(Changing the corresponding build-order-only dependencies to proper ones should be safe here, as all mentions of $^ are within $(filter) calls.)
2012-01-06gbuild: fix extension localization on WindowsAndras Timar
2012-01-06Revert "propmerge is not executable"Andras Timar
This reverts commit 3082565d6291176ef1fcdc053f9851c82a02d19a.
2012-01-05propmerge is not executableMatúš Kukan