summaryrefslogtreecommitdiff
path: root/solenv/gbuild/gbuild.mk
AgeCommit message (Collapse)Author
2015-01-09gbuild: try to fix windows non-debug buildsMichael Stahl
The ENABLE_CRASHREP is no longer AC_SUBSTed by configure, so it is always non-empty in config_host.mk, resulting in -Zi without -FS, which breaks MSVC 2013 builds. Leave a placeholder in configure for the new crash reporter vaporware, and force the CFLAGS to be the same as in the --eanble-symbols case. (regression from 8ab4d2f29fdd2c058db23f6ee7b2200655d4c6f6) Change-Id: I476fb2e4f50de5304632628b25e3997ea6c31c27
2014-12-18Introduce gb_*_set_external_codeStephan Bergmann
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-10-23fdo#60689: replace SUPD variableMarcos Paulo de Souza
Change-Id: Iad63330f8762b595ba5ee94fc20bc2c64ac92f6b Reviewed-on: https://gerrit.libreoffice.org/11937 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-23Rename --enable-sal-info to --enable-sal-logTor Lillqvist
Change-Id: I896c9ac1c941b85d052fbefb902c4341664881d4
2014-10-23Add --enable-sal-infoTor Lillqvist
Change-Id: I014d70ace7ce34b804ea2a018d3de8f94f7e0cbc
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-07-08kill UPD,SOURCEVERION and WORK_STAMPNorbert Thiebaud
Change-Id: Icea7057734020914fe0df3df70c8a895e96c1af0
2014-07-08auto-detect the presence of a native gmake on windowsNorbert Thiebaud
Change-Id: Ie1c7e022a2e1713a111ebd2db9db866e09f4f4f4 Reviewed-on: https://gerrit.libreoffice.org/10120 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-07-08configure, gbuild: remove Cygwin paths from make environmentMichael Stahl
All environment variables contain native Win32 paths. This allows building with Win32 make and Cygwin sh.exe, but Cygwin make cannot build any more with the Win32 entries in PATH. Requires adding "bash" detection to configure since /usr/bin/env can't be invoked by Win32 make and it's possible to install cygwin somewhere else than C:/cygwin. Change-Id: Ia8f4ee3c91222e8f5919cfbfc452f12ffbfadd40 Reviewed-on: https://gerrit.libreoffice.org/9698 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-06-09gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl
This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f
2014-04-18Intermediate commit of hacking on --disable-database-connectivityTor Lillqvist
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of using (or not, more likely) -DDISABLE_DBCONNECTIVITY. The plan is still that database connectivity would be disabled always for the non-desktop platforms, and otherwise disabling it would be a configure option. But, still lots to do; the TiledLibreOffice iOS test app gets tons of undefineds when linking if I actually try to disable the database connectivity. Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
2014-02-25Add config_libraries.h definitions to get library names easily.Matúš Kukan
Works for libmerged too, so we can get rid of LIBO_MERGELIBS. And remove few more #defines in vcl. It's generated by gbuild, so probably abusing config_host directory. Open to improvements. Change-Id: I87ab109bf109e42751766011daf076e9cdf8f5ee
2014-02-18gbuild: "make debugrun" starting instdir/program/soffice with ...Michael Stahl
... UserInstallation in test-install/ does not make sense. It already has this: instdir/program/bootstraprc:UserInstallation=$ORIGIN/.. Change-Id: I0d5e952876b80661375cc5ca6f8fbf44539bc83f
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17gbuild: remove obsolete SOLARLIBMatúš Kukan
Change-Id: I6fcf5ff3a8f543079c3c8d37a728eb0ba6e0587e
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-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 ExtensionPackage classMichael Stahl
Change-Id: I65ca50ccc512e35a5b95c2482f3a8833d1a7294b
2013-10-16Get rid of PRODUCT, unused I hopeTor Lillqvist
Change-Id: I934158f892daf3ae36f265e6bc95fd9987a05ca5
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-01put result of make test-install into top-level test-install dirMichael Stahl
... and rename all DEVINSTALL variables to TESTINSTALL. Change-Id: I2f745ff6324c078d5fd7d272911a9268fc5efd27
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-09gbuild: remove redundant defintion of gb_DEVINSTALLDIRMichael Stahl
At least the PythonTest will pick up the one from platform makefiles. Change-Id: Ia1c3c0535529f4051f66d0ce91c377108a1a3cd7
2013-09-09start to use instdir for subsequentcheck tests; avoid make dev-installMatúš Kukan
This commit breaks linkoo. make dev-install continues to work as before but it's not necessary to use it anymore. make check now uses files copied into instdir by gbuild. TODO: fix remaining issues so that instdir is the same as install/. Change-Id: I66836170f0922ee9ba204a61ffacc30d9e9a5d98
2013-09-03Make it possible to #ifdef on ENABLE_LTOTor Lillqvist
Change-Id: I849af224b6a34d1db21816cfe348d9319c2938ae
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-07-26Move the (unimplemented) READONLY_INSTALLSET flag into config_features.hTor Lillqvist
Change-Id: Icce89cc2a3c8089aa248a176ab92b545c36b1091
2013-07-26Move OS X sandbox flag to config_features.hTor Lillqvist
Change-Id: I189fa06d13a78bcaa8e17b32756076473ced3641
2013-06-10gbuild: s/AutoInstallLibs/AutoInstall/gMatúš Kukan
Change-Id: I582a841ea3b2a882cbdc1556058b007a8667024a
2013-06-07gbuild: install extension directly from workdirMatúš Kukan
Also kill ExtensionTarget indirection causing duplication. Change-Id: I24f7e6d85df6acf2ededaade20dd1a788d916594
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-24gbuild: simplify reg. of targets for PostprocessDavid Tardon
Change-Id: Id184df89c5c15c55e42f376ed06c83174c486f67
2013-05-15start of dynamic gallery building.Michael Meeks
Change-Id: I488def80e855624ffd85a0b6c4cc19819c39ed01
2013-05-04gbuild: add Package equiv. for copying whole dirsDavid Tardon
This is in preparation for using doxygen to generate IDL docs. Because the file names generated by doxygen are essentially random, it is not possible to use a Package to deliver them. And we really do not want to go back to using Zip, as unpacking slows the installation down. Change-Id: I5f4aa6bf10c6aab30a5b1870e04dca723c123317 Reviewed-on: https://gerrit.libreoffice.org/3774 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-01let gbuild pick gb_RUNNABLE_INSTDIR from env.David Tardon
Change-Id: I0cf96aa137a33662c5713886dd6b2649e4dd01bc
2013-04-28gbuild: add var. for enabling runnable instdirDavid Tardon
This is a part of my effort to get a runnable $(INSTDIR) as a more convenient alternative to make dev-install. I plan to copy all necessary shared libs, executables and other files to $(INSTDIR), which increases the disk space demands for a build (there would be three copies of a library/executable in the same build: one in $(WORKDIR), another in $(OUTDIR) and one in $(INSTDIR)). Because the runnable instdir idea is limited to Linux anyway (at least for now), it will be disabled by default. Change-Id: Ib61109b1a193c61c0236b50b64c34fea20f40297
2013-04-24UnoApiMerge has become unused nowStephan Bergmann
Change-Id: I9e4e153e1a9ac82d4015b73ecf3a9a2429ab346f
2013-04-15gbuild: add support for building against MSVC debug runtimeMichael Stahl
Mainly this means using /MDd instead of /MD and /MTd instead of /MT in the CFLAGS, and also re-mapping of .lib files to ones with "d". Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338
2013-04-13install SDK headers from filelistsDavid Tardon
... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
2013-04-13convert AllLangZip to install using PackagesDavid Tardon
... and also rename it to AllLangPackage. Change-Id: I5bbc3847f2806221a5e3e4fa063ccc5a3b60a3fb
2013-04-11add gbuild class PackageSetDavid Tardon
This is intended for bundling filelists of multiple Packages together, to simplify the scp2 configuration. Change-Id: I6f700f691b37375a09a5400166aac80a8bb2a2b4 Reviewed-on: https://gerrit.libreoffice.org/3230 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11rename UI to UIConfigDavid Tardon
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-09set up python unit test infrastructureDavid Ostrovsky
Extract boostraping code from convwatch.py to unotest.py. Use python builtin unittest module as unit test framework. Specify the unit test modules in make file. Another option would be to use discover mode of unittest module. Add __pycache__ to global .gitignore to keep the source directory clean. Another option would be to deliver the unit tests to workdir prior to test execution. Currently only system python3 is supported. Change-Id: I2692817673f786e950e1176a17c7675f989755b6 Reviewed-on: https://gerrit.libreoffice.org/3214 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-04-05use filelist install method for udkapi and offapiDavid Tardon
... so we can drop ZipUnoApi again. Change-Id: Id5925b8c101cd7cb70614a9a26f328dec92db8fa Reviewed-on: https://gerrit.libreoffice.org/3152 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-02remove incorrect todo comments about ENVCFLAGSLuboš Luňák
Actually these variables have nothing to do with dmake, other than originating from there. And they still make (at least some) sense, at least I'm not aware of any way to append any CFLAGS (overriding them in the usual make way will override only debug/optimization flags). Change-Id: Iec91c5c1dfbec2b683060087ac914666efa913d9
2013-03-27Use <config_features.h> instead of -DDISABLE_EXTENSIONSTor Lillqvist
Change-Id: I4fe5cd27b77d44b9b33af0ae3c3754e3b85c2ca3
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26speed-up module-deps.plPeter Foley
Change-Id: Idf703b1b5e26e32a0e8276c6f2eba51cd80f1b0b