2000-12-24 10:52:23 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
1993-06-18 04:22:21 +00:00
|
|
|
PROG= tar
|
1996-10-23 16:53:26 +00:00
|
|
|
SRCS= buffer.c create.c diffarch.c extract.c getdate.y \
|
1993-06-18 04:22:21 +00:00
|
|
|
getoldopt.c getopt.c getopt1.c gnu.c list.c mangle.c names.c port.c \
|
2000-12-24 10:52:23 +00:00
|
|
|
prepend_args.c rtapelib.c tar.c update.c version.c
|
1993-06-18 04:22:21 +00:00
|
|
|
CFLAGS+= -DRETSIGTYPE=void -DDIRENT=1 -DHAVE_SYS_MTIO_H=1 -DHAVE_UNISTD_H=1
|
|
|
|
CFLAGS+= -DHAVE_GETGRGID=1 -DHAVE_GETPWUID=1 -DHAVE_STRING_H=1
|
|
|
|
CFLAGS+= -DHAVE_LIMITS_H=1 -DHAVE_STRSTR=1 -DHAVE_VALLOC=1 -DHAVE_MKDIR=1
|
|
|
|
CFLAGS+= -DHAVE_MKNOD=1 -DHAVE_RENAME=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1
|
2001-02-18 17:30:29 +00:00
|
|
|
CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -DSTDC_HEADERS=1 -I${.CURDIR}
|
2001-01-01 19:50:48 +00:00
|
|
|
CFLAGS+= -DDEF_AR_FILE=\"/dev/sa0\" -DDEFBLOCKING=20
|
1998-05-04 18:13:54 +00:00
|
|
|
YFLAGS=
|
1997-06-29 06:03:42 +00:00
|
|
|
NOSHARED?=yes
|
1993-06-18 04:22:21 +00:00
|
|
|
|
1995-01-11 04:18:38 +00:00
|
|
|
DPADD+= ${LIBGNUREGEX}
|
|
|
|
LDADD+= -lgnuregex
|
|
|
|
|
1993-06-18 04:22:21 +00:00
|
|
|
.include <bsd.prog.mk>
|