diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index 6d1faf3f8dd5..d27617988048 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -11,7 +11,7 @@ SRCS= version.c addrtoname.c bpf_dump.c bpf_filter.c bpf_image.c etherent.c \ print-rip.c print-sl.c print-snmp.c print-sunrpc.c print-tcp.c \ print-tftp.c print-udp.c savefile.c tcpdump.c tcpgram.c \ tcplex.c util.c -.PATH: ${.CURDIR}/../../sys/net +.PATH: ${.CURDIR}/../../../sys/net CLEANFILES+= tcpgram.c tcplex.c y.tab.h y.tab.c version.c version.h DPADD+= ${LIBL} LDADD+= -ll diff --git a/usr.sbin/tcpdump/tcpslice/Makefile b/usr.sbin/tcpdump/tcpslice/Makefile index 46dee7fa3313..48e00534af63 100644 --- a/usr.sbin/tcpdump/tcpslice/Makefile +++ b/usr.sbin/tcpdump/tcpslice/Makefile @@ -5,7 +5,7 @@ CFLAGS+=-DCSLIP -I. -I$(.CURDIR)/../tcpdump MAN1= tcpslice.1 SRCS= version.c tcpslice.c gwtm2secs.c search.c \ savefile.c bpf_filter.c md.c util.c -.PATH: ${.CURDIR}/../tcpdump ${.CURDIR}/../../sys/net +.PATH: ${.CURDIR}/../tcpdump ${.CURDIR}/../../../sys/net CLEANFILES+= version.c version.h version.c version.h: $(.CURDIR)/../tcpdump/VERSION