1995-04-29 09:37:13 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 1995/04/29 05:37:13 cgd Exp $
|
1993-08-02 21:38:43 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= tar
|
1993-09-21 03:40:28 +04:00
|
|
|
SRCS= buffer.c create.c diffarch.c extract.c fnmatch.c getdate.y \
|
1993-07-18 15:46:53 +04:00
|
|
|
getoldopt.c getopt.c getopt1.c gnu.c list.c mangle.c names.c port.c \
|
|
|
|
regex.c rtapelib.c tar.c update.c version.c
|
|
|
|
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
|
1995-04-29 09:37:13 +04:00
|
|
|
CFLAGS+= -DSTDC_HEADERS
|
1993-10-07 10:23:44 +03:00
|
|
|
|
1994-06-19 04:03:41 +04:00
|
|
|
LDSTATIC= -static
|
1993-10-07 10:23:44 +03:00
|
|
|
LDADD+= -lgnumalloc
|
|
|
|
DPADD+= /usr/lib/libgnumalloc.a
|
|
|
|
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN=tar.1
|
1993-07-18 15:46:53 +04:00
|
|
|
CLEANFILES+=y.tab.h
|
1993-04-09 13:46:14 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|