1## Makefile for libgrep directory in GNU gettext package. 2## Copyright (C) 2005-2007 Free Software Foundation, Inc. 3## 4## This program is free software: you can redistribute it and/or modify 5## it under the terms of the GNU General Public License as published by 6## the Free Software Foundation; either version 3 of the License, or 7## (at your option) any later version. 8## 9## This program is distributed in the hope that it will be useful, 10## but WITHOUT ANY WARRANTY; without even the implied warranty of 11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12## GNU General Public License for more details. 13## 14## You should have received a copy of the GNU General Public License 15## along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17## Process this file with automake to produce Makefile.in. 18 19AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies 20EXTRA_DIST = 21 22 23noinst_LIBRARIES = libgrep.a 24 25# Sources that are compiled on all platforms. 26 27libgrep_a_SOURCES = \ 28 libgrep.h \ 29 kwset.h kwset.c \ 30 dfa.h dfa.c \ 31 m-common.h m-common.c m-fgrep.c m-regex.c \ 32 hard-locale.h hard-locale.c 33 34# Sources that are compiled only on platforms that lack the functions. 35 36LIBADD_SOURCE = \ 37 memchr.c \ 38 regex.h regex.c \ 39 strdup.c 40 41# How to build libgrep.a. 42libgrep_a_LIBADD = @LIBGREPOBJS@ 43libgrep_a_DEPENDENCIES = @LIBGREPOBJS@ 44 45# List of files to be distributed. 46 47EXTRA_DIST += $(LIBADD_SOURCE) 48 49AM_CPPFLAGS = -I.. -I../gnulib-lib -I$(top_srcdir)/gnulib-lib -I../intl 50