summaryrefslogtreecommitdiff
path: root/rpcapd/Makefile.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-03-02 16:21:09 -0800
committerGuy Harris <guy@alum.mit.edu>2020-03-02 16:21:27 -0800
commit3e9b08cc73e8fdf9386af2732f8e0bd465d010ce (patch)
treefb93b19e6267f63985f77cd9258fe81343b42c10 /rpcapd/Makefile.in
parent89207f5ee0021f07d72d9c3bf18a725e8e63777d (diff)
downloadlibpcap-3e9b08cc73e8fdf9386af2732f8e0bd465d010ce.tar.gz
Correctly look for mkdep in the top-level source directory.
The right way is to look in top_srcdir, rather than assuming it's in .. for makefiles in subdirectories; that assumption doesn't work for out-of-tree builds.
Diffstat (limited to 'rpcapd/Makefile.in')
-rw-r--r--rpcapd/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpcapd/Makefile.in b/rpcapd/Makefile.in
index 9497c06e..e46a2b68 100644
--- a/rpcapd/Makefile.in
+++ b/rpcapd/Makefile.in
@@ -38,6 +38,7 @@ mandir = @mandir@
# VPATH
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
VPATH = @srcdir@
#
@@ -138,4 +139,4 @@ tags: $(TAGFILES)
ctags -wtd $(TAGFILES)
depend:
- ../$(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" $(CFLAGS) $(DEFS) $(INCLS) $(SRC)
+ $(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" $(CFLAGS) $(DEFS) $(INCLS) $(SRC)