diff options
Diffstat (limited to 'gnu/usr.bin/tar/Makefile')
-rw-r--r-- | gnu/usr.bin/tar/Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gnu/usr.bin/tar/Makefile b/gnu/usr.bin/tar/Makefile index c839cd4..6afb9cc 100644 --- a/gnu/usr.bin/tar/Makefile +++ b/gnu/usr.bin/tar/Makefile @@ -1,5 +1,23 @@ # $FreeBSD$ -SUBDIR= lib tar doc +TARDIR= ${.CURDIR}/../../../contrib/tar +.PATH: ${TARDIR}/lib ${TARDIR}/src -.include <bsd.subdir.mk> +PROG= tar + +SUBDIR+= doc + +# libtar SRCS +SRCS= addext.c argmatch.c backupfile.c basename.c dirname.c error.c \ + exclude.c full-write.c getdate.c getline.c getopt.c getopt1.c \ + getstr.c hash.c human.c mktime.c modechange.c prepargs.c \ + print-copyr.c quotearg.c safe-read.c save-cwd.c savedir.c unicodeio.c \ + xgetcwd.c xmalloc.c xstrdup.c xstrtoul.c xstrtoumax.c +SRCS+= buffer.c compare.c create.c delete.c extract.c incremen.c list.c \ + mangle.c misc.c names.c rtapelib.c tar.c update.c + +CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${TARDIR}/lib -I${TARDIR}/src + +NOSHARED?= YES + +.include <bsd.prog.mk> |