Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / grep / src / Makefile.in
blob357f1c7b5c84df345a37e79f655efccb9f7b08c8
1 # Makefile.in generated automatically by automake 1.5 from Makefile.am.
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
14 @SET_MAKE@
16 SHELL = @SHELL@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 sysconfdir = @sysconfdir@
28 sharedstatedir = @sharedstatedir@
29 localstatedir = @localstatedir@
30 libdir = @libdir@
31 infodir = @infodir@
32 mandir = @mandir@
33 includedir = @includedir@
34 oldincludedir = /usr/include
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38 top_builddir = ..
40 ACLOCAL = @ACLOCAL@
41 AUTOCONF = @AUTOCONF@
42 AUTOMAKE = @AUTOMAKE@
43 AUTOHEADER = @AUTOHEADER@
45 INSTALL = @INSTALL@
46 INSTALL_PROGRAM = @INSTALL_PROGRAM@
47 INSTALL_DATA = @INSTALL_DATA@
48 INSTALL_SCRIPT = @INSTALL_SCRIPT@
49 INSTALL_HEADER = $(INSTALL_DATA)
50 transform = @program_transform_name@
51 NORMAL_INSTALL = :
52 PRE_INSTALL = :
53 POST_INSTALL = :
54 NORMAL_UNINSTALL = :
55 PRE_UNINSTALL = :
56 POST_UNINSTALL = :
57 host_alias = @host_alias@
58 host_triplet = @host@
59 AMTAR = @AMTAR@
60 AWK = @AWK@
61 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
62 CATALOGS = @CATALOGS@
63 CATOBJEXT = @CATOBJEXT@
64 CC = @CC@
65 CPP = @CPP@
66 DATADIRNAME = @DATADIRNAME@
67 DEPDIR = @DEPDIR@
68 EXEEXT = @EXEEXT@
69 GENCAT = @GENCAT@
70 GETCONF = @GETCONF@
71 GLIBC21 = @GLIBC21@
72 GMOFILES = @GMOFILES@
73 GMSGFMT = @GMSGFMT@
74 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
75 INSTOBJEXT = @INSTOBJEXT@
76 INTLBISON = @INTLBISON@
77 INTLLIBS = @INTLLIBS@
78 INTLOBJS = @INTLOBJS@
79 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
80 LIBICONV = @LIBICONV@
81 MKINSTALLDIRS = @MKINSTALLDIRS@
82 MSGFMT = @MSGFMT@
83 OBJEXT = @OBJEXT@
84 PACKAGE = @PACKAGE@
85 POFILES = @POFILES@
86 POSUB = @POSUB@
87 RANLIB = @RANLIB@
88 SEP = @SEP@
89 U = @U@
90 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
91 USE_NLS = @USE_NLS@
92 VERSION = @VERSION@
93 am__include = @am__include@
94 am__quote = @am__quote@
95 install_sh = @install_sh@
96 datadir = $(prefix)/@DATADIRNAME@
98 AUTOMAKE_OPTIONS = ansi2knr no-dependencies
100 LN = ln
102 bin_PROGRAMS = grep
103 bin_SCRIPTS = egrep fgrep
104 grep_SOURCES = grep.c dfa.c kwset.c search.c \
105 grepmat.c
107 noinst_HEADERS = grep.h dfa.h kwset.h getpagesize.h system.h
109 LDADD = @INTLLIBS@ ../lib/libgreputils.a
110 localedir = $(datadir)/locale
111 INCLUDES = -I../intl -I$(top_srcdir)/lib -DLOCALEDIR=\"$(localedir)\"
113 EXTRA_DIST = \
114 dosbuf.c \
115 vms_fab.c vms_fab.h
117 subdir = src
118 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
119 CONFIG_HEADER = $(top_builddir)/config.h
120 CONFIG_CLEAN_FILES =
121 bin_PROGRAMS = grep$(EXEEXT)
122 PROGRAMS = $(bin_PROGRAMS)
124 am_grep_OBJECTS = grep$U.$(OBJEXT) dfa$U.$(OBJEXT) kwset$U.$(OBJEXT) \
125 search$U.$(OBJEXT) grepmat$U.$(OBJEXT)
126 grep_OBJECTS = $(am_grep_OBJECTS)
127 grep_LDADD = $(LDADD)
128 grep_DEPENDENCIES = ../lib/libgreputils.a
129 grep_LDFLAGS =
130 SCRIPTS = $(bin_SCRIPTS)
133 DEFS = @DEFS@
134 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
135 CPPFLAGS = @CPPFLAGS@
136 LDFLAGS = @LDFLAGS@
137 LIBS = @LIBS@
138 depcomp =
139 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
140 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
141 CCLD = $(CC)
142 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
143 CFLAGS = @CFLAGS@
144 DIST_SOURCES = $(grep_SOURCES)
145 HEADERS = $(noinst_HEADERS)
147 DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in ansi2knr.1 \
148 ansi2knr.c
149 SOURCES = $(grep_SOURCES)
151 all: all-am
153 .SUFFIXES:
154 .SUFFIXES: .c .o .obj
155 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
156 cd $(top_srcdir) && \
157 $(AUTOMAKE) --gnu src/Makefile
158 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
159 cd $(top_builddir) && \
160 CONFIG_HEADERS= CONFIG_LINKS= \
161 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
162 install-binPROGRAMS: $(bin_PROGRAMS)
163 @$(NORMAL_INSTALL)
164 $(mkinstalldirs) $(DESTDIR)$(bindir)
165 @list='$(bin_PROGRAMS)'; for p in $$list; do \
166 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
167 if test -f $$p \
168 ; then \
169 f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
170 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
171 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
172 else :; fi; \
173 done
175 uninstall-binPROGRAMS:
176 @$(NORMAL_UNINSTALL)
177 @list='$(bin_PROGRAMS)'; for p in $$list; do \
178 f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
179 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
180 rm -f $(DESTDIR)$(bindir)/$$f; \
181 done
183 clean-binPROGRAMS:
184 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
185 grep$(EXEEXT): $(grep_OBJECTS) $(grep_DEPENDENCIES)
186 @rm -f grep$(EXEEXT)
187 $(LINK) $(grep_LDFLAGS) $(grep_OBJECTS) $(grep_LDADD) $(LIBS)
188 install-binSCRIPTS: $(bin_SCRIPTS)
189 @$(NORMAL_INSTALL)
190 $(mkinstalldirs) $(DESTDIR)$(bindir)
191 @list='$(bin_SCRIPTS)'; for p in $$list; do \
192 f="`echo $$p|sed '$(transform)'`"; \
193 if test -f $$p; then \
194 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
195 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
196 elif test -f $(srcdir)/$$p; then \
197 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
198 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
199 else :; fi; \
200 done
202 uninstall-binSCRIPTS:
203 @$(NORMAL_UNINSTALL)
204 @list='$(bin_SCRIPTS)'; for p in $$list; do \
205 f="`echo $$p|sed '$(transform)'`"; \
206 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
207 rm -f $(DESTDIR)$(bindir)/$$f; \
208 done
210 mostlyclean-compile:
211 -rm -f *.$(OBJEXT) core *.core
213 distclean-compile:
214 -rm -f *.tab.c
216 ANSI2KNR = @ANSI2KNR@
217 ansi2knr: ansi2knr.$(OBJEXT)
218 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
219 ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
221 clean-krextra:
222 -rm -f ansi2knr
224 mostlyclean-kr:
225 -rm -f *_.c
227 .c.o:
228 $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
230 .c.obj:
231 $(COMPILE) -c `cygpath -w $<`
232 dfa_.c: dfa.c $(ANSI2KNR)
233 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dfa.c; then echo $(srcdir)/dfa.c; else echo dfa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dfa_.c || rm -f dfa_.c
234 grep_.c: grep.c $(ANSI2KNR)
235 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/grep.c; then echo $(srcdir)/grep.c; else echo grep.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > grep_.c || rm -f grep_.c
236 grepmat_.c: grepmat.c $(ANSI2KNR)
237 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/grepmat.c; then echo $(srcdir)/grepmat.c; else echo grepmat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > grepmat_.c || rm -f grepmat_.c
238 kwset_.c: kwset.c $(ANSI2KNR)
239 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kwset.c; then echo $(srcdir)/kwset.c; else echo kwset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kwset_.c || rm -f kwset_.c
240 search_.c: search.c $(ANSI2KNR)
241 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/search.c; then echo $(srcdir)/search.c; else echo search.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > search_.c || rm -f search_.c
242 dfa_.$(OBJEXT) grep_.$(OBJEXT) grepmat_.$(OBJEXT) kwset_.$(OBJEXT) \
243 search_.$(OBJEXT) : $(ANSI2KNR)
244 uninstall-info-am:
246 tags: TAGS
248 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
249 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
250 unique=`for i in $$list; do \
251 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
252 done | \
253 $(AWK) ' { files[$$0] = 1; } \
254 END { for (i in files) print i; }'`; \
255 mkid -fID $$unique $(LISP)
257 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
258 $(TAGS_FILES) $(LISP)
259 tags=; \
260 here=`pwd`; \
261 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
262 unique=`for i in $$list; do \
263 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
264 done | \
265 $(AWK) ' { files[$$0] = 1; } \
266 END { for (i in files) print i; }'`; \
267 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
268 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
270 GTAGS:
271 here=`CDPATH=: && cd $(top_builddir) && pwd` \
272 && cd $(top_srcdir) \
273 && gtags -i $(GTAGS_ARGS) $$here
275 distclean-tags:
276 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
278 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
280 top_distdir = ..
281 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
283 distdir: $(DISTFILES)
284 @for file in $(DISTFILES); do \
285 if test -f $$file; then d=.; else d=$(srcdir); fi; \
286 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
287 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
288 $(mkinstalldirs) "$(distdir)/$$dir"; \
289 fi; \
290 if test -d $$d/$$file; then \
291 cp -pR $$d/$$file $(distdir) \
292 || exit 1; \
293 else \
294 test -f $(distdir)/$$file \
295 || cp -p $$d/$$file $(distdir)/$$file \
296 || exit 1; \
297 fi; \
298 done
299 check-am: all-am
300 check: check-am
301 all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(SCRIPTS) $(HEADERS)
303 installdirs:
304 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
306 install: install-am
307 install-exec: install-exec-am
308 install-data: install-data-am
309 uninstall: uninstall-am
311 install-am: all-am
312 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
314 installcheck: installcheck-am
315 install-strip:
316 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
317 `test -z '$(STRIP)' || \
318 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
319 mostlyclean-generic:
321 clean-generic:
323 distclean-generic:
324 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
326 maintainer-clean-generic:
327 @echo "This command is intended for maintainers to use"
328 @echo "it deletes files that may require special tools to rebuild."
329 clean: clean-am
331 clean-am: clean-binPROGRAMS clean-generic clean-krextra mostlyclean-am
333 distclean: distclean-am
335 distclean-am: clean-am distclean-compile distclean-generic \
336 distclean-tags
338 dvi: dvi-am
340 dvi-am:
342 info: info-am
344 info-am:
346 install-data-am:
348 install-exec-am: install-binPROGRAMS install-binSCRIPTS
350 install-info: install-info-am
352 install-man:
354 installcheck-am:
356 maintainer-clean: maintainer-clean-am
358 maintainer-clean-am: distclean-am maintainer-clean-generic
360 mostlyclean: mostlyclean-am
362 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
364 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
365 uninstall-info-am
367 .PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
368 clean-generic clean-krextra distclean distclean-compile \
369 distclean-generic distclean-tags distdir dvi dvi-am info \
370 info-am install install-am install-binPROGRAMS \
371 install-binSCRIPTS install-data install-data-am install-exec \
372 install-exec-am install-info install-info-am install-man \
373 install-strip installcheck installcheck-am installdirs \
374 maintainer-clean maintainer-clean-generic mostlyclean \
375 mostlyclean-compile mostlyclean-generic mostlyclean-kr tags \
376 uninstall uninstall-am uninstall-binPROGRAMS \
377 uninstall-binSCRIPTS uninstall-info-am
380 egrep:
381 echo '#!/bin/sh' >$@
382 echo 'exec grep -E $${1+"$$@"}' >>$@
383 chmod a+x $@
385 fgrep:
386 echo '#!/bin/sh' >$@
387 echo 'exec grep -F $${1+"$$@"}' >>$@
388 chmod a+x $@
389 # Tell versions [3.59,3.63) of GNU make to not export all variables.
390 # Otherwise a system limit (for SysV at least) may be exceeded.
391 .NOEXPORT: