AUTOMAKE_OPTIONS = ansi2knr no-dependencies
SUBDIRS = posix
LN = ln
bin_PROGRAMS = grep egrep fgrep
base_sources = grep.c grep.h \
dfa.c dfa.h \
kwset.c kwset.h \
obstack.c obstack.h \
savedir.c savedir.h \
getopt.c getopt1.c getopt.h \
search.c getpagesize.h system.h
egrep_SOURCES = $(base_sources) egrepmat.c
fgrep_SOURCES = $(base_sources) fgrepmat.c
grep_SOURCES = $(base_sources) grepmat.c
LDADD = @ALLOCA@ @LIBOBJS@ @INTLLIBS@
datadir = $(prefix)/@DATADIRNAME@
localedir = $(datadir)/locale
INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
EXTRA_DIST = \
dosbuf.c \
vms_fab.c vms_fab.h \
regex.h