summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-03-18 13:44:28 +0100
committerPaolo Bonzini <bonzini@gnu.org>2010-03-22 09:56:16 +0100
commitd50cec2ac8902cc73cef9288671b4f317a68bdf6 (patch)
treeccf707f988ec7c48a06e74b9068a10297495890f /src/Makefile.am
parent9131ab90daad68365418cfb25e6deb2fb84bfae4 (diff)
downloadgrep-d50cec2ac8902cc73cef9288671b4f317a68bdf6.tar.gz
grep: libify *search.c
* src/Makefile.am (libsearch_a_SOURCES): Add dfasearch.c, kwsearch.c, pcresearch.c. * src/esearch.c, src/fsearch.c, * src/gsearch.c: Only include search.h. * src/dfasearch.c (GEAcompile, EGexecute): Export. * src/kwsearch.c (Fcompile, Fexecute): Export. * src/pcresearch.c (Pcompile, Pexecute): Export. * src/search.h: Add new exported functions.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7ebc126d..65715290 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,8 @@ fgrep_SOURCES = fgrep.c fsearch.c
noinst_HEADERS = grep.h dfa.h kwset.h search.h system.h mbsupport.h
noinst_LIBRARIES = libsearch.a
-libsearch_a_SOURCES = kwset.c dfa.c searchutils.c
+libsearch_a_SOURCES = kwset.c dfa.c searchutils.c dfasearch.c kwsearch.c \
+ pcresearch.c
LDADD = $(LIBINTL) libsearch.a ../lib/libgreputils.a
grep_LDADD = $(LDADD) $(PCRE_LIBS)
@@ -34,5 +35,4 @@ INCLUDES = -I$(top_srcdir)/lib -DLOCALEDIR=\"$(localedir)\"
EXTRA_DIST = \
dosbuf.c \
- pcresearch.c dfasearch.c kwsearch.c \
vms_fab.c vms_fab.h