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