1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# src/Makefile.  Generated from Makefile.in by configure.
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15
16
17
18srcdir = .
19top_srcdir = ..
20
21pkgdatadir = $(datadir)/bison
22pkglibdir = $(libdir)/bison
23pkgincludedir = $(includedir)/bison
24top_builddir = ..
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38build_triplet = x86_64-unknown-linux-gnu
39host_triplet = x86_64-unknown-linux-gnu
40bin_PROGRAMS = bison$(EXEEXT)
41subdir = src
42DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in parse-gram.c \
43	scan-gram.c scan-skel.c
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/m4/bison-i18n.m4 \
46	$(top_srcdir)/m4/c-working.m4 $(top_srcdir)/m4/cxx.m4 \
47	$(top_srcdir)/m4/dirname.m4 $(top_srcdir)/m4/dmalloc.m4 \
48	$(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/error.m4 \
49	$(top_srcdir)/m4/exitfail.m4 $(top_srcdir)/m4/extensions.m4 \
50	$(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext_gl.m4 \
51	$(top_srcdir)/m4/gnulib.m4 $(top_srcdir)/m4/hard-locale.m4 \
52	$(top_srcdir)/m4/hash.m4 $(top_srcdir)/m4/iconv.m4 \
53	$(top_srcdir)/m4/inttypes_h_gl.m4 \
54	$(top_srcdir)/m4/lib-ld_gl.m4 $(top_srcdir)/m4/lib-link.m4 \
55	$(top_srcdir)/m4/lib-prefix_gl.m4 $(top_srcdir)/m4/m4.m4 \
56	$(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbstate_t.m4 \
57	$(top_srcdir)/m4/mbswidth.m4 $(top_srcdir)/m4/nls.m4 \
58	$(top_srcdir)/m4/obstack.m4 $(top_srcdir)/m4/onceonly.m4 \
59	$(top_srcdir)/m4/po_gl.m4 $(top_srcdir)/m4/progtest.m4 \
60	$(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
61	$(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stdint_h_gl.m4 \
62	$(top_srcdir)/m4/stdio-safer.m4 $(top_srcdir)/m4/stpcpy.m4 \
63	$(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
64	$(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \
65	$(top_srcdir)/m4/strtol.m4 $(top_srcdir)/m4/strtoul.m4 \
66	$(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/subpipe.m4 \
67	$(top_srcdir)/m4/timevar.m4 $(top_srcdir)/m4/uintmax_t_gl.m4 \
68	$(top_srcdir)/m4/ulonglong_gl.m4 \
69	$(top_srcdir)/m4/unistd-safer.m4 $(top_srcdir)/m4/unistd_h.m4 \
70	$(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/warning.m4 \
71	$(top_srcdir)/m4/xalloc.m4 $(top_srcdir)/m4/xstrndup.m4 \
72	$(top_srcdir)/configure.ac
73am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
74	$(ACLOCAL_M4)
75mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
76CONFIG_HEADER = $(top_builddir)/config.h
77CONFIG_CLEAN_FILES =
78am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)"
79binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
80PROGRAMS = $(bin_PROGRAMS)
81am_bison_OBJECTS = LR0.$(OBJEXT) assoc.$(OBJEXT) closure.$(OBJEXT) \
82	complain.$(OBJEXT) conflicts.$(OBJEXT) derives.$(OBJEXT) \
83	files.$(OBJEXT) getargs.$(OBJEXT) gram.$(OBJEXT) \
84	lalr.$(OBJEXT) location.$(OBJEXT) main.$(OBJEXT) \
85	muscle_tab.$(OBJEXT) nullable.$(OBJEXT) output.$(OBJEXT) \
86	parse-gram.$(OBJEXT) print.$(OBJEXT) print_graph.$(OBJEXT) \
87	reader.$(OBJEXT) reduce.$(OBJEXT) relation.$(OBJEXT) \
88	scan-gram-c.$(OBJEXT) scan-skel-c.$(OBJEXT) state.$(OBJEXT) \
89	symlist.$(OBJEXT) symtab.$(OBJEXT) tables.$(OBJEXT) \
90	uniqstr.$(OBJEXT) vcg.$(OBJEXT)
91bison_OBJECTS = $(am_bison_OBJECTS)
92bison_LDADD = $(LDADD)
93am__DEPENDENCIES_1 =
94bison_DEPENDENCIES = ../lib/libbison.a $(am__DEPENDENCIES_1)
95binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
96SCRIPTS = $(bin_SCRIPTS)
97DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
98depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
99am__depfiles_maybe = depfiles
100COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
101	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
102CCLD = $(CC)
103LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
104LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
105YLWRAP = $(top_srcdir)/build-aux/ylwrap
106YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
107SOURCES = $(bison_SOURCES) $(EXTRA_bison_SOURCES)
108DIST_SOURCES = $(bison_SOURCES) $(EXTRA_bison_SOURCES)
109ETAGS = etags
110CTAGS = ctags
111DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
112ACLOCAL = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run aclocal-1.9
113AMDEP_FALSE = #
114AMDEP_TRUE = 
115AMTAR = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run tar
116AUTOCONF = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run autoconf
117AUTOHEADER = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run autoheader
118AUTOM4TE = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run autom4te
119AUTOMAKE = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run automake-1.9
120AWK = gawk
121BISON_CXX_WORKS = :
122BISON_CXX_WORKS_FALSE = #
123BISON_CXX_WORKS_TRUE = 
124BISON_LOCALEDIR = /usr/share/locale
125CC = gcc
126CCDEPMODE = depmode=gcc3
127CFLAGS = -g -O2
128CPP = gcc -E
129CPPFLAGS = 
130CXX = g++
131CXXDEPMODE = depmode=gcc3
132CXXFLAGS = -g -O2
133CYGPATH_W = echo
134DEFS = -DHAVE_CONFIG_H -DPKGDATADIR=\"$(pkgdatadir)\" \
135	-DLOCALEDIR=\"$(datadir)/locale\"
136DEPDIR = .deps
137ECHO_C = 
138ECHO_N = -n
139ECHO_T = 
140EGREP = grep -E
141EXEEXT = 
142GCC = yes
143GETOPT_H = 
144GMSGFMT = /usr/bin/msgfmt
145HAVE__BOOL = 1
146INSTALL_DATA = ${INSTALL} -m 644
147INSTALL_PROGRAM = ${INSTALL}
148INSTALL_SCRIPT = ${INSTALL}
149INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
150INTLLIBS = 
151INTL_MACOSX_LIBS = 
152LDFLAGS = 
153LEX = flex
154LEXLIB = -lfl
155LEX_OUTPUT_ROOT = lex.yy
156LIBICONV = -liconv
157LIBINTL = 
158LIBOBJS =  dirname$U.o exitfail$U.o hard-locale$U.o hash$U.o quote$U.o quotearg$U.o fopen-safer$U.o dup-safer$U.o fd-safer$U.o pipe-safer$U.o xmalloc$U.o
159LIBS = 
160LTLIBICONV = -liconv
161LTLIBINTL = 
162LTLIBOBJS =  dirname$U.lo exitfail$U.lo hard-locale$U.lo hash$U.lo quote$U.lo quotearg$U.lo fopen-safer$U.lo dup-safer$U.lo fd-safer$U.lo pipe-safer$U.lo xmalloc$U.lo
163M4 = /usr/bin/m4
164MAKEINFO = ${SHELL} /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/missing --run makeinfo
165MKINSTALLDIRS = $(top_builddir)/build-aux/mkinstalldirs
166MSGFMT = /usr/bin/msgfmt
167MSGMERGE = /usr/bin/msgmerge
168O0CFLAGS = -g 
169O0CXXFLAGS = -g 
170OBJEXT = o
171PACKAGE = bison
172PACKAGE_BUGREPORT = bug-bison@gnu.org
173PACKAGE_NAME = GNU Bison
174PACKAGE_STRING = GNU Bison 2.3
175PACKAGE_TARNAME = bison
176PACKAGE_VERSION = 2.3
177PATH_SEPARATOR = :
178POSUB = po
179RANLIB = ranlib
180SET_MAKE = 
181SHELL = /bin/sh
182STDBOOL_H = 
183STRIP = 
184UNISTD_H = 
185USE_NLS = yes
186VALGRIND = 
187VERSION = 2.3
188WARNING_CFLAGS = 
189WARNING_CXXFLAGS = 
190WERROR_CFLAGS = 
191XGETTEXT = /usr/bin/xgettext
192
193# Use our own Bison to build the parser.  Of course, you ought to
194# keep a sane version of Bison nearby...
195YACC = ../tests/bison -y
196YACC_LIBRARY = liby.a
197YACC_SCRIPT = yacc
198ac_ct_CC = gcc
199ac_ct_CXX = g++
200ac_ct_RANLIB = ranlib
201ac_ct_STRIP = 
202aclocaldir = ${datadir}/aclocal
203am__fastdepCC_FALSE = #
204am__fastdepCC_TRUE = 
205am__fastdepCXX_FALSE = #
206am__fastdepCXX_TRUE = 
207am__include = include
208am__leading_dot = .
209am__quote = 
210am__tar = ${AMTAR} chof - "$$tardir"
211am__untar = ${AMTAR} xf -
212bindir = ${exec_prefix}/bin
213build = x86_64-unknown-linux-gnu
214build_alias = 
215build_cpu = x86_64
216build_os = linux-gnu
217build_vendor = unknown
218datadir = ${prefix}/share
219exec_prefix = ${prefix}
220host = x86_64-unknown-linux-gnu
221host_alias = 
222host_cpu = x86_64
223host_os = linux-gnu
224host_vendor = unknown
225includedir = ${prefix}/include
226infodir = ${prefix}/info
227install_sh = /usr/local/google/workspace/WebKit/tools/bison-2.3/build-aux/install-sh
228libdir = ${exec_prefix}/lib
229libexecdir = ${exec_prefix}/libexec
230localstatedir = ${prefix}/var
231mandir = ${prefix}/man
232mkdir_p = mkdir -p --
233oldincludedir = /usr/include
234prefix = /home/phanna/src/bison
235program_transform_name = s,x,x,
236sbindir = ${exec_prefix}/sbin
237sharedstatedir = ${prefix}/com
238sysconfdir = ${prefix}/etc
239target_alias = 
240AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
241AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib
242AM_YFLAGS = "-dv"
243LDADD = ../lib/libbison.a $(LIBINTL)
244bin_SCRIPTS = $(YACC_SCRIPT)
245EXTRA_SCRIPTS = yacc
246bison_SOURCES = \
247	LR0.c LR0.h				  \
248	assoc.c assoc.h				  \
249	closure.c closure.h			  \
250	complain.c complain.h			  \
251	conflicts.c conflicts.h			  \
252	derives.c derives.h			  \
253	files.c files.h				  \
254	getargs.c getargs.h			  \
255	gram.c gram.h				  \
256	lalr.h lalr.c				  \
257	location.c location.h			  \
258	main.c					  \
259	muscle_tab.c muscle_tab.h		  \
260	nullable.c nullable.h			  \
261	output.c output.h			  \
262	parse-gram.h parse-gram.y		  \
263	print.c print.h				  \
264	print_graph.c print_graph.h		  \
265	reader.c reader.h			  \
266	reduce.c reduce.h			  \
267	relation.c relation.h			  \
268	scan-gram-c.c				  \
269	scan-skel-c.c scan-skel.h		  \
270	state.c state.h				  \
271	symlist.c symlist.h			  \
272	symtab.c symtab.h			  \
273	system.h				  \
274	tables.h tables.c			  \
275	uniqstr.c uniqstr.h			  \
276	vcg.c vcg.h				  \
277	vcg_defaults.h
278
279EXTRA_bison_SOURCES = scan-skel.l scan-gram.l
280BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h
281MOSTLYCLEANFILES = yacc
282all: $(BUILT_SOURCES)
283	$(MAKE) $(AM_MAKEFLAGS) all-am
284
285.SUFFIXES:
286.SUFFIXES: .c .l .o .obj .y
287$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
288	@for dep in $?; do \
289	  case '$(am__configure_deps)' in \
290	    *$$dep*) \
291	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
292		&& exit 0; \
293	      exit 1;; \
294	  esac; \
295	done; \
296	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
297	cd $(top_srcdir) && \
298	  $(AUTOMAKE) --gnu  src/Makefile
299.PRECIOUS: Makefile
300Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
301	@case '$?' in \
302	  *config.status*) \
303	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
304	  *) \
305	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
306	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
307	esac;
308
309$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
310	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
311
312$(top_srcdir)/configure:  $(am__configure_deps)
313	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
314$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
315	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
316install-binPROGRAMS: $(bin_PROGRAMS)
317	@$(NORMAL_INSTALL)
318	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
319	@list='$(bin_PROGRAMS)'; for p in $$list; do \
320	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
321	  if test -f $$p \
322	  ; then \
323	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
324	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
325	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
326	  else :; fi; \
327	done
328
329uninstall-binPROGRAMS:
330	@$(NORMAL_UNINSTALL)
331	@list='$(bin_PROGRAMS)'; for p in $$list; do \
332	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
333	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
334	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
335	done
336
337clean-binPROGRAMS:
338	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
339bison$(EXEEXT): $(bison_OBJECTS) $(bison_DEPENDENCIES) 
340	@rm -f bison$(EXEEXT)
341	$(LINK) $(bison_LDFLAGS) $(bison_OBJECTS) $(bison_LDADD) $(LIBS)
342install-binSCRIPTS: $(bin_SCRIPTS)
343	@$(NORMAL_INSTALL)
344	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
345	@list='$(bin_SCRIPTS)'; for p in $$list; do \
346	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
347	  if test -f $$d$$p; then \
348	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
349	    echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
350	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
351	  else :; fi; \
352	done
353
354uninstall-binSCRIPTS:
355	@$(NORMAL_UNINSTALL)
356	@list='$(bin_SCRIPTS)'; for p in $$list; do \
357	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
358	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
359	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
360	done
361
362mostlyclean-compile:
363	-rm -f *.$(OBJEXT)
364
365distclean-compile:
366	-rm -f *.tab.c
367
368include ./$(DEPDIR)/LR0.Po
369include ./$(DEPDIR)/assoc.Po
370include ./$(DEPDIR)/closure.Po
371include ./$(DEPDIR)/complain.Po
372include ./$(DEPDIR)/conflicts.Po
373include ./$(DEPDIR)/derives.Po
374include ./$(DEPDIR)/files.Po
375include ./$(DEPDIR)/getargs.Po
376include ./$(DEPDIR)/gram.Po
377include ./$(DEPDIR)/lalr.Po
378include ./$(DEPDIR)/location.Po
379include ./$(DEPDIR)/main.Po
380include ./$(DEPDIR)/muscle_tab.Po
381include ./$(DEPDIR)/nullable.Po
382include ./$(DEPDIR)/output.Po
383include ./$(DEPDIR)/parse-gram.Po
384include ./$(DEPDIR)/print.Po
385include ./$(DEPDIR)/print_graph.Po
386include ./$(DEPDIR)/reader.Po
387include ./$(DEPDIR)/reduce.Po
388include ./$(DEPDIR)/relation.Po
389include ./$(DEPDIR)/scan-gram-c.Po
390include ./$(DEPDIR)/scan-gram.Po
391include ./$(DEPDIR)/scan-skel-c.Po
392include ./$(DEPDIR)/scan-skel.Po
393include ./$(DEPDIR)/state.Po
394include ./$(DEPDIR)/symlist.Po
395include ./$(DEPDIR)/symtab.Po
396include ./$(DEPDIR)/tables.Po
397include ./$(DEPDIR)/uniqstr.Po
398include ./$(DEPDIR)/vcg.Po
399
400.c.o:
401	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
402	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
403#	source='$<' object='$@' libtool=no \
404#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
405#	$(COMPILE) -c $<
406
407.c.obj:
408	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
409	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
410#	source='$<' object='$@' libtool=no \
411#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
412#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
413
414.l.c:
415	$(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
416
417.y.c:
418	$(YACCCOMPILE) $<
419	if test -f y.tab.h; then \
420	  to=`echo "$*_H" | sed \
421                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
422                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
423	  sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
424            y.tab.h >$*.ht; \
425	  rm -f y.tab.h; \
426	  if cmp -s $*.ht $*.h; then \
427	    rm -f $*.ht ;\
428	  else \
429	    mv $*.ht $*.h; \
430	  fi; \
431	fi
432	if test -f y.output; then \
433	  mv y.output $*.output; \
434	fi
435	sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
436	rm -f y.tab.c
437uninstall-info-am:
438
439ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
440	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
441	unique=`for i in $$list; do \
442	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
443	  done | \
444	  $(AWK) '    { files[$$0] = 1; } \
445	       END { for (i in files) print i; }'`; \
446	mkid -fID $$unique
447tags: TAGS
448
449TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
450		$(TAGS_FILES) $(LISP)
451	tags=; \
452	here=`pwd`; \
453	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
454	unique=`for i in $$list; do \
455	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456	  done | \
457	  $(AWK) '    { files[$$0] = 1; } \
458	       END { for (i in files) print i; }'`; \
459	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
460	  test -n "$$unique" || unique=$$empty_fix; \
461	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
462	    $$tags $$unique; \
463	fi
464ctags: CTAGS
465CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
466		$(TAGS_FILES) $(LISP)
467	tags=; \
468	here=`pwd`; \
469	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
470	unique=`for i in $$list; do \
471	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472	  done | \
473	  $(AWK) '    { files[$$0] = 1; } \
474	       END { for (i in files) print i; }'`; \
475	test -z "$(CTAGS_ARGS)$$tags$$unique" \
476	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
477	     $$tags $$unique
478
479GTAGS:
480	here=`$(am__cd) $(top_builddir) && pwd` \
481	  && cd $(top_srcdir) \
482	  && gtags -i $(GTAGS_ARGS) $$here
483
484distclean-tags:
485	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
486
487distdir: $(DISTFILES)
488	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
489	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
490	list='$(DISTFILES)'; for file in $$list; do \
491	  case $$file in \
492	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
493	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
494	  esac; \
495	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
496	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
497	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
498	    dir="/$$dir"; \
499	    $(mkdir_p) "$(distdir)$$dir"; \
500	  else \
501	    dir=''; \
502	  fi; \
503	  if test -d $$d/$$file; then \
504	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
505	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
506	    fi; \
507	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
508	  else \
509	    test -f $(distdir)/$$file \
510	    || cp -p $$d/$$file $(distdir)/$$file \
511	    || exit 1; \
512	  fi; \
513	done
514check-am: all-am
515check: $(BUILT_SOURCES)
516	$(MAKE) $(AM_MAKEFLAGS) check-am
517all-am: Makefile $(PROGRAMS) $(SCRIPTS)
518installdirs:
519	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)"; do \
520	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
521	done
522install: $(BUILT_SOURCES)
523	$(MAKE) $(AM_MAKEFLAGS) install-am
524install-exec: install-exec-am
525install-data: install-data-am
526uninstall: uninstall-am
527
528install-am: all-am
529	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
530
531installcheck: installcheck-am
532install-strip:
533	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
534	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
535	  `test -z '$(STRIP)' || \
536	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
537mostlyclean-generic:
538	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
539
540clean-generic:
541
542distclean-generic:
543	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
544
545maintainer-clean-generic:
546	@echo "This command is intended for maintainers to use"
547	@echo "it deletes files that may require special tools to rebuild."
548	-rm -f parse-gram.c
549	-rm -f scan-gram.c
550	-rm -f scan-skel.c
551	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
552clean: clean-am
553
554clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
555
556distclean: distclean-am
557	-rm -rf ./$(DEPDIR)
558	-rm -f Makefile
559distclean-am: clean-am distclean-compile distclean-generic \
560	distclean-tags
561
562dvi: dvi-am
563
564dvi-am:
565
566html: html-am
567
568info: info-am
569
570info-am:
571
572install-data-am:
573
574install-exec-am: install-binPROGRAMS install-binSCRIPTS
575
576install-info: install-info-am
577
578install-man:
579
580installcheck-am:
581
582maintainer-clean: maintainer-clean-am
583	-rm -rf ./$(DEPDIR)
584	-rm -f Makefile
585maintainer-clean-am: distclean-am maintainer-clean-generic
586
587mostlyclean: mostlyclean-am
588
589mostlyclean-am: mostlyclean-compile mostlyclean-generic
590
591pdf: pdf-am
592
593pdf-am:
594
595ps: ps-am
596
597ps-am:
598
599uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
600	uninstall-info-am
601
602.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
603	clean-generic ctags distclean distclean-compile \
604	distclean-generic distclean-tags distdir dvi dvi-am html \
605	html-am info info-am install install-am install-binPROGRAMS \
606	install-binSCRIPTS install-data install-data-am install-exec \
607	install-exec-am install-info install-info-am install-man \
608	install-strip installcheck installcheck-am installdirs \
609	maintainer-clean maintainer-clean-generic mostlyclean \
610	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
611	tags uninstall uninstall-am uninstall-binPROGRAMS \
612	uninstall-binSCRIPTS uninstall-info-am
613
614
615yacc:
616	echo '#! /bin/sh' >$@
617	echo 'exec $(bindir)/bison -y "$$@"' >>$@
618	chmod a+x $@
619
620echo:
621	echo $(bison_SOURCES) $(noinst_HEADERS)
622
623# The following rule is not designed to be portable,
624# and relies on tools that not everyone has.
625
626# Most functions in src/*.c should have static scope.
627# Any that don't must be marked with `extern', but `main'
628# and `usage' are exceptions.  They're always extern, but
629# don't need to be marked.
630#
631# The second nm|grep checks for file-scope variables with `extern' scope.
632sc_tight_scope: $(all_programs)
633	@t=exceptions-$$$$;						\
634	trap 's=$$?; rm -f $$t; exit $$s' 0 1 2 13 15;			\
635	( printf '^main$$\n^usage$$\n';					\
636	  grep -h -A1 '^extern .*[^;]$$' $(SOURCES)			\
637	    | grep -vE '^(extern |--)' |sed 's/^/^/;s/ .*/$$/' ) > $$t;	\
638	if nm -e *.$(OBJEXT)						\
639	    | sed -n 's/.* T //p'					\
640	    | grep -Ev -f $$t; then					\
641	  echo 'the above functions should have static scope' 1>&2;	\
642	  exit 1;							\
643	fi;								\
644	( printf '^program_name$$\n';					\
645	  sed -n 's/^extern .*[* ]\([a-zA-Z_][a-zA-Z_0-9]*\);$$/^\1$$/p' \
646	    $$(ls $(SOURCES) | grep '\.h$$') /dev/null) > $$t;		\
647	if nm -e *.$(OBJEXT)						\
648	    | sed -n 's/.* [BD] //p'					\
649	    | grep -Ev -f $$t; then					\
650	  echo 'the above variables should have static scope' 1>&2;	\
651	  exit 1;							\
652	fi
653# Tell versions [3.59,3.63) of GNU make to not export all variables.
654# Otherwise a system limit (for SysV at least) may be exceeded.
655.NOEXPORT:
656