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 macrotab.c nullable.c output.c print.c reader.c reduce.c symtab.c warshall.c vcg.c print_graph.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 macrotab.h nullable.h output.h state.h print.h reader.h reduce.h symtab.h warshall.h system.h types.h vcg.h vcg_defaults.h print_graph.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 macrotab$U.o nullable$U.o output$U.o print$U.o reader$U.o reduce$U.o \
129 symtab$U.o warshall$U.o vcg$U.o print_graph$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/macrotab.P .deps/main.P \
151 .deps/nullable.P .deps/output.P .deps/print.P .deps/print_graph.P \
152 .deps/reader.P .deps/reduce.P .deps/symtab.P .deps/vcg.P \
153 .deps/vmsgetargs.P .deps/warshall.P
154 SOURCES = $(bison_SOURCES) $(EXTRA_bison_SOURCES)
155 OBJECTS = $(bison_OBJECTS)
159 .SUFFIXES: .S .c .o .s
160 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
161 cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
163 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
165 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
168 mostlyclean-binPROGRAMS:
171 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
173 distclean-binPROGRAMS:
175 maintainer-clean-binPROGRAMS:
177 install-binPROGRAMS: $(bin_PROGRAMS)
179 $(mkinstalldirs) $(DESTDIR)$(bindir)
180 @list='$(bin_PROGRAMS)'; for p in $$list; do \
181 if test -f $$p; then \
182 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
183 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
187 uninstall-binPROGRAMS:
189 list='$(bin_PROGRAMS)'; for p in $$list; do \
190 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
200 -rm -f *.o core *.core
207 maintainer-clean-compile:
208 ../lib/ansi2knr: ../lib/ansi2knr.o
209 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
212 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.o
224 bison: $(bison_OBJECTS) $(bison_DEPENDENCIES)
226 $(LINK) $(bison_LDFLAGS) $(bison_OBJECTS) $(bison_LDADD) $(LIBS)
227 LR0_.c: LR0.c $(ANSI2KNR)
228 $(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
229 closure_.c: closure.c $(ANSI2KNR)
230 $(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
231 complain_.c: complain.c $(ANSI2KNR)
232 $(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
233 conflicts_.c: conflicts.c $(ANSI2KNR)
234 $(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
235 derives_.c: derives.c $(ANSI2KNR)
236 $(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
237 files_.c: files.c $(ANSI2KNR)
238 $(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
239 getargs_.c: getargs.c $(ANSI2KNR)
240 $(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
241 gram_.c: gram.c $(ANSI2KNR)
242 $(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
243 lalr_.c: lalr.c $(ANSI2KNR)
244 $(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
245 lex_.c: lex.c $(ANSI2KNR)
246 $(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
247 macrotab_.c: macrotab.c $(ANSI2KNR)
248 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/macrotab.c; then echo $(srcdir)/macrotab.c; else echo macrotab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > macrotab_.c
249 main_.c: main.c $(ANSI2KNR)
250 $(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
251 nullable_.c: nullable.c $(ANSI2KNR)
252 $(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
253 output_.c: output.c $(ANSI2KNR)
254 $(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
255 print_.c: print.c $(ANSI2KNR)
256 $(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
257 print_graph_.c: print_graph.c $(ANSI2KNR)
258 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/print_graph.c; then echo $(srcdir)/print_graph.c; else echo print_graph.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > print_graph_.c
259 reader_.c: reader.c $(ANSI2KNR)
260 $(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
261 reduce_.c: reduce.c $(ANSI2KNR)
262 $(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
263 symtab_.c: symtab.c $(ANSI2KNR)
264 $(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
265 vcg_.c: vcg.c $(ANSI2KNR)
266 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/vcg.c; then echo $(srcdir)/vcg.c; else echo vcg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > vcg_.c
267 vmsgetargs_.c: vmsgetargs.c $(ANSI2KNR)
268 $(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
269 warshall_.c: warshall.c $(ANSI2KNR)
270 $(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
271 LR0_.o closure_.o complain_.o conflicts_.o derives_.o files_.o \
272 getargs_.o gram_.o lalr_.o lex_.o macrotab_.o main_.o nullable_.o \
273 output_.o print_.o print_graph_.o reader_.o reduce_.o symtab_.o vcg_.o \
274 vmsgetargs_.o warshall_.o : $(ANSI2KNR)
276 install-pkgdataDATA: $(pkgdata_DATA)
278 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
279 @list='$(pkgdata_DATA)'; for p in $$list; do \
280 if test -f $(srcdir)/$$p; then \
281 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
282 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
283 else if test -f $$p; then \
284 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
285 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
289 uninstall-pkgdataDATA:
291 list='$(pkgdata_DATA)'; for p in $$list; do \
292 rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
297 ID: $(HEADERS) $(SOURCES) $(LISP)
298 list='$(SOURCES) $(HEADERS)'; \
299 unique=`for i in $$list; do echo $$i; done | \
300 awk ' { files[$$0] = 1; } \
301 END { for (i in files) print i; }'`; \
302 here=`pwd` && cd $(srcdir) \
303 && mkid -f$$here/ID $$unique $(LISP)
305 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
308 list='$(SOURCES) $(HEADERS)'; \
309 unique=`for i in $$list; do echo $$i; done | \
310 awk ' { files[$$0] = 1; } \
311 END { for (i in files) print i; }'`; \
312 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
313 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
322 maintainer-clean-tags:
324 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
328 distdir: $(DISTFILES)
329 here=`cd $(top_builddir) && pwd`; \
330 top_distdir=`cd $(top_distdir) && pwd`; \
331 distdir=`cd $(distdir) && pwd`; \
333 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
334 @for file in $(DISTFILES); do \
336 if test -d $$d/$$file; then \
337 cp -pr $$d/$$file $(distdir)/$$file; \
339 test -f $(distdir)/$$file \
340 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
341 || cp -p $$d/$$file $(distdir)/$$file || :; \
345 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
347 -include $(DEP_FILES)
356 maintainer-clean-depend:
359 @echo '$(COMPILE) -c $<'; \
360 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
361 @-cp .deps/$(*F).pp .deps/$(*F).P; \
362 tr ' ' '\012' < .deps/$(*F).pp \
363 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
368 @echo '$(LTCOMPILE) -c $<'; \
369 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
370 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
371 < .deps/$(*F).pp > .deps/$(*F).P; \
372 tr ' ' '\012' < .deps/$(*F).pp \
373 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
383 installcheck: installcheck-am
384 install-exec-am: install-binPROGRAMS
385 install-exec: install-exec-am
387 install-data-am: install-pkgdataDATA
388 install-data: install-data-am
391 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
393 uninstall-am: uninstall-binPROGRAMS uninstall-pkgdataDATA
394 uninstall: uninstall-am
395 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
398 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
400 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(pkgdatadir)
408 -rm -f Makefile $(CONFIG_CLEAN_FILES)
409 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
411 maintainer-clean-generic:
412 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
413 mostlyclean-kr mostlyclean-tags mostlyclean-depend \
416 mostlyclean: mostlyclean-am
418 clean-am: clean-binPROGRAMS clean-compile clean-kr clean-tags \
419 clean-depend clean-generic mostlyclean-am
423 distclean-am: distclean-binPROGRAMS distclean-compile distclean-kr \
424 distclean-tags distclean-depend distclean-generic \
427 distclean: distclean-am
429 maintainer-clean-am: maintainer-clean-binPROGRAMS \
430 maintainer-clean-compile maintainer-clean-kr \
431 maintainer-clean-tags maintainer-clean-depend \
432 maintainer-clean-generic distclean-am
433 @echo "This command is intended for maintainers to use;"
434 @echo "it deletes files that may require special tools to rebuild."
436 maintainer-clean: maintainer-clean-am
438 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
439 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
440 mostlyclean-compile distclean-compile clean-compile \
441 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
442 maintainer-clean-kr uninstall-pkgdataDATA install-pkgdataDATA tags \
443 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
444 distdir mostlyclean-depend distclean-depend clean-depend \
445 maintainer-clean-depend info-am info dvi-am dvi check check-am \
446 installcheck-am installcheck install-exec-am install-exec \
447 install-data-am install-data install-am install uninstall-am uninstall \
448 all-redirect all-am all installdirs mostlyclean-generic \
449 distclean-generic clean-generic maintainer-clean-generic clean \
450 mostlyclean distclean maintainer-clean
453 # Tell versions [3.59,3.63) of GNU make to not export all variables.
454 # Otherwise a system limit (for SysV at least) may be exceeded.