AUTOMAKE_OPTIONS = gnits ../src/ansi2knr
noinst_LIBRARIES = libtar.a
EXTRA_DIST = \
alloca.c execlp.c fileblocks.c fnmatch.c ftruncate.c lchown.c \
malloc.c memset.c mkdir.c mktime.c realloc.c rename.c rmdir.c \
stpcpy.c strstr.c strtol.c strtoul.c strtoull.c strtoumax.c utime.c
noinst_HEADERS = \
argmatch.h backupfile.h basename.h error.h exclude.h \
fnmatch.h getopt.h getdate.h getpagesize.h \
lchown.h modechange.h pathmax.h quotearg.h safe-read.h xalloc.h xstrtol.h
libtar_a_SOURCES = \
addext.c argmatch.c backupfile.c basename.c error.c \
exclude.c full-write.c getdate.y getopt.c getopt1.c \
modechange.c msleep.c quotearg.c safe-read.c xgetcwd.c xmalloc.c xstrdup.c \
xstrtol.c xstrtoul.c xstrtoumax.c
INCLUDES = -I.. -I$(srcdir) -I../intl
libtar_a_LIBADD = @ALLOCA@ @LIBOBJS@
libtar_a_DEPENDENCIES = $(libtar_a_LIBADD)
getdate.c: getdate.y
$(YACC) $(YFLAGS) $<; \
mv -f y.tab.c $@