From: Glenn Morris Date: Tue, 13 Jun 2017 19:41:56 +0000 (-0400) Subject: * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix. X-Git-Tag: emacs-26.0.90~521^2~84 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=863b3335436be246fd00ad2aa264d474afc1c48c;p=emacs.git * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix. --- diff --git a/test/Makefile.in b/test/Makefile.in index 4998338b920..5d8ec65529a 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -202,10 +202,9 @@ endif MODULE_CFLAGS = -I$(srcdir)/../src $(FPIC_CFLAGS) $(PROFILING_CFLAGS) \ $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAGS) -test_module_name := mod-test@MODULES_SUFFIX@ -test_module := $(test_module_dir)/$(test_module_name) -$(srcdir)/src/emacs-module-tests.log: $(test_module) -$(test_module): $(test_module_dir)/mod-test.c $(srcdir)/../src/emacs-module.h +test_module = $(test_module_dir)/mod-test${SO} +src/emacs-module-tests.log: $(test_module) +$(test_module): $(test_module:${SO}=.c) $(srcdir)/../src/emacs-module.h $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \ -o $@ $< endif