summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: explicitly set .DEFAULT_GOALTony Theodore2017-03-211-3/+1
| | | | first target read can be affected by definitions in included files
* github: add check-gh-conf targets to verify updates and downloadsTony Theodore2017-03-211-1/+8
|
* add MANLINKS to MXE_DISABLE_DOCSBoris Nagaev2017-03-201-0/+1
| | | | | | It is used in libotr (toolkit/Makefile.am) to define a list of symlinks to the main man page. Search for MANLINKS reveals that it is used in many other projects.
* Makefile: suppress messages in update-packageTony Theodore2017-03-191-0/+1
|
* github: use `if` instead of `and`Tony Theodore2017-03-191-1/+1
|
* Makefile: add check-update-package-% targetTony Theodore2017-03-181-0/+3
|
* add functions to standardise GitHub downloads and updatesTony Theodore2017-03-181-1/+13
|
* Merge pull request #1660 from tonytheodore/cmake-confBoris Nagaev2017-03-141-1/+2
|\ | | | | cmake: update and improve configuration with templates
| * cmake: improve configuration with templatesTony Theodore2017-03-121-1/+2
| | | | | | | | | | | | | | | | | | - move cmake configuration from mxe-conf to cmake-conf - replace `echo` with templates for readability and maintenance - allow packages to set other dep files - set CMAKE_POLICY_DEFAULT_CMPNNNN in wrapper since `cmake_minimum_required` or `cmake_policy` can't be set in toolchain (closes #971)
* | use http version of gitlab.com backupBoris Nagaev2017-03-121-1/+1
| | | | | | | | | | | | | | | | | | The rationale: https://github.com/LuaAndC/mxe/commit/bd2c77f4c29e9782ef20e105589e15cf0448d640#commitcomment-21229420 > If you absolutely want to disable secure transport I think it'd be a > better choice to use the http:// protocol instead, making the > insecurity unambiguously visible in logs/screen output. (Not sure if > GitLab supports it, but the first two does I think.)
* | no --no-check-certificate while updating packagesBoris Nagaev2017-03-121-5/+5
|/ | | | | | | | | | | | | | | | | | | | Regular downloads of packages are verified by checksums, so --no-check-certificate doesn't compromise the build system, but the checksums themselves are often updated with update-checksum-% which in turn calls the regular package download mechanism, so there is a possibility of downloading and sealing a poisoned file. On the one hand, old systems may still rely on --no-check-certificate, so it is not nice to completely disable it for regular downloads. However keeping this option enabled for backup servers only is enough to support such systems because of the fallback mechanism. On the other hand, download from a backup doesn't make sense while updating a package, because the package is definetely not in the backup yet. So --no-check-certificate is now enabled only for backup servers and backup servers are disabled while updating packages. See https://github.com/mxe/mxe/pull/1694#issuecomment-285324739
* add explicit protocol to backup urlsViktor Szakats2017-03-101-2/+2
|
* more URL updatesViktor Szakats2017-03-101-2/+2
|
* Makefile: add [POSIX | WIN32]_THREADS variableTony Theodore2017-02-071-0/+1
|
* allow non-default exception handling targetsTony Theodore2017-02-071-1/+19
|
* Merge branch 'LuaAndC-levmar-ua' of https://github.com/tonytheodore/mxe into uaTony Theodore2017-02-041-4/+4
|\
| * Makefile: simplify setting default user agentTony Theodore2017-01-211-4/+4
| |
| * allow to change User Agent; fix levmar downloadBoris Nagaev2016-10-171-5/+5
| | | | | | | | | | | | | | | | | | Parameter $(PKG)_UA overrides default user agent used by wget to download a package. It is needed, because download server www.ics.forth.gr from where levmar is downloaded, crashes on default user agent Wget/1.13.4. User agent for levmar was set to MXE. Now the server works. see https://github.com/mxe/mxe/issues/1519
| * print wget command to download logsBoris Nagaev2016-10-161-1/+1
| | | | | | | | This command is useful for downloading problems debugging.
* | Makefile: fix target validation checksTony Theodore2017-01-191-17/+23
| | | | | | | | fixes #1497
* | add new packages backup: gitlabBoris Nagaev2017-01-081-1/+3
| | | | | | | | See http://lists.nongnu.org/archive/html/mingw-cross-env-list/2017-01/msg00005.html
* | make core to be the first item of MXE_PLUGIN_DIRSBoris Nagaev2016-12-261-1/+1
| | | | | | | | see https://github.com/mxe/mxe/issues/1614
* | add descriptions and websites to packages.jsonBoris Nagaev2016-12-221-1/+3
| | | | | | | | See https://github.com/mxe/mxe/issues/1422
* | core packages are now a pluginBoris Nagaev2016-12-221-28/+16
| | | | | | | | See https://github.com/mxe/mxe/issues/1422
* | mv docs/versions.json docs/packages.jsonBoris Nagaev2016-12-221-2/+2
| | | | | | | | See https://github.com/mxe/mxe/issues/1422
* | fix detection of openssl in Debian SidBoris Nagaev2016-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | $ openssl --help Invalid command '--help'; type "help" for a list. $ echo $? 1 $ openssl help ... $ echo $? 0 fix https://github.com/mxe/mxe/issues/1593
* | cleanup-deps-style: omit pkgs with derived depsBoris Nagaev2016-12-051-1/+1
| | | | | | | | | | | | | | | | | | Do not touch lines like this: $(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\ ... (src/qt5.mk)
* | make cleanup-deps-style aware of pluginsBoris Nagaev2016-12-051-3/+3
| |
* | fix updating docs/versions.json with pluginsBoris Nagaev2016-12-051-1/+1
| | | | | | | | fix https://github.com/mxe/mxe/issues/1580
* | pkg download: do not append to previous attemptBoris Nagaev2016-12-051-7/+8
| | | | | | | | | | | | | | Slow HTTP server with lag for tests: https://gist.github.com/45472174f8bd97989c1eb9bc64d50468 Fix https://github.com/mxe/mxe/issues/1552
* | add MXE_PLUGIN_DIRS to autogenerated settings.mkBoris Nagaev2016-11-181-0/+4
| |
* | add new variables: BUILD_CROSS, BUILD_NATIVEBoris Nagaev2016-10-291-0/+1
| | | | | | | | They are useful for applying flags only to cross or only to native targets.
* | Add options to strip toolchain, executables, and libsTony Theodore2016-10-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minimal implementation to strip the [largest files][lf-gist] by default, mostly made up of gcc/binutils and test programs. gdal and geos both produce large libraries, but the libs themselves aren't worth stripping, it's the 20 odd programs produced by gdal with those libs statically linked that consume the most space. I'm leaving these undocumented as the defaults seems reasonable and the interface may well change when we enable debug/release variants. closes #985 closes #1249 [lf-gist]:https://github.com/mxe/mxe/issues/1249#issuecomment-193392038
* | Makefile: enable relative paths for SOURCE_TREETony Theodore2016-10-231-1/+1
|/
* move CNAME to docs/Boris Nagaev2016-08-271-1/+1
| | | | See https://github.com/mxe/mxe/issues/1500
* move index.html to docs/Boris Nagaev2016-08-271-11/+11
| | | | See https://github.com/mxe/mxe/issues/1500
* add missing thingsBoris Nagaev2016-08-271-0/+1
| | | | | | index.html: make docs/build-matrix.html a link mxe-activate: add versions.json add .PHONY for build-matrix.html
* mv versions.json build-matrix.html assets docs/Boris Nagaev2016-08-271-3/+3
| | | | See https://github.com/mxe/mxe/issues/1500
* rename doc/ to docs/Boris Nagaev2016-08-271-1/+1
| | | | See https://github.com/mxe/mxe/issues/1500
* Copyright headers: point to LICENSE.md and shortenBoris Nagaev2016-08-271-2/+1
| | | | | | | | | | | | | | | | | | | The following script was applied: sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE') sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \ $(git grep -l 'part of MXE.*See index.html') before='This file is part of MXE. See index.html for further information.' after='This file is part of MXE. See LICENSE.md for licensing information.' sed "s/$before/$after/" -i $(git grep -l 'part of MXE') Then git grep 'index.html for further information' revealed two other files. One of them was patched manually (patch.mk). Makefile has text "See index.html for further information" unrelated to licensing. See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
* fix MXE_GET_GITHUB_TAGSBoris Nagaev2016-08-241-1/+1
| | | | | | | | | | | | Error message: $ make update-package-pire ... bash: -c: line 0: syntax error near unexpected token `|' ... Overlooked in b52d3c0c9c24e7904908dc50f0c7c6f163556fab See https://github.com/mxe/mxe/pull/1439
* Makefile: enable local $(PKG)_SOURCE_TREETony Theodore2016-08-111-8/+20
| | | | | | | This is very handy for testing against a local repo, especially when upstream changes are happening quickly. See also #183
* remove trailing spaces from main logBoris Nagaev2016-08-021-4/+9
|
* Makefile: add BUILD_TYPE [debug | release] varaibles for pkg build rulesTony Theodore2016-07-161-0/+2
|
* refactor macro MXE_GET_GITHUB_ALL_TAGSBoris Nagaev2016-07-131-2/+6
| | | | It is needed to get full list of tags and apply grep or sed manually.
* Makefile: add `TEST_FILE` to variables for pkg build rulesTony Theodore2016-07-111-4/+7
|
* Makefile: add SOURCE_DIR and BUILD_DIR variablesTony Theodore2016-07-111-0/+4
| | | | | | | | * use `*.build_` until all packages are converted see #1159 This commit was amended by Boris Nagaev on Jul 11, 2016.
* Makefile: allow packages to specify a list of zero or more patchesTony Theodore2016-07-051-1/+5
|
* Merge pull request #1417 from tonytheodore/make-target-specificBoris Nagaev2016-07-041-0/+3
|\ | | | | Makefile: note use of target-specific variables
| * Makefile: note use of target-specific variablesTony Theodore2016-07-041-0/+3
| |