VirtualBox

source: kBuild/vendor/grep/2.12/src/Makefile.am@ 2595

Last change on this file since 2595 was 2595, checked in by bird, 12 years ago

gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)

File size: 1.7 KB
Line 
1## Process this file with automake to create Makefile.in
2# Copyright 1997-1998, 2005-2012 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, or (at your option)
7# 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
17LN = ln
18
19AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
20
21# Tell the linker to omit references to unused shared libraries.
22AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
23
24bin_PROGRAMS = grep egrep fgrep
25grep_SOURCES = grep.c
26egrep_SOURCES = egrep.c
27fgrep_SOURCES = fgrep.c
28noinst_HEADERS = grep.h dfa.h kwset.h search.h system.h mbsupport.h
29
30noinst_LIBRARIES = libgrep.a
31libgrep_a_SOURCES = kwset.c dfa.c searchutils.c dfasearch.c kwsearch.c \
32 pcresearch.c main.c
33
34# Sometimes, the expansion of $(LIBINTL) includes -lc which may
35# include modules defining variables like `optind', so libgreputils.a
36# must precede $(LIBINTL) in order to ensure we use GNU getopt.
37# But libgreputils.a must also follow $(LIBINTL), since libintl uses
38# replacement functions defined in libgreputils.a.
39LDADD = \
40 libgrep.a \
41 ../lib/libgreputils.a $(LIBINTL) ../lib/libgreputils.a $(LIBICONV)
42
43grep_LDADD = $(LDADD) $(LIB_PCRE)
44localedir = $(datadir)/locale
45AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
46
47EXTRA_DIST = dosbuf.c
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette