From: Daniel Colascione Date: Tue, 20 Feb 2018 01:41:42 +0000 (-0800) Subject: Fix out-of-tree build X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99a821a4de577274c67ef2559942d09fd85a3e9d;p=emacs.git Fix out-of-tree build --- diff --git a/src/Makefile.in b/src/Makefile.in index e2950a02eb8..1e9e97ab170 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -411,11 +411,13 @@ base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ $(W32_OBJ) $(WINDOW_SYSTEM_OBJ) $(XGSELOBJ) $(JSON_OBJ) obj = $(base_obj) $(NS_OBJC_OBJ) -dmpstruct_headers=lisp.h buffer.h intervals.h charset.h +dmpstruct_headers=$(srcdir)/lisp.h $(srcdir)/buffer.h \ + $(srcdir)/intervals.h $(srcdir)/charset.h pdumper.o: dmpstruct.h -dmpstruct.h: dmpstruct.awk +dmpstruct.h: $(srcdir)/dmpstruct.awk dmpstruct.h: $(libsrc)/make-fingerprint$(EXEEXT) $(dmpstruct_headers) - POSIXLY_CORRECT=1 awk -f dmpstruct.awk $(dmpstruct_headers) > $@ + POSIXLY_CORRECT=1 awk -f $(srcdir)/dmpstruct.awk \ + $(dmpstruct_headers) > $@ ## Object files used on some machine or other. ## These go in the DOC file on all machines in case they are needed.