From f763b30f67bed382f9080bd4dda8769dfb1034cd Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 2 Mar 2020 15:22:57 -0800 Subject: Fix "make depend" for out-of-tree builds. Have mkdep take a -s argument, giving the source directory, and have it prepend that directory to all source files before running them through the compiler's make-dependencies operation. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 95b18243..c23d462a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -470,4 +470,4 @@ testlist: echo $(TEST_DIST) depend: $(GENSRC) - $(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" $(DEFS) $(INCLS) $(SRC) $(LIBNETDISSECT_SRC) + $(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" -s "$(srcdir)" $(DEFS) $(INCLS) $(SRC) $(LIBNETDISSECT_SRC) -- cgit v1.2.1