summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)Author
2020-09-11Fix the minimal build-tools targetJan-Marek Glogowski
The revert commits change the build-tools target for a DESKTOP build to build the complete LO. This restores the original, minimal one and also adds a whitelist of allowd build types. OpenCL needs a configure switch, as it's status is also stored in a config header, so preventing the build is not enough. This also reverts: - commit 802161a505272732566210e9ebbd8fe1b23fb86d - commit 02d931a59e2966d0c2736db8dee7be3e3dcd6bae Change-Id: Ibfcb0c54e72da1b7c2e63c082ea6586520a787fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102480 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-17Update paths in Makefile.in and android/.gitignoreMichael Weghorn
commit 0dffc65236fbacf98047d6dbfc82b4efe7dd959b Date: Fri Jun 5 08:59:26 2020 -0400 android: fix the build output directory had changed the output directory, so adapt the paths in .gitignore and Makefile.in accordingly. Change-Id: I9c145e359e20167185ae2f7b055fa3b1dac870f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98971 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2020-07-06When cross-compiling to DESKTOP, just make "build" for the build platformTor Lillqvist
Trying to fine-tune that exactly what is needed but nothing else is built is very painful. For instance, on macOS, if you build gengal but not soffice, you end up with this error when trying to run the built gengal, because there is no Info.plist in the app bundle in instdir_for_build: "No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting" Change-Id: I63d766f0e7e72f55454d16c72c32e153cf976443 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98177 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-04reduce number of framework librariesNoel Grandin
Change-Id: If2bf85301eb1523a636d031f6e5a9f78cb1ee06b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97871 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-17allow building as root inside a container without complaintCaolán McNamara
add a check for $container Change-Id: Ib6921c6d771622fb5f4acb82d10aa6fb34e1bbac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96538 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-18Revert "make: map slowcheck to gbuild's build and slowcheck"Luboš Luňák
This does not actually ensure everything is built before tests are run, so this doesn't fix the test failures it was intended to fix. This reverts commit 4054a30e2b2fa254dfb20718ce757ceb2f638fd5. Change-Id: Ie0fb9f98f90aeb6fc3ecf373efe9dadb6e2a5c39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92589 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-05-04Adapt to hardened_runtime.xcentStephan Bergmann
...generated since 88453fd13a653963b394b8f865ff104b5545f137 "Enable debugging of a hardened process on macOS" Change-Id: I061b3673855d6e44f0fbf805f8cda1a9ee6f2196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93431 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-04-21ofz#21701 Fuzzing build failureCaolán McNamara
Change-Id: I4a8042f4f3c117a2268b06789a99cf0ba6dbc3f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92608 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-20Revert "Revert "make: map slowcheck to gbuild's build and slowcheck""Luboš Luňák
Jenkins Mac buildbots still haven't been updated to use explicit make targets instead of plain 'make'. This reverts commit 59d0a42639b5e569890ae00a2deef620c4e5c258.
2020-04-20Revert "make: map slowcheck to gbuild's build and slowcheck"Luboš Luňák
This does not actually ensure everything is built before tests are run, so this doesn't fix the test failures it was intended to fix. This reverts commit 4054a30e2b2fa254dfb20718ce757ceb2f638fd5. Change-Id: Id0a81179327d42a7b608a67813db53ca7a5c71d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90788 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-03-23rework the default make targetLuboš Luňák
The current default target ('all') was a confusing mess, it did run some tests, but it did run just some of them and it also depended on some factors (toplevel 'make' vs module 'make'). And running tests on plain 'make' also makes the developer cycle longer, which is annoying, and now there's Jenkins which will do checks. This commit makes the default make target to be 'build'. All the other targets should work the same way, with the exception of 'all', which I've removed (given that it was confusing, it's probably better not to try to keep any kind of backwards compatibility there). The 'build-nocheck' target is now equal to 'build' and thus pointless, but I've kept it for backwards compatibility. Change-Id: I874b7ae8d26e95efa86a00dd32cfa7fd19599b9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89820 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-03-19make: map slowcheck to gbuild's build and slowcheckMiklos Vajna
This is meant to to fix the Jenkins Windows/macOS buildbots after they started to run 'make unitcheck slowcheck'. Change-Id: I128448ca3a190969c0cc0f02d2c27bc0a373129b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90765 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-03-02dtoa needed by salCaolán McNamara
Change-Id: I79067b047384425c65a2653b20e637d8461cf7f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89780 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-01-04allow root under podmanCaolán McNamara
Change-Id: I66dc674aab8dc86c95495754400c5e64b2583599 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86223 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-10-07Makefile comments need to start in the first columnTor Lillqvist
This "comment" was actually interpreted as a shell command. Sure, the "command" was a comment in shell, too, but still, quite pointless to run it. Change-Id: If5abeabb1c10d62fa90dcdaf81b3b54af958ba62 Reviewed-on: https://gerrit.libreoffice.org/79292 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit d7cbe885daf2e05677b2891c920e5ff125ee15a9)
2019-06-17Add vs2019-ide-integrationMike Kaganski
Change-Id: I14b7ebb3521f9a23fcf4c3ff907408327f189f29 Reviewed-on: https://gerrit.libreoffice.org/74138 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-04-25That bin directory should no longer be thereStephan Bergmann
...at least since 7a08bfeabe21193e04b9747a831653efcfc63190 "tdf#122244 Put InfoPlist.strings files at correct places on macOS", though it wasn't under Contents/ at least as of lately, anyway. The code to remove it had been added with f345a2c52af0333b46b4b74e686883c8cb9ffab4 "We don't want those bin/InfoPlist_*.zip files in the app bundle". I don't know how to do a --enable-macosx-code-signing build on macOS to verify that it can indeed be removed, though. Change-Id: I61d91bd47abf8f4b5d9e117d9943e0682ebef2cb Reviewed-on: https://gerrit.libreoffice.org/71298 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-12-18No more need to generate lo.xcent from lo.xcent.inStephan Bergmann
...after fd34a19b4d8ccbd8740cf6056be87b8c267caaec "Seems that we don't need the com.apple.application-identifier after all" dropped the last @...@ replacement there Change-Id: Id6f4d1065b28be12e5d727bab553daa17fc4dfcb Reviewed-on: https://gerrit.libreoffice.org/65275 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-30No ios/generated folder is created any longerTor Lillqvist
The generated files for iOS are now in workdir/CustomTarget/ios. Change-Id: Idee3902eaabf21aa7dacb971ad81f4e2c7df3b5b
2018-11-29Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek
Change-Id: I651b7f202fa52ff5f5357a11aa72c43eb7dc7f95 Reviewed-on: https://gerrit.libreoffice.org/64102 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2018-11-28Let distclean remove all of generated config_build/ treeStephan Bergmann
Change-Id: I8d12454003c0bd23170007e30f96016b47820f5f Reviewed-on: https://gerrit.libreoffice.org/64157 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl
This gets rid of the horrible hack in gbuild.mk to accomodate the case-incorrect iOS platform makefiles that cannot be renamed without upsetting git on file systems that sadly lack the case sensitivity feature. Keep the macro defined to IOS though. Change-Id: I1022bfef4900da00e75fc1ccce786b20f8673234 Reviewed-on: https://gerrit.libreoffice.org/62705 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-09-10Work around "find: The environment is too large for exec()" errors on WindowsStephan Bergmann
...similar to df9edbcd2883cec2d0596133131cfbc220dee91f 'Work around 'xargs: environment is too large for exec' errors on Windows" Change-Id: I50bc5c73b84e2d8e7adc70f72f9af2d23a0b3b36 Reviewed-on: https://gerrit.libreoffice.org/60241 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-09-05improve error message when building as rootNoel Grandin
Change-Id: I496e439e2f7e24c05f798f1a7ed0081ca0725f5c Reviewed-on: https://gerrit.libreoffice.org/60037 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins
2018-08-30Upgrade to vs2017-ide-integration, since we don't support VS2015 in masterMike Kaganski
This allows to avoid the "(Visual Studio 2015)" labels next to project names in Solution Explorer; and also avoid multiple warnilgs like project-name.vcxproj : warning : The build tools for Visual Studio 2015 (v140) cannot be found. Install Visual Studio 2015 (v140) to build using the Visual Studio 2015 (v140) build tools. in IDE's Output pane in case VS2015 is absent locally. Change-Id: I53b68ac810cbf2a31667c35dd549310e7209e010 Reviewed-on: https://gerrit.libreoffice.org/59797 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-08-16reenable the rest of the fuzzersCaolán McNamara
Change-Id: I84050caa6f606a4a41724620ac5fe716a2a56fb9
2018-08-16reenable another bunch of fuzzersCaolán McNamara
Change-Id: Ibee698f8dcc79e1599e9790fb6710f80e22821c3
2018-08-13restore a few fuzzersCaolán McNamara
Change-Id: I6ded1a204d9140eea6d79df3d40a1874a87bd3d0
2018-08-13Removed duplicated testAndrea Gelmini
Change-Id: I06954db80884532d04550609c83623fd5ec5c8bc Reviewed-on: https://gerrit.libreoffice.org/58598 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-07disable even more fuzzersCaolán McNamara
Change-Id: Ieba632453d7a5f9d1881c01aa81445db9a7158e8 Reviewed-on: https://gerrit.libreoffice.org/58674 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-05still not enough space on oss-fuzzCaolán McNamara
Change-Id: I159704ff44193943ecd354dd159db795d76ae2d8 Reviewed-on: https://gerrit.libreoffice.org/58628 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-04oss-fuzz out of spaceCaolán McNamara
Change-Id: Iaf671453d513689deb651261c5bba813305fb234 Reviewed-on: https://gerrit.libreoffice.org/58590 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-08Makefile: re-run configure when download.lst changesMichael Stahl
This can only break currently when the ODFVALIDATOR_JAR (or officeotron) changes, but then it does break and you get an outdated odfvalidator.sh. Change-Id: Idcdea3abe6516b71943f32c2bd412f79dc44d790 Reviewed-on: https://gerrit.libreoffice.org/53993 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-04-21gbuild: add target rules for all modulesSamuel Thibault
This allows to run e.g. make UIConfig to automatically run make UIConfig_<module> for all modules. Change-Id: Idc2c3a61fd38b486435366164031b4d51f68eebc Reviewed-on: https://gerrit.libreoffice.org/51274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-08Revert "Fix protection of some unnecessarily strictly protected files"Tor Lillqvist
Problem now handled already elsewhere, see 2340536cf478f95e33b718d3f69da5345fc4d2b4. This reverts commit 155086493c9e035c0568868f5ae3b3dcf3299e6f. Change-Id: I4c731d4915d51dfc84982a41f8c1c6e45dfcb796
2018-03-28Check for submodules in SRCDIRStephan Bergmann
Change-Id: I4835c9aec33d611d0bdcd8150704866e76b49e9e Reviewed-on: https://gerrit.libreoffice.org/51957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-11Allow use of "git worktree" in Makefile.injan Iversen
When using git worktree $(SRCDIR)/.git is a file and not a directory, therefore get-submodules: fails in "./g -z". Eliminating call to "./g -z" in worktree directories, but keeping it in the cloned directory. Change-Id: I88d8e3e06cac2a2710da21ae233364d8119fe5ef
2018-02-20Fix testStephan Bergmann
...broken with 60f1490af9b29ac2df8e9e9411e9d41b472f9113 "Buildsystem changes to recognize Haiku." Change-Id: If08a0ca2e4c4809b832c69d999ff075ad56829af
2018-02-19Fix specific targets for UIConfig submodulesSamuel Thibault
For instance, make UIConfig_uui allows to run the UIConfig target for the uui module. Submodules are called for instance modules/swriter, but make UIConfig_modules/swriter was not working only because the main Makefile didn't include the generic target. This adds the generic target, thus fixing the issue. Change-Id: I6825fa5bf0daa4d964bea651841e8fac318fe068 Reviewed-on: https://gerrit.libreoffice.org/49825 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-19Buildsystem changes to recognize Haiku.Kacper Kasper
Change-Id: I219d556f8e124cfe426cc1ac3c54da34eb7ef790 Reviewed-on: https://gerrit.libreoffice.org/49925 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-09add sft fuzzerCaolán McNamara
Change-Id: I0ee43e78b5366f2c23fb0bac9a103af987138411 Reviewed-on: https://gerrit.libreoffice.org/49372 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-31Fix protection of some unnecessarily strictly protected filesTor Lillqvist
Change-Id: I8bd18130c5fe87b2b352d285d58dd6a4f4499768
2018-01-14iOS updated "make clean"jan Iversen
make clean now knows how to clean the iOS special part Change-Id: If132172d95823754f0983241a8121d143fcc3007
2018-01-12Support `make SdiTarget_...`Stephan Bergmann
Change-Id: I23dc4511a6f9f962adc8436ceb1a5b24823fb8e5 Reviewed-on: https://gerrit.libreoffice.org/47788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-01-08Let flatpak-builder build .Debug extensionStephan Bergmann
Includes a revert of 58891d589bd8da700f135b098dd50833277c65dc "Add distro-pack- install-strip target to be used by dev-tools' flatpak/build.sh". Change-Id: Ie2ba18bc13471b46e8d5f41868bae5aee17ff25f Reviewed-on: https://gerrit.libreoffice.org/47599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-21add html fuzzerCaolán McNamara
This reverts commit 111db5b992ae5870e76313f76e633a4edcccf010. Change-Id: I1138592ab54865f4c2ac4599fab572c5666bf723 Reviewed-on: https://gerrit.libreoffice.org/46864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-20remove html fuzzerCaolán McNamara
still not ready after all This reverts commit 6fc7f85de7f0bfa8ee36f867e321a8816ad1e385.
2017-12-20add html fuzzerCaolán McNamara
Change-Id: I03a61421c477642548d9814610faeb570bd34c8d Reviewed-on: https://gerrit.libreoffice.org/45970 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-08add mathtype fuzzerCaolán McNamara
Change-Id: I14a1f496dfc94bf678112d67f63a2c0101013472 Reviewed-on: https://gerrit.libreoffice.org/45815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-06drop clew and opencl for fuzzingCaolán McNamara
Change-Id: I7b09fb91f3d0d77851a84a015fc3e2fedc0153c7