"make depend" with .y files is trickier than it looks. <sigh>
This commit is contained in:
parent
3e41208d6e
commit
6f55523db7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user