summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2021-10-03 19:36:53 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2021-10-03 19:46:13 +0200
commit5deeb0947d3663b78c2fb975d1252b85e12fce86 (patch)
treeb2aef36e2211636d1eca9bb5029ca71c22ae375a /src/Makefile.in
parent121a5abeaee85e7955786d838f07103ce074a63b (diff)
downloademacs-5deeb0947d3663b78c2fb975d1252b85e12fce86.tar.gz
* src/Makefile.in: Simplify conditionals.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 46faeb60098..c4e57ca63be 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -450,14 +450,9 @@ FIRSTFILE_OBJ=@FIRSTFILE_OBJ@
ALLOBJS = $(FIRSTFILE_OBJ) $(VMLIMIT_OBJ) $(obj) $(otherobj)
# Must be first, before dep inclusion!
-ifeq ($(HAVE_NATIVE_COMP),yes)
-ifeq ($(NATIVE_DISABLED),)
-all: emacs$(EXEEXT) $(pdmp) $(OTHER_FILES) ../native-lisp
-else
-all: emacs$(EXEEXT) $(pdmp) $(OTHER_FILES)
-endif
-else
all: emacs$(EXEEXT) $(pdmp) $(OTHER_FILES)
+ifeq ($(HAVE_NATIVE_COMP):$(NATIVE_DISABLED),yes:)
+all: ../native-lisp
endif
.PHONY: all
@@ -785,8 +780,7 @@ tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS
@$(MAKE) $(AM_V_NO_PD) -C ../lisp EMACS="$(bootstrap_exe)"\
THEFILE=$< $<c
-ifeq ($(HAVE_NATIVE_COMP),yes)
-ifeq ($(NATIVE_DISABLED),)
+ifeq ($(HAVE_NATIVE_COMP):$(NATIVE_DISABLED),yes:)
## The following rules are used only when building a source tarball
## for the first time, when the native-lisp/ directory doesn't yet
## exist and needs to be created and populated with the preloaded
@@ -815,7 +809,6 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln)
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR)
cp -f $@ $(bootstrap_pdmp)
endif
-endif
## VCSWITNESS points to the file that holds info about the current checkout.
## We use it as a heuristic to decide when to rebuild loaddefs.el.