1993-06-18 04:22:21 +00:00
|
|
|
PROG= tar
|
|
|
|
SRCS= buffer.c create.c diffarch.c extract.c fnmatch.c getdate.y \
|
|
|
|
getoldopt.c getopt.c getopt1.c gnu.c list.c mangle.c names.c port.c \
|
1995-01-11 04:18:38 +00:00
|
|
|
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
|
|
|
|
CFLAGS+= -DHAVE_VPRINTF=1 -DNEEDPAD -I${.CURDIR}
|
|
|
|
CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20
|
1993-06-18 19:20:59 +00:00
|
|
|
CLEANFILES+=y.tab.h
|
1994-06-15 19:16:04 +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>
|
|
|
|
.include "../../usr.bin/Makefile.inc"
|