1 # Makefile.in generated automatically by automake 1.4 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 AT_TESTPATH = @AT_TESTPATH@
62 CATOBJEXT = @CATOBJEXT@
65 DATADIRNAME = @DATADIRNAME@
74 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
75 INSTOBJEXT = @INSTOBJEXT@
82 MKINSTALLDIRS = @MKINSTALLDIRS@
89 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
92 WARNING_CFLAGS = @WARNING_CFLAGS@
95 AUTOMAKE_OPTIONS = 1.4 ../lib/ansi2knr
96 DEFS = @DEFS@ -DBISON_SIMPLE=\"$(pkgdatadir)/bison.simple\" -DBISON_HAIRY=\"$(pkgdatadir)/bison.hairy\" -DLOCALEDIR=\"$(datadir)/locale\"
99 INCLUDES = -I../intl -I$(top_srcdir)/lib -I..
100 LDADD = @INTLLIBS@ ../lib/libbison.a
104 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
107 EXTRA_bison_SOURCES = vmsgetargs.c
109 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
112 pkgdata_DATA = bison.simple bison.hairy
114 EXTRA_DIST = $(pkgdata_DATA) build.com bison.cld vmshlp.mar
115 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
116 CONFIG_HEADER = ../config.h
118 PROGRAMS = $(bin_PROGRAMS)
120 CPPFLAGS = @CPPFLAGS@
123 ANSI2KNR = ../lib/ansi2knr
124 bison_OBJECTS = LR0$U.o closure$U.o complain$U.o conflicts$U.o \
125 derives$U.o files$U.o getargs$U.o gram$U.o lalr$U.o lex$U.o main$U.o \
126 nullable$U.o output$U.o print$U.o reader$U.o reduce$U.o symtab$U.o \
128 bison_LDADD = $(LDADD)
129 bison_DEPENDENCIES = ../lib/libbison.a
132 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
135 DATA = $(pkgdata_DATA)
137 HEADERS = $(noinst_HEADERS)
139 DIST_COMMON = Makefile.am Makefile.in
142 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
146 DEP_FILES = .deps/LR0.P .deps/closure.P .deps/complain.P \
147 .deps/conflicts.P .deps/derives.P .deps/files.P .deps/getargs.P \
148 .deps/gram.P .deps/lalr.P .deps/lex.P .deps/main.P .deps/nullable.P \
149 .deps/output.P .deps/print.P .deps/reader.P .deps/reduce.P \
150 .deps/symtab.P .deps/vmsgetargs.P .deps/warshall.P
151 SOURCES = $(bison_SOURCES) $(EXTRA_bison_SOURCES)
152 OBJECTS = $(bison_OBJECTS)
156 .SUFFIXES: .S .c .o .s
157 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
158 cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
160 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
162 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
165 mostlyclean-binPROGRAMS:
168 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
170 distclean-binPROGRAMS:
172 maintainer-clean-binPROGRAMS:
174 install-binPROGRAMS: $(bin_PROGRAMS)
176 $(mkinstalldirs) $(DESTDIR)$(bindir)
177 @list='$(bin_PROGRAMS)'; for p in $$list; do \
178 if test -f $$p; then \
179 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
180 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
184 uninstall-binPROGRAMS:
186 list='$(bin_PROGRAMS)'; for p in $$list; do \
187 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
197 -rm -f *.o core *.core
204 maintainer-clean-compile:
205 ../lib/ansi2knr: ../lib/ansi2knr.o
206 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
209 cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.o
221 bison: $(bison_OBJECTS) $(bison_DEPENDENCIES)
223 $(LINK) $(bison_LDFLAGS) $(bison_OBJECTS) $(bison_LDADD) $(LIBS)
224 LR0_.c: LR0.c $(ANSI2KNR)
225 $(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
226 closure_.c: closure.c $(ANSI2KNR)
227 $(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
228 complain_.c: complain.c $(ANSI2KNR)
229 $(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
230 conflicts_.c: conflicts.c $(ANSI2KNR)
231 $(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
232 derives_.c: derives.c $(ANSI2KNR)
233 $(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
234 files_.c: files.c $(ANSI2KNR)
235 $(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
236 getargs_.c: getargs.c $(ANSI2KNR)
237 $(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
238 gram_.c: gram.c $(ANSI2KNR)
239 $(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
240 lalr_.c: lalr.c $(ANSI2KNR)
241 $(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
242 lex_.c: lex.c $(ANSI2KNR)
243 $(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
244 main_.c: main.c $(ANSI2KNR)
245 $(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
246 nullable_.c: nullable.c $(ANSI2KNR)
247 $(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
248 output_.c: output.c $(ANSI2KNR)
249 $(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
250 print_.c: print.c $(ANSI2KNR)
251 $(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
252 reader_.c: reader.c $(ANSI2KNR)
253 $(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
254 reduce_.c: reduce.c $(ANSI2KNR)
255 $(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
256 symtab_.c: symtab.c $(ANSI2KNR)
257 $(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
258 vmsgetargs_.c: vmsgetargs.c $(ANSI2KNR)
259 $(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
260 warshall_.c: warshall.c $(ANSI2KNR)
261 $(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
262 LR0_.o closure_.o complain_.o conflicts_.o derives_.o files_.o \
263 getargs_.o gram_.o lalr_.o lex_.o main_.o nullable_.o output_.o \
264 print_.o reader_.o reduce_.o symtab_.o vmsgetargs_.o warshall_.o : \
267 install-pkgdataDATA: $(pkgdata_DATA)
269 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
270 @list='$(pkgdata_DATA)'; for p in $$list; do \
271 if test -f $(srcdir)/$$p; then \
272 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
273 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
274 else if test -f $$p; then \
275 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
276 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
280 uninstall-pkgdataDATA:
282 list='$(pkgdata_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
292 END { for (i in files) print i; }'`; \
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
302 END { for (i in files) print i; }'`; \
303 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
304 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
313 maintainer-clean-tags:
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
319 distdir: $(DISTFILES)
320 here=`cd $(top_builddir) && pwd`; \
321 top_distdir=`cd $(top_distdir) && pwd`; \
322 distdir=`cd $(distdir) && pwd`; \
324 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
325 @for file in $(DISTFILES); do \
327 if test -d $$d/$$file; then \
328 cp -pr $$d/$$file $(distdir)/$$file; \
330 test -f $(distdir)/$$file \
331 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
332 || cp -p $$d/$$file $(distdir)/$$file || :; \
336 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
338 -include $(DEP_FILES)
347 maintainer-clean-depend:
350 @echo '$(COMPILE) -c $<'; \
351 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
352 @-cp .deps/$(*F).pp .deps/$(*F).P; \
353 tr ' ' '\012' < .deps/$(*F).pp \
354 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
359 @echo '$(LTCOMPILE) -c $<'; \
360 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
361 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
362 < .deps/$(*F).pp > .deps/$(*F).P; \
363 tr ' ' '\012' < .deps/$(*F).pp \
364 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
374 installcheck: installcheck-am
375 install-exec-am: install-binPROGRAMS
376 install-exec: install-exec-am
378 install-data-am: install-pkgdataDATA
379 install-data: install-data-am
382 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
384 uninstall-am: uninstall-binPROGRAMS uninstall-pkgdataDATA
385 uninstall: uninstall-am
386 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
389 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
391 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(pkgdatadir)
399 -rm -f Makefile $(CONFIG_CLEAN_FILES)
400 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
402 maintainer-clean-generic:
403 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
404 mostlyclean-kr mostlyclean-tags mostlyclean-depend \
407 mostlyclean: mostlyclean-am
409 clean-am: clean-binPROGRAMS clean-compile clean-kr clean-tags \
410 clean-depend clean-generic mostlyclean-am
414 distclean-am: distclean-binPROGRAMS distclean-compile distclean-kr \
415 distclean-tags distclean-depend distclean-generic \
418 distclean: distclean-am
420 maintainer-clean-am: maintainer-clean-binPROGRAMS \
421 maintainer-clean-compile maintainer-clean-kr \
422 maintainer-clean-tags maintainer-clean-depend \
423 maintainer-clean-generic distclean-am
424 @echo "This command is intended for maintainers to use;"
425 @echo "it deletes files that may require special tools to rebuild."
427 maintainer-clean: maintainer-clean-am
429 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
430 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
431 mostlyclean-compile distclean-compile clean-compile \
432 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
433 maintainer-clean-kr uninstall-pkgdataDATA install-pkgdataDATA tags \
434 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
435 distdir mostlyclean-depend distclean-depend clean-depend \
436 maintainer-clean-depend info-am info dvi-am dvi check check-am \
437 installcheck-am installcheck install-exec-am install-exec \
438 install-data-am install-data install-am install uninstall-am uninstall \
439 all-redirect all-am all installdirs mostlyclean-generic \
440 distclean-generic clean-generic maintainer-clean-generic clean \
441 mostlyclean distclean maintainer-clean
444 # Tell versions [3.59,3.63) of GNU make to not export all variables.
445 # Otherwise a system limit (for SysV at least) may be exceeded.