summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* In early bootstrap, use byte-compiled compiler to native compile first filesAlan Mackenzie2022-01-201-0/+16
| | | | | | | | | | | | | | | | This speeds up a make bootstrap by around 15%. * lisp/Makefile.in (BYTE_COMPILE_FLAGS): set a value specific to compile-first which doesn't contain the setting of Emacs variable load-prefer-newer. Add a new make hunk which byte-compiles (rather then native compiles) when the environment variable ANCIENT is "yes". Set the date of the .elc files built to 1971-01-01 to cause a second compilation of them later. * src/Makefile.in: Add an extra invocation of directory lisp's MAKE with target compile-first and the flag environment variable ANCIENT set to yes. * src/verbose.mk.in: When ANCIENT is yes, output ELC, not ELC+ELN for AM_V_ELC.
* Prefer unexport in MakefilesGlenn Morris2022-01-121-3/+2
| | | | | | * admin/grammars/Makefile.in, leim/Makefile.in: * lisp/Makefile.in, test/Makefile.in: Use unexport for EMACSLOADPATH.
* Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | Put AM_V_GEN etc. firstPaul Eggert2021-12-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent changes to src/verbose.mk.in, it’s more important to be consistent about putting AM_V_GEN and similar macros at the start of a rule’s recipe, since ‘make’ now outputs the diagnostic before it executes the recipe rather than the shell outputting it. Most of the uses were already this way, but there were a few outliers. Problem reported by Pip Cet. * Makefile.in (${srcdir}/info/dir): * admin/unidata/Makefile.in (${unidir}/charprop.el, ${unifiles}) (${unidir}/emoji-labels.el): * lib/Makefile.in (libgnu.a, libegnu.a): * lisp/Makefile.in (TAGS): * src/Makefile.in (lisp.mk, Emacs): * test/Makefile.in (%.log, $(test_module)): Put AM_V_GEN and similar macros first.
* | ; * lisp/Makefile.in: Fix typo.Stefan Kangas2021-12-101-1/+1
| |
* | Ensure that MAIN_FIRST have finished compilation before doing the restLars Ingebrigtsen2021-12-031-3/+15
| | | | | | | | | | | | | | * lisp/Makefile.in (main-first): Ensure that we're done with the main bits before starting on the rest. (GREP_OPTIONS): Depend on main-first. (MAIN_FIRST): Compile cconv.el before c-by.el (bug#8764).
* | Add an ldefs-boot.el target to the MakefileLars Ingebrigtsen2021-12-011-0/+3
| | | | | | | | | | * lisp/Makefile.in (ldefs-boot.el): Add a target to regenerate the ldefs-boot.el file.
* | Revert "Preload paren.el"Andrea Corallo2021-11-301-13/+2
|/ | | | | | Reverting as the previous commit make this fix not anymore necessary. This reverts commit 340e527bed83ff0382446132c871088ad61d1745.
* Preload paren.elEli Zaretskii2021-10-021-2/+13
| | | | | | * lisp/Makefile.in (COMPILE_FIRST): Add the dependencies of comp.el, so that they are natively-compiled in advance. * lisp/loadup.el ("paren"): Preload paren.el. (Bug#50934)
* Make the build of source tarball produce *.eln filesEli Zaretskii2021-09-281-0/+8
| | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (batch-native-compile): Accept an optional argument; if non-nil, place the .eln file as appropriate for building a source tarball. * doc/lispref/compile.texi (Native-Compilation Functions): Document the new optional argument of 'batch-native-compile'. * lisp/Makefile.in (.PHONY, $(THEFILE)n) [HAVE_NATIVE_COMP]: New targets. * src/Makefile.in (%.eln) [HAVE_NATIVE_COMP]: New recipe. (all) [HAVE_NATIVE_COMP]: Add ../native-lisp to prerequisites. (elnlisp) [HAVE_NATIVE_COMP]: New list of *.eln files. (../native-lisp) [HAVE_NATIVE_COMP]: New recipe. * src/verbose.mk.in (AM_V_ELN): New macro.
* Rename batch-byte-native-compile-for-bootstrap (bug#48743)Andrea Corallo2021-06-011-2/+2
| | | | | | | | | | | | | | | | * lisp/Makefile.in : Rename `batch-byte-native-compile-for-bootstrap' -> `batch-byte+native-compile. * lisp/emacs-lisp/bytecomp.el (byte+native-compile) (byte-compile-file): Rename `batch-byte-native-compile-for-bootstrap' -> `batch-byte+native-compile + `byte-native-for-bootstrap' -> `byte+native-compile'. * lisp/emacs-lisp/comp.el (comp-spill-lap-function, comp-final) (batch-native-compile, batch-byte+native-compile): Likewise. * lisp/emacs-lisp/bytecomp.el (byte+native-compile) (byte-compile-file): Likewise. * test/src/comp-tests.el (comp-tests-bootstrap): Rename `byte-native-for-bootstrap' -> `byte+native-compile'.
* Base the "extraclean" Make rule on "maintainer-clean"Glenn Morris2021-05-091-7/+1
| | | | | | | | | | | | | | | | * Makefile.in (FIND_DELETE): New, set by configure. (extraclean_dirs): Remove. (extraclean): Make it just a small variation on maintainer-clean. * admin/charsets/Makefile.in (extraclean): * admin/grammars/Makefile.in (extraclean): * admin/unidata/Makefile.in (extraclean): * leim/Makefile.in (extraclean): * lib-src/Makefile.in (extraclean): * lisp/Makefile.in (extraclean): * lwlib/Makefile.in (extraclean): * nt/Makefile.in (extraclean): * src/Makefile.in (extraclean): Remove target. * lib/Makefile.in (extraclean): Merge into maintainer-clean.
* Make autoloads-force work in build directoryAndreas Schwab2021-05-091-1/+1
| | | | | * lisp/Makefile.in (autoloads-force): Remove $(lisp)/loaddefs.el, not loaddefs.el.
* Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-04-051-1/+3
|\
| * Fix 'extraclean' targetsEli Zaretskii2021-04-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * GNUmakefile: Add description of 'extraclean'. * Makefile.in (extraclean_dirs): Add lwlib. * lwlib/Makefile.in (clean mostlyclean extraclean): Add 'extraclean' target. * lisp/Makefile.in (extraclean): Remove ${loaddefs}, not just ${LOADDEFS}. Delete all backup and autosave files.
* | Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-03-121-24/+2
|\ \ | |/
| * Simplify silent-rules build machineryGlenn Morris2021-03-061-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/verbose.mk.in: New file. * configure.ac (AM_V, AM_DEFAULT_V): Remove output variables. (src/verbose.mk): New output file. * Makefile.in, admin/charsets/Makefile.in: * admin/grammars/Makefile.in, admin/unidata/Makefile.in: * doc/emacs/Makefile.in, doc/lispintro/Makefile.in: * doc/lispref/Makefile.in, doc/misc/Makefile.in, leim/Makefile.in: * lib-src/Makefile.in, lib/Makefile.in, lisp/Makefile.in: * lwlib/Makefile.in, nt/Makefile.in, oldXMenu/Makefile.in: * src/Makefile.in, src/verbose.mk.in, test/Makefile.in: Include src/verbose.mk rather than repeatedly defining AM_V_at etc.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2021-01-021-1/+1
|\ \ | |/
| * Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | * Do not compile `comp-cstr.el` in vanilla buildsAndrea Corallo2020-12-041-1/+1
| | | | | | | | | | * lisp/Makefile.in (compile-targets): Filter out 'comp-cstr.elc' in vanilla builds.
* | Add comp-cstr.el and comp-cstr-tests.elAndrea Corallo2020-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the constraint logic of the compiler is not trivial and largely independent from the rest of the code move it into comp-cstr.el to ease separation and maintainability. This commit improve the conversion type specifier -> constraint for generality. Lastly this should help with bootstrap time as comp.el compilation unit is slimmed down. * lisp/emacs-lisp/comp-cstr.el: New file. (comp--typeof-types, comp--all-builtin-types): Move from comp.el. (comp-cstr, comp-cstr-f): Same + rename. (comp-cstr-ctxt): New struct. (comp-supertypes, comp-common-supertype-2) (comp-common-supertype, comp-subtype-p, comp-union-typesets) (comp-range-1+, comp-range-1-, comp-range-<, comp-range-union) (comp-range-intersection): Move from comp.el. (comp-cstr-union-no-range, comp-cstr-union): Move from comp.el and rename. (comp-cstr-union-make): New function. (comp-type-spec-to-cstr, comp-cstr-to-type-spec): Move from comp.el, rename it and rework it. * lisp/emacs-lisp/comp.el (comp-known-func-cstr-h): Rework. (comp-ctxt): Remove two fields and include `comp-cstr-ctxt'. (comp-mvar, comp-fwprop-call): Update for `comp-cstr' being renamed. (comp-fwprop-insn): Use `comp-cstr-union-no-range' or `comp-cstr-union'. (comp-ret-type-spec): Use `comp-cstr-union' and rework. * test/lisp/emacs-lisp/comp-cstr-tests.el: New file. (comp-cstr-test-ts, comp-cstr-typespec-test): New functions. (comp-cstr-typespec-tests-alist): New defconst to generate tests on. (comp-cstr-generate-tests): New macro. * test/src/comp-tests.el (comp-tests-type-spec-tests): Update. (ret-type-spec): Initialize constraint context.
* | * Fix ELC+ELN vs ELC prefix while building non AoT native compiled filesAndrea Corallo2020-10-251-0/+4
| | | | | | | | | | * lisp/Makefile.in (am__v_ELC_0): Set it correctly when NATIVE_DISABLED is 1.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-10-231-0/+6
|\ \ | |/
| * Merge from origin/emacs-27Glenn Morris2020-10-171-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65078e0a76 * lisp/info.el (Info-hide-note-references): Doc fix. (Bug... 30305b543d Make lisp/progmodes/js.el dependent on CC Mode in the Make... c37b2a9b42 Yet another fix for 'set-minibuffer-message' 72dd911981 Fix posn-at-x-y in builds --without-x ace25f2066 Clarify the seq-reduce documentation 7d598e281d Make tramp-completion-reread-directory-timeout obsolete (B... 2c31ce18ea Fix 'message' when there's active minibuffer on another frame # Conflicts: # doc/misc/tramp.texi # etc/NEWS
| | * Make lisp/progmodes/js.el dependent on CC Mode in the Makefile.Alan Mackenzie2020-10-161-0/+6
| | | | | | | | | | | | | | | | | | | | | This will prevent version mismatches between compile time and runtime versions. This fixes bug #43037. * lisp/Makefile.in: Make js.el dependent on cc-{defs,engine,mode}.elc.
* | | By default when building native compile only what's part of the dump imageAndrea Corallo2020-09-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To Ahead of Time compile the whole Emacs distro define NATIVE_FULL_AOT when invoking make ex: 'make NATIVE_FULL_AOT=1'. * lisp/Makefile.in (NATIVE_SKIP_NONDUMP): New variable. (compile-main): Use it + rename NATIVE_DISABLE -> NATIVE_DISABLED. * lisp/emacs-lisp/comp.el (batch-byte-native-compile-for-bootstrap): Rename NATIVE_DISABLE -> NATIVE_DISABLED.
* | | Some Makefile updates and clean-upAndrea Corallo2020-08-171-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (clean): Remove 'eln-cache' folder. * lisp/Makefile.in (.SUFFIXES): Remove .eln. (native-compile-clean): Target remove. (compile-always, bootstrap-clean): Remove 'native-compile-clean' prerequisite. * src/Makefile.in (%.eln): Remove rule.
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-08-091-1/+0
|\ \ \ | |/ /
| * | Make the loaddefs scraping compilation output look more regularLars Ingebrigtsen2020-08-061-1/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/Makefile.in ($(lisp)/loaddefs.el): Don't output the directories here. * lisp/emacs-lisp/autoload.el (batch-update-autoloads--summary): New function. (batch-update-autoloads): Use it to output the directories we're scraping. This changes the compilation output from: Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc (but all on one long line) To: SCRAPE . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic SCRAPE ./cedet/semantic/analyze ./cedet/semantic/bovine SCRAPE ./cedet/semantic/decorate ./cedet/semantic/symref SCRAPE ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation SCRAPE ./erc ./eshell ./gnus ./image ./international ./language ./leim SCRAPE ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play SCRAPE ./progmodes ./textmodes ./url ./vc Compilation output with very long lines can be mistaken for errors when they scroll by fast in the compilation output. Making it look more like normal informational output avoids this confusion.
* | Have a fast build option triggered by env var NATIVE_FAST_BOOTAndrea Corallo2020-03-221-3/+5
| |
* | Fix make bootstrap for native compilationAndrea Corallo2020-03-141-7/+10
| | | | | | | | | | | | | | | | | | | | Add Makefile target native-compile-clean removing all eln output folders. This is also triggered by make bootstrap to perform a clean bootstrap. Also revert some modification of the build system against master not effective anymore with the new directory layout.
* | Better compile-clean and bootstrap-clean target definitionAndrea Corallo2020-01-021-1/+3
| |
* | make standard emacs compilable againAndrea Corallo2020-01-011-0/+6
| |
* | make build system configurable againAndrea Corallo2020-01-011-18/+22
| |
* | rework build system for one passAndrea Corallo2020-01-011-29/+13
| |
* | add native support to the build systemAndrea Corallo2020-01-011-3/+38
|/
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo"Stefan Monnier2019-06-261-4/+3
| | | | This reverts commit 698ff554ac2699ec48fefc85a1307cbc4a183b0d.
* * lisp/calc/calc-ext.el (math-scalarp): Fix typoStefan Monnier2019-06-261-3/+4
|
* Make extraclean return tree to pristine state by deleting moreLars Ingebrigtsen2019-06-201-2/+6
| | | | | | | | | | | | | | | | | * src/Makefile.in (extraclean): Remove TAGS and config.in. * Makefile.in (extraclean): Remove info, configure and emacsver.texi in extraclean. * admin/unidata/Makefile.in (extraclean): Make it depend on distclean to remove .elc files. * leim/Makefile.in (extraclean): Depend on bootstrap-clean to remove generated .el files. * lib/Makefile.in (extraclean): Added target to remove sys directory and run distclean. * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
* Remove etc/GNUS-NEWS (bug#34662)Glenn Morris2019-03-051-7/+2
| | | | | | | | | | | It is not relevant since Gnus stopped being distributed separately. * etc/GNUS-NEWS: Remove this generated file. * etc/NEWS.26: Relocate an entry mistakenly added to GNUS-NEWS. * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): No longer mention GNUS-NEWS. * doc/misc/gnus-news.el: Remove. * doc/misc/gnus-news.texi: Update a comment. * lisp/Makefile.in (update-gnus-news): Remove this phony target.
* * lisp/Makefile.in (leim): Fix void-function pinyin-convertStefan Monnier2019-03-011-1/+3
|
* Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | * lisp/Makefile.in (compile-main): Use a more selective regexp.Stefan Monnier2018-12-101-7/+9
| |
* | Fix typo caught by zshPaul Eggert2018-08-121-1/+1
| | | | | | | | * lisp/Makefile.in (compile-clean): Fix typo; missing ";" (Bug#32423).
* | Merge from origin/emacs-26Glenn Morris2018-06-181-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | 5bdc344 ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) b6b793b ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). 1aa906f Make 'tags' targets respect --with-silent-rules (Bug#31744) Conflicts: test/Makefile.in test/README
| * Make 'tags' targets respect --with-silent-rules (Bug#31744)Noam Postavsky2018-06-121-3/+3
| | | | | | | | | | | | | | * lwlib/Makefile.in (TAGS): * lisp/Makefile.in (TAGS): * src/Makefile.in (TAGS): Use AM_V_GEN and AM_V_at. * src/Makefile.in: Note that TAGS are generated in build dir.
* | Suppress warnings about obsolete generics (bug#25556)Glenn Morris2018-03-161-1/+5
|/ | | | | * lisp/Makefile.in (MAIN_FIRST): New variable. (compile-main): Put some files at the head of the queue.