diff options
author | pst <pst@FreeBSD.org> | 1996-08-21 16:50:15 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-08-21 16:50:15 +0000 |
commit | ddd2ef851a5c0f3da17558aa8d00b616b26f6265 (patch) | |
tree | ab79a7cfcc46a1aac9adcfdce9e125438794d0eb /usr.sbin/tcpdump | |
parent | 8f267c926d74ba97422489c097ed55a50448e4d6 (diff) | |
download | FreeBSD-src-ddd2ef851a5c0f3da17558aa8d00b616b26f6265.zip FreeBSD-src-ddd2ef851a5c0f3da17558aa8d00b616b26f6265.tar.gz |
Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index c522f25..6eab404 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.12 1996/08/19 21:55:56 pst Exp $ +# $Id: Makefile,v 1.13 1996/08/20 05:44:01 pst Exp $ PROG= tcpdump CFLAGS+=-DHAVE_FCNTL_H=1 -DHAVE_NET_SLIP_H=1 -DTIME_WITH_SYS_TIME=1 \ @@ -20,12 +20,12 @@ CLEANFILES+= version.c DPADD+= ${LIBL} ${LIBPCAP} LDADD+= -ll -lpcap -DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump -CFLAGS+= -I${DISTDIR}/lbl -.PATH: ${DISTDIR} +TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump +CFLAGS+= -I${TCPDUMP_DISTDIR}/lbl +.PATH: ${TCPDUMP_DISTDIR} -version.c: ${DISTDIR}/VERSION +version.c: ${TCPDUMP_DISTDIR}/VERSION rm -f version.c ; \ - sed 's/.*/char version[] = "&";/' ${DISTDIR}/VERSION > version.c + sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION > version.c .include <bsd.prog.mk> |