"make depend" with .y files is trickier than it looks. <sigh>

This commit is contained in:
Tim Kientzle 2005-03-13 19:55:53 +00:00
parent 3e41208d6e
commit 6f55523db7

View File

@ -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