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@
65
READLINELIB = @READLINELIB@
71
bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
73
EXTRA_DIST = bc.h bcdefs.h const.h fix-libmath_h global.h libmath.b proto.h sbc.y
75
noinst_HEADERS = libmath.h
77
DISTCLEANFILES = sbc sbc.c sbc.h
79
MAINTAINERCLEANFILES = Makefile.in libmath.h bc.c bc.h scan.c
81
INCLUDES = -I$(srcdir) -I$(srcdir)/../h
82
LIBBC = ../lib/libbc.a
84
LDADD = $(LIBBC) $(LIBL) @READLINELIB@
88
CFLAGS = @CFLAGS@ -Wall -funsigned-char
90
fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o
92
sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o
93
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
94
CONFIG_HEADER = ../config.h
96
PROGRAMS = $(bin_PROGRAMS)
99
DEFS = @DEFS@ -I. -I$(srcdir) -I..
100
CPPFLAGS = @CPPFLAGS@
103
bc_OBJECTS = main.o bc.o scan.o execute.o load.o storage.o util.o \
106
bc_DEPENDENCIES = ../lib/libbc.a
108
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
110
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
112
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
113
HEADERS = $(noinst_HEADERS)
115
DIST_COMMON = Makefile.am Makefile.in bc.c scan.c
118
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
122
SOURCES = $(bc_SOURCES)
123
OBJECTS = $(bc_OBJECTS)
127
.SUFFIXES: .S .c .l .o .s .y
128
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
129
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bc/Makefile
131
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
133
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
136
mostlyclean-binPROGRAMS:
139
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
141
distclean-binPROGRAMS:
143
maintainer-clean-binPROGRAMS:
145
install-binPROGRAMS: $(bin_PROGRAMS)
147
$(mkinstalldirs) $(DESTDIR)$(bindir)
148
@list='$(bin_PROGRAMS)'; for p in $$list; do \
149
if test -f $$p; then \
150
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
151
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
155
uninstall-binPROGRAMS:
157
list='$(bin_PROGRAMS)'; for p in $$list; do \
158
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
171
-rm -f *.o core *.core
178
maintainer-clean-compile:
180
bc: $(bc_OBJECTS) $(bc_DEPENDENCIES)
182
$(LINK) $(bc_LDFLAGS) $(bc_OBJECTS) $(bc_LDADD) $(LIBS)
184
$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
186
$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
187
if test -f y.tab.h; then \
188
if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
195
ID: $(HEADERS) $(SOURCES) $(LISP)
196
list='$(SOURCES) $(HEADERS)'; \
197
unique=`for i in $$list; do echo $$i; done | \
198
awk ' { files[$$0] = 1; } \
199
END { for (i in files) print i; }'`; \
200
here=`pwd` && cd $(srcdir) \
201
&& mkid -f$$here/ID $$unique $(LISP)
203
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
206
list='$(SOURCES) $(HEADERS)'; \
207
unique=`for i in $$list; do echo $$i; done | \
208
awk ' { files[$$0] = 1; } \
209
END { for (i in files) print i; }'`; \
210
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
211
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
220
maintainer-clean-tags:
222
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
226
distdir: $(DISTFILES)
227
@for file in $(DISTFILES); do \
229
if test -d $$d/$$file; then \
230
cp -pr $$/$$file $(distdir)/$$file; \
232
test -f $(distdir)/$$file \
233
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
234
|| cp -p $$d/$$file $(distdir)/$$file || :; \
237
bc.o: bc.c bcdefs.h ../config.h const.h ../h/number.h global.h proto.h
238
execute.o: execute.c bcdefs.h ../config.h const.h ../h/number.h global.h \
240
global.o: global.c bcdefs.h ../config.h const.h ../h/number.h global.h \
242
load.o: load.c bcdefs.h ../config.h const.h ../h/number.h global.h \
244
main.o: main.c bcdefs.h ../config.h const.h ../h/number.h global.h \
245
proto.h ../h/getopt.h
246
scan.o: scan.c bcdefs.h ../config.h const.h ../h/number.h bc.h global.h \
248
storage.o: storage.c bcdefs.h ../config.h const.h ../h/number.h global.h \
250
util.o: util.c bcdefs.h ../config.h const.h ../h/number.h global.h \
260
installcheck: installcheck-am
261
install-exec-am: install-binPROGRAMS
262
install-exec: install-exec-am
265
install-data: install-data-am
268
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
270
uninstall-am: uninstall-binPROGRAMS
271
uninstall: uninstall-am
272
all-am: Makefile $(PROGRAMS) $(HEADERS)
275
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
277
$(mkinstalldirs) $(DESTDIR)$(bindir)
285
-rm -f Makefile $(CONFIG_CLEAN_FILES)
286
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
287
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
289
maintainer-clean-generic:
290
-test -z "scanlbchbcc$(MAINTAINERCLEANFILES)" || rm -f scanl bch bcc $(MAINTAINERCLEANFILES)
291
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
292
mostlyclean-tags mostlyclean-generic
294
mostlyclean: mostlyclean-am
296
clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
301
distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
302
distclean-generic clean-am
304
distclean: distclean-am
306
maintainer-clean-am: maintainer-clean-binPROGRAMS \
307
maintainer-clean-compile maintainer-clean-tags \
308
maintainer-clean-generic distclean-am
309
@echo "This command is intended for maintainers to use;"
310
@echo "it deletes files that may require special tools to rebuild."
312
maintainer-clean: maintainer-clean-am
314
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
315
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
316
mostlyclean-compile distclean-compile clean-compile \
317
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
318
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
319
check-am installcheck-am installcheck install-exec-am install-exec \
320
install-data-am install-data install-am install uninstall-am uninstall \
321
all-redirect all-am all installdirs mostlyclean-generic \
322
distclean-generic clean-generic maintainer-clean-generic clean \
323
mostlyclean distclean maintainer-clean
326
$(PROGRAMS): $(LIBBC)
332
echo '{0}' > libmath.h
334
./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h
335
$(srcdir)/fix-libmath_h
338
$(LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)
341
$(LINK) $(sbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)
343
# Tell versions [3.59,3.63) of GNU make to not export all variables.
344
# Otherwise a system limit (for SysV at least) may be exceeded.