diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-03-02 15:22:57 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2020-03-02 15:23:13 -0800 |
commit | f763b30f67bed382f9080bd4dda8769dfb1034cd (patch) | |
tree | ee1f335817f112e968550ca54e0ad4efe6ea509e /Makefile.in | |
parent | 9736efeb962a7e9b4e2e4929b04a0e88a1f690a7 (diff) | |
download | tcpdump-f763b30f67bed382f9080bd4dda8769dfb1034cd.tar.gz |
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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) |