source: trunk/grep/src/Makefile.am@ 2783

Last change on this file since 2783 was 2557, checked in by bird, 20 years ago

grep 2.5.1a

File size: 704 bytes
Line 
1## Process this file with automake to create Makefile.in
2AUTOMAKE_OPTIONS = ansi2knr no-dependencies
3
4LN = ln
5
6bin_PROGRAMS = grep
7bin_SCRIPTS = egrep fgrep
8grep_SOURCES = grep.c dfa.c kwset.c search.c \
9 grepmat.c
10noinst_HEADERS = grep.h dfa.h kwset.h getpagesize.h system.h
11
12LDADD = @INTLLIBS@ ../lib/libgreputils.a
13datadir = $(prefix)/@DATADIRNAME@
14localedir = $(datadir)/locale
15INCLUDES = -I../intl -I$(top_srcdir)/lib -DLOCALEDIR=\"$(localedir)\"
16
17EXTRA_DIST = \
18 dosbuf.c \
19 vms_fab.c vms_fab.h
20
21egrep:
22 echo '#!/bin/sh' >$@
23 echo 'exec grep -E $${1+"$$@"}' >>$@
24 chmod a+x $@
25
26fgrep:
27 echo '#!/bin/sh' >$@
28 echo 'exec grep -F $${1+"$$@"}' >>$@
29 chmod a+x $@
30
Note: See TracBrowser for help on using the repository browser.