1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
62 AT_TESTPATH = @AT_TESTPATH@
63 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
65 CATOBJEXT = @CATOBJEXT@
68 DATADIRNAME = @DATADIRNAME@
76 INSTOBJEXT = @INSTOBJEXT@
77 INTLBISON = @INTLBISON@
80 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
85 MKINSTALLDIRS = @MKINSTALLDIRS@
92 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
95 WARNING_CFLAGS = @WARNING_CFLAGS@
97 AUTOMAKE_OPTIONS = 1.4 ../lib/ansi2knr
98 DEFS = @DEFS@ -DBISON_SIMPLE=\"$(pkgdatadir)/bison.simple\" -DBISON_HAIRY=\"$(pkgdatadir)/bison.hairy\" -DLOCALEDIR=\"$(datadir)/locale\"
101 INCLUDES = -I../intl -I$(top_srcdir)/lib -I..
102 LDADD = @INTLLIBS@ ../lib/libbison.a
106 bison_SOURCES = LR0.c closure.c complain.c conflicts.c derives.c files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c print.c reader.c reduce.c symtab.c warshall.c
109 EXTRA_bison_SOURCES = vmsgetargs.c
111 noinst_HEADERS = LR0.h closure.h complain.h conflicts.h derives.h files.h getargs.h gram.h lalr.h lex.h nullable.h output.h state.h print.h reader.h reduce.h symtab.h warshall.h system.h types.h
114 pkgdata_DATA = bison.simple bison.hairy
116 EXTRA_DIST = $(pkgdata_DATA) build.com bison.cld vmshlp.mar
117 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
118 CONFIG_HEADER = ../config.h
120 PROGRAMS = $(bin_PROGRAMS)
122 CPPFLAGS = @CPPFLAGS@
125 ANSI2KNR = ../lib/ansi2knr
126 bison_OBJECTS = LR0$U.o closure$U.o complain$U.o conflicts$U.o \
127 derives$U.o files$U.o getargs$U.o gram$U.o lalr$U.o lex$U.o main$U.o \
128 nullable$U.o output$U.o print$U.o reader$U.o reduce$U.o symtab$U.o \
130 bison_LDADD = $(LDADD)
131 bison_DEPENDENCIES = ../lib/libbison.a
134 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
137 DATA = $(pkgdata_DATA)
139 HEADERS = $(noinst_HEADERS)
141 DIST_COMMON = Makefile.am Makefile.in
144 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
148 DEP_FILES = .deps/LR0.P .deps/closure.P .deps/complain.P \
149 .deps/conflicts.P .deps/derives.P .deps/files.P .deps/getargs.P \
150 .deps/gram.P .deps/lalr.P .deps/lex.P .deps/main.P .deps/nullable.P \
151 .deps/output.P .deps/print.P .deps/reader.P .deps/reduce.P \
152 .deps/symtab.P .deps/vmsgetargs.P .deps/warshall.P
153 SOURCES = $(bison_SOURCES) $(EXTRA_bison_SOURCES)
154 OBJECTS = $(bison_OBJECTS)
158 .SUFFIXES: .S .c .o .s
159 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
160 cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
162 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
164 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
167 mostlyclean-binPROGRAMS:
170 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
172 distclean-binPROGRAMS:
174 maintainer-clean-binPROGRAMS:
176 install-binPROGRAMS: $(bin_PROGRAMS)
178 $(mkinstalldirs) $(DESTDIR)$(bindir)
179 @list='$(bin_PROGRAMS)'; for p in $$list; do \
180 if test -f $$p; then \
181 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
182 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
186 uninstall-binPROGRAMS:
188 list='$(bin_PROGRAMS)'; for p in $$list; do \
189 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
199 -rm -f *.o core *.core
206 maintainer-clean-compile:
207 ../lib/ansi2knr: ../lib/ansi2knr.o
208 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
211 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.o
223 bison: $(bison_OBJECTS) $(bison_DEPENDENCIES)
225 $(LINK) $(bison_LDFLAGS) $(bison_OBJECTS) $(bison_LDADD) $(LIBS)
226 LR0_.c: LR0.c $(ANSI2KNR)
227 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/LR0.c; then echo $(srcdir)/LR0.c; else echo LR0.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > LR0_.c
228 alloca_.c: alloca.c $(ANSI2KNR)
229 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/alloca.c; then echo $(srcdir)/alloca.c; else echo alloca.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > alloca_.c
230 closure_.c: closure.c $(ANSI2KNR)
231 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/closure.c; then echo $(srcdir)/closure.c; else echo closure.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > closure_.c
232 complain_.c: complain.c $(ANSI2KNR)
233 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/complain.c; then echo $(srcdir)/complain.c; else echo complain.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > complain_.c
234 conflicts_.c: conflicts.c $(ANSI2KNR)
235 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/conflicts.c; then echo $(srcdir)/conflicts.c; else echo conflicts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > conflicts_.c
236 derives_.c: derives.c $(ANSI2KNR)
237 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/derives.c; then echo $(srcdir)/derives.c; else echo derives.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > derives_.c
238 files_.c: files.c $(ANSI2KNR)
239 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/files.c; then echo $(srcdir)/files.c; else echo files.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > files_.c
240 getargs_.c: getargs.c $(ANSI2KNR)
241 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getargs.c; then echo $(srcdir)/getargs.c; else echo getargs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getargs_.c
242 gram_.c: gram.c $(ANSI2KNR)
243 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gram.c; then echo $(srcdir)/gram.c; else echo gram.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gram_.c
244 lalr_.c: lalr.c $(ANSI2KNR)
245 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/lalr.c; then echo $(srcdir)/lalr.c; else echo lalr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > lalr_.c
246 lex_.c: lex.c $(ANSI2KNR)
247 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/lex.c; then echo $(srcdir)/lex.c; else echo lex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > lex_.c
248 main_.c: main.c $(ANSI2KNR)
249 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/main.c; then echo $(srcdir)/main.c; else echo main.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > main_.c
250 memchr_.c: memchr.c $(ANSI2KNR)
251 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memchr.c; then echo $(srcdir)/memchr.c; else echo memchr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memchr_.c
252 nullable_.c: nullable.c $(ANSI2KNR)
253 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/nullable.c; then echo $(srcdir)/nullable.c; else echo nullable.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > nullable_.c
254 output_.c: output.c $(ANSI2KNR)
255 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/output.c; then echo $(srcdir)/output.c; else echo output.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > output_.c
256 print_.c: print.c $(ANSI2KNR)
257 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/print.c; then echo $(srcdir)/print.c; else echo print.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > print_.c
258 reader_.c: reader.c $(ANSI2KNR)
259 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/reader.c; then echo $(srcdir)/reader.c; else echo reader.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > reader_.c
260 reduce_.c: reduce.c $(ANSI2KNR)
261 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/reduce.c; then echo $(srcdir)/reduce.c; else echo reduce.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > reduce_.c
262 stpcpy_.c: stpcpy.c $(ANSI2KNR)
263 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/stpcpy.c; then echo $(srcdir)/stpcpy.c; else echo stpcpy.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > stpcpy_.c
264 strndup_.c: strndup.c $(ANSI2KNR)
265 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strndup.c; then echo $(srcdir)/strndup.c; else echo strndup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strndup_.c
266 strnlen_.c: strnlen.c $(ANSI2KNR)
267 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strnlen.c; then echo $(srcdir)/strnlen.c; else echo strnlen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strnlen_.c
268 strspn_.c: strspn.c $(ANSI2KNR)
269 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strspn.c; then echo $(srcdir)/strspn.c; else echo strspn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strspn_.c
270 symtab_.c: symtab.c $(ANSI2KNR)
271 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/symtab.c; then echo $(srcdir)/symtab.c; else echo symtab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > symtab_.c
272 vmsgetargs_.c: vmsgetargs.c $(ANSI2KNR)
273 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/vmsgetargs.c; then echo $(srcdir)/vmsgetargs.c; else echo vmsgetargs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > vmsgetargs_.c
274 warshall_.c: warshall.c $(ANSI2KNR)
275 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/warshall.c; then echo $(srcdir)/warshall.c; else echo warshall.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > warshall_.c
276 LR0_.o alloca_.o closure_.o complain_.o conflicts_.o derives_.o \
277 files_.o getargs_.o gram_.o lalr_.o lex_.o main_.o memchr_.o \
278 nullable_.o output_.o print_.o reader_.o reduce_.o stpcpy_.o strndup_.o \
279 strnlen_.o strspn_.o symtab_.o vmsgetargs_.o warshall_.o : $(ANSI2KNR)
281 install-pkgdataDATA: $(pkgdata_DATA)
283 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
284 @list='$(pkgdata_DATA)'; for p in $$list; do \
285 if test -f $(srcdir)/$$p; then \
286 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
287 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
288 else if test -f $$p; then \
289 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
290 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
294 uninstall-pkgdataDATA:
296 list='$(pkgdata_DATA)'; for p in $$list; do \
297 rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
302 ID: $(HEADERS) $(SOURCES) $(LISP)
303 list='$(SOURCES) $(HEADERS)'; \
304 unique=`for i in $$list; do echo $$i; done | \
305 awk ' { files[$$0] = 1; } \
306 END { for (i in files) print i; }'`; \
307 here=`pwd` && cd $(srcdir) \
308 && mkid -f$$here/ID $$unique $(LISP)
310 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
313 list='$(SOURCES) $(HEADERS)'; \
314 unique=`for i in $$list; do echo $$i; done | \
315 awk ' { files[$$0] = 1; } \
316 END { for (i in files) print i; }'`; \
317 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
318 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
327 maintainer-clean-tags:
329 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
333 distdir: $(DISTFILES)
334 here=`cd $(top_builddir) && pwd`; \
335 top_distdir=`cd $(top_distdir) && pwd`; \
336 distdir=`cd $(distdir) && pwd`; \
338 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
339 @for file in $(DISTFILES); do \
341 if test -d $$d/$$file; then \
342 cp -pr $$d/$$file $(distdir)/$$file; \
344 test -f $(distdir)/$$file \
345 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
346 || cp -p $$d/$$file $(distdir)/$$file || :; \
350 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
352 -include $(DEP_FILES)
361 maintainer-clean-depend:
364 @echo '$(COMPILE) -c $<'; \
365 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
366 @-cp .deps/$(*F).pp .deps/$(*F).P; \
367 tr ' ' '\012' < .deps/$(*F).pp \
368 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
373 @echo '$(LTCOMPILE) -c $<'; \
374 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
375 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
376 < .deps/$(*F).pp > .deps/$(*F).P; \
377 tr ' ' '\012' < .deps/$(*F).pp \
378 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
388 installcheck: installcheck-am
389 install-exec-am: install-binPROGRAMS
390 install-exec: install-exec-am
392 install-data-am: install-pkgdataDATA
393 install-data: install-data-am
396 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
398 uninstall-am: uninstall-binPROGRAMS uninstall-pkgdataDATA
399 uninstall: uninstall-am
400 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
403 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
405 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(pkgdatadir)
413 -rm -f Makefile $(CONFIG_CLEAN_FILES)
414 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
416 maintainer-clean-generic:
417 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
418 mostlyclean-kr mostlyclean-tags mostlyclean-depend \
421 mostlyclean: mostlyclean-am
423 clean-am: clean-binPROGRAMS clean-compile clean-kr clean-tags \
424 clean-depend clean-generic mostlyclean-am
428 distclean-am: distclean-binPROGRAMS distclean-compile distclean-kr \
429 distclean-tags distclean-depend distclean-generic \
432 distclean: distclean-am
434 maintainer-clean-am: maintainer-clean-binPROGRAMS \
435 maintainer-clean-compile maintainer-clean-kr \
436 maintainer-clean-tags maintainer-clean-depend \
437 maintainer-clean-generic distclean-am
438 @echo "This command is intended for maintainers to use;"
439 @echo "it deletes files that may require special tools to rebuild."
441 maintainer-clean: maintainer-clean-am
443 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
444 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
445 mostlyclean-compile distclean-compile clean-compile \
446 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
447 maintainer-clean-kr uninstall-pkgdataDATA install-pkgdataDATA tags \
448 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
449 distdir mostlyclean-depend distclean-depend clean-depend \
450 maintainer-clean-depend info-am info dvi-am dvi check check-am \
451 installcheck-am installcheck install-exec-am install-exec \
452 install-data-am install-data install-am install uninstall-am uninstall \
453 all-redirect all-am all installdirs mostlyclean-generic \
454 distclean-generic clean-generic maintainer-clean-generic clean \
455 mostlyclean distclean maintainer-clean
458 # Tell versions [3.59,3.63) of GNU make to not export all variables.
459 # Otherwise a system limit (for SysV at least) may be exceeded.