1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
45 AUTOHEADER = @AUTOHEADER@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
69 bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
71 EXTRA_DIST = bc.h fix-libmath_h libmath.b sbc.y
72 noinst_HEADERS = libmath.h
74 DISTCLEANFILES = sbc sbc.c sbc.h
75 MAINTAINERCLEANFILES = libmath.h bc.c bc.h
77 datadir = $(prefix)/@DATADIRNAME@
79 INCLUDES = -I$(srcdir) -I$(srcdir)/../h
80 LDADD = ../lib/libbc.a @LEXLIB@
84 fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o
86 sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o
87 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
88 CONFIG_HEADER = ../config.h
90 PROGRAMS = $(bin_PROGRAMS)
93 DEFS = @DEFS@ -I. -I$(srcdir) -I..
97 bc_OBJECTS = main.o bc.o scan.o execute.o load.o storage.o util.o \
100 bc_DEPENDENCIES = ../lib/libbc.a
102 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
105 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
106 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
107 HEADERS = $(noinst_HEADERS)
109 DIST_COMMON = Makefile.am Makefile.in bc.c scan.c
112 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
116 SOURCES = $(bc_SOURCES)
117 OBJECTS = $(bc_OBJECTS)
119 all: Makefile $(PROGRAMS) $(HEADERS)
122 .SUFFIXES: .S .c .l .o .s .y
123 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
124 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bc/Makefile
126 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
128 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
131 mostlyclean-binPROGRAMS:
134 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
136 distclean-binPROGRAMS:
138 maintainer-clean-binPROGRAMS:
140 install-binPROGRAMS: $(bin_PROGRAMS)
142 $(mkinstalldirs) $(DESTDIR)$(bindir)
143 @list='$(bin_PROGRAMS)'; for p in $$list; do \
144 if test -f $$p; then \
145 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
146 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
150 uninstall-binPROGRAMS:
152 list='$(bin_PROGRAMS)'; for p in $$list; do \
153 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
166 -rm -f *.o core *.core
173 maintainer-clean-compile:
175 bc: $(bc_OBJECTS) $(bc_DEPENDENCIES)
177 $(LINK) $(bc_LDFLAGS) $(bc_OBJECTS) $(bc_LDADD) $(LIBS)
179 $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c
180 if test -f y.tab.h; then \
181 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
186 $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
190 ID: $(HEADERS) $(SOURCES) $(LISP)
191 here=`pwd` && cd $(srcdir) \
192 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
194 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
197 list='$(SOURCES) $(HEADERS)'; \
198 unique=`for i in $$list; do echo $$i; done | \
199 awk ' { files[$$0] = 1; } \
200 END { for (i in files) print i; }'`; \
201 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
202 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
211 maintainer-clean-tags:
213 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
217 distdir: $(DISTFILES)
218 @for file in $(DISTFILES); do \
220 test -f $(distdir)/$$file \
221 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
222 || cp -p $$d/$$file $(distdir)/$$file; \
229 install-exec: install-binPROGRAMS
232 install-data: install-data-local
235 install: install-exec install-data all
238 uninstall: uninstall-binPROGRAMS
241 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
243 $(mkinstalldirs) $(DATADIR)$(bindir)
247 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
250 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
253 -rm -f Makefile $(DISTCLEANFILES)
254 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
255 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
257 maintainer-clean-generic:
258 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
259 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
260 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
261 mostlyclean-tags mostlyclean-generic
263 clean: clean-binPROGRAMS clean-compile clean-tags clean-generic \
266 distclean: distclean-binPROGRAMS distclean-compile distclean-tags \
267 distclean-generic clean
270 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
271 maintainer-clean-tags maintainer-clean-generic \
273 @echo "This command is intended for maintainers to use;"
274 @echo "it deletes files that may require special tools to rebuild."
276 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
277 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
278 mostlyclean-compile distclean-compile clean-compile \
279 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
280 clean-tags maintainer-clean-tags distdir info dvi installcheck \
281 install-exec install-data install uninstall all installdirs \
282 mostlyclean-generic distclean-generic clean-generic \
283 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
286 $(PROGRAMS): $(LDADD)
292 echo \"\" > libmath.h
294 ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h
295 $(srcdir)/fix-libmath_h
299 if grep -s "define BC_MATH_FILE" ../config.h; \
300 then $(mkinstalldirs) $(libdir); \
301 rm -f $(libdir)/libmath.b; \
302 $(INSTALL_DATA) $(srcdir)/libmath.b $(libdir); \
303 chmod 444 $(libdir)/libmath.b; \
307 $(LINK) $(fbcOBJ) $(LDADD) $(LIBS)
310 $(LINK) $(sbcOBJ) $(LDADD) $(LIBS)
312 # Tell versions [3.59,3.63) of GNU make to not export all variables.
313 # Otherwise a system limit (for SysV at least) may be exceeded.