Yugoslavia split up into Serbia and Montenegro some time ago.
[dragonfly.git] / usr.bin / tar / Makefile
blob48a29abd1b626309bac928eb60990edf6bda3b22
1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.12 2007/08/27 16:50:59 pavalos Exp $
3 PROG= bsdtar
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
7 NOSHARED?= yes
9 CONTRIBDIR= ${.CURDIR}/../../contrib/libarchive-2/tar
10 .PATH: ${CONTRIBDIR}
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>