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