summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: f70fe309b1ae6cc2533db7b77faa1162d4195d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS = ansi2knr no-dependencies

LN = ln

# We let configure figure out whether we need
# regex.c, strtoul.c, strtoull.c, and strtoumax.c.
bin_PROGRAMS = grep
grep_SOURCES = grep.c grep.h \
               dfa.c dfa.h \
               kwset.c  kwset.h \
               search.c getpagesize.h system.h \
               grepmat.c egrepmat.c fgrepmat.c

LDADD = @INTLLIBS@ ../lib/libgreputils.a
datadir = $(prefix)/@DATADIRNAME@
localedir = $(datadir)/locale
INCLUDES = -I../intl -I$(top_srcdir)/lib -DLOCALEDIR=\"$(localedir)\"

EXTRA_DIST = \
             dosbuf.c \
             vms_fab.c vms_fab.h

install-exec-local:
	@LINK@ @LINKSRC@ $(bindir)/egrep
	@LINK@ @LINKSRC@ $(bindir)/fgrep