Restore {SYM,M}LINKS.
[dragonfly.git] / usr.bin / tar / Makefile
1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.6 2007/02/04 03:48:07 swildner Exp $
2
3 PROG=   bsdtar
4 SRCS=   bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
5 WARNS?= 6
6 DPADD=  ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
7 LDADD=  -larchive -lbz2 -lz
8 NOSHARED?=      yes
9
10 PATCHES!=       echo ${.CURDIR}/patches/*.patch
11 CONTRIBDIR=     ${.CURDIR}/../../contrib/libarchive-1.3.1/tar
12 .PATH: ${CONTRIBDIR}
13 SRCS+=  ${PATCHES}
14 NAME=           bsdtar
15 VERSION=        1.3.1
16 CFLAGS+=        -I${.OBJDIR} -I${.CURDIR}/../../lib/libarchive -I${CONTRIBDIR} -I-
17 CFLAGS+=        -DHAVE_CONFIG_H
18
19 SYMLINKS=       ${BINDIR}/bsdtar ${BINDIR}/tar
20 MLINKS= bsdtar.1 tar.1
21
22 .include <bsd.prog.mk>