summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-03-13 19:55:53 +0000
committerkientzle <kientzle@FreeBSD.org>2005-03-13 19:55:53 +0000
commit4949e1d1ad176f6d80bc4e6a0917693d91d55377 (patch)
treeec8a4a73f60e289427ef41539d03d1926a240c5b
parent5d0c5f694a363a0968ad25d9bc5d91294fa310fd (diff)
downloadFreeBSD-src-4949e1d1ad176f6d80bc4e6a0917693d91d55377.zip
FreeBSD-src-4949e1d1ad176f6d80bc4e6a0917693d91d55377.tar.gz
"make depend" with .y files is trickier than it looks. <sigh>
-rw-r--r--usr.bin/tar/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index 78d77cc..9611497 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -7,13 +7,12 @@
PROG= bsdtar
VERSION= 1.01.022
-# bsd.prog.mk rewrites SRCS, but I need the unedited list below
-SRCS_ORIGINAL= bsdtar.c getdate.y matching.c read.c util.c write.c
-SRCS= ${SRCS_ORIGINAL}
+SRCS= bsdtar.c getdate.y matching.c read.c util.c write.c
WARNS?= 6
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
+CFLAGS+= -I${.CURDIR}
.if !defined(WITH_GTAR)
SYMLINKS= bsdtar ${BINDIR}/tar
OpenPOWER on IntegriCloud