1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.13 2007/09/24 02:43:45 pavalos Exp $
4 SRCS
= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
5 DPADD
= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
6 LDADD
= -larchive
-lbz2
-lz
9 CONTRIBDIR
= ${.CURDIR
}/..
/..
/contrib
/libarchive-2
/tar
11 VERSION
!= cat
${CONTRIBDIR}/..
/version
12 CFLAGS
+= -I
${.OBJDIR
} -I
${.CURDIR
}/..
/..
/lib
/libarchive
-I
${CONTRIBDIR} -I-
13 CFLAGS
+= -DPLATFORM_CONFIG_H
=\"config.h
\"
14 CFLAGS
+= -DBSDTAR_VERSION_STRING
=\"${VERSION}\"
16 SYMLINKS
= ${BINDIR}/bsdtar
${BINDIR}/tar
17 MLINKS
= bsdtar
.1 tar.1
19 .
include <bsd.prog.mk
>