1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.12 2007/08/27 16:50:59 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
+= -DPACKAGE_STRING
=\"libarchive\
${VERSION}\"
15 CFLAGS
+= -DPACKAGE_VERSION
=\"${VERSION}\"
16 CFLAGS
+= -DVERSION
=\"${VERSION}\"
18 SYMLINKS
= ${BINDIR}/bsdtar
${BINDIR}/tar
19 MLINKS
= bsdtar
.1 tar.1
21 .
include <bsd.prog.mk
>