diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-03-13 19:55:53 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-03-13 19:55:53 +0000 |
commit | 4949e1d1ad176f6d80bc4e6a0917693d91d55377 (patch) | |
tree | ec8a4a73f60e289427ef41539d03d1926a240c5b | |
parent | 5d0c5f694a363a0968ad25d9bc5d91294fa310fd (diff) | |
download | FreeBSD-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/Makefile | 5 |
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 |