Age | Commit message (Collapse) | Author |
|
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
|
|
This actually should no longer be necessary since AUXTARGETS were fixed
in 85b6a93cf41fb05e726027e34fcd805330e20414.
This reverts commit e818f8fa1f79c2eb2d647678333b8d12599dda69.
|
|
Change-Id: I907e383f117044ef5d105e91991cdcf7ef1f4c9c
|
|
Apparently *COMMAND are evaluated once too much so the $ are lost.
Change-Id: Iefc2a945b9ce708bc0f0f5490e1c2f2f7bba1616
|
|
Also kill ExtensionTarget indirection causing duplication.
Change-Id: I24f7e6d85df6acf2ededaade20dd1a788d916594
|
|
|
|
...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
|
|
Change-Id: Ie54e11da130d563e52a87b924b556966d055b73f
|
|
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>
|
|
Change-Id: I723f70224a00972993d5b8592dd5e3834be7fd84
|
|
Change-Id: I156f6bdf04d64abfdf482fd2bee13136528bff9b
|
|
- 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
|
|
Change-Id: Iea8385aa9213ccde7e6650cb934361597d508250
|
|
Change-Id: I2decf0178dea2722a752291f21e97cae4aab8074
|
|
...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
|
|
Change-Id: Iecd7760af418f6e9ff7c9502e27011ee03962705
|
|
This is a preparation for gbuildizing dictionaries, which does not
contain registration/LICENSE like regular extensions.
Change-Id: I9b186d101627872b522be0432f6daf21250eb497
|
|
Change-Id: Ie0fd71b6547d9e04a55ae9690b137579e581e006
|
|
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
|
|
This is not really necessary, but consistent.
Change-Id: Ic0249efac26c9977ede7ef591d517cc03542b002
|
|
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
|
|
Change-Id: I4cfe3ce7b7dab5d3fb2d3ddfa28f0fa263593667
|
|
Rules that invoke generated executables should have dependencies on
those executables.
|
|
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
|
|
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
|
|
Change-Id: I35c88dc5ffe1b4082d0ef9611dd2c698c0d4217e
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
It cannot be done at the main target, because there is no guarantee that
all help (or properties) files are in one directory.
|
|
|
|
|
|
|
|
|
|
|
|
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.)
|
|
|
|
|
|
|
|
(Changing the corresponding build-order-only dependencies to proper ones should
be safe here, as all mentions of $^ are within $(filter) calls.)
|
|
|
|
This reverts commit 3082565d6291176ef1fcdc053f9851c82a02d19a.
|
|
|