* test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix.
This commit is contained in:
parent
58b9b098a4
commit
863b333543
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue