1# Makefile.in generated automatically by automake 1.4 from Makefile.am 2 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. 7 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 11# PARTICULAR PURPOSE. 12 13 14SHELL = @SHELL@ 15 16srcdir = @srcdir@ 17top_srcdir = @top_srcdir@ 18VPATH = @srcdir@ 19prefix = @prefix@ 20exec_prefix = @exec_prefix@ 21 22bindir = @bindir@ 23sbindir = @sbindir@ 24libexecdir = @libexecdir@ 25datadir = @datadir@ 26sysconfdir = @sysconfdir@ 27sharedstatedir = @sharedstatedir@ 28localstatedir = @localstatedir@ 29libdir = @libdir@ 30infodir = @infodir@ 31mandir = @mandir@ 32includedir = @includedir@ 33oldincludedir = /usr/include 34 35DESTDIR = 36 37pkgdatadir = $(datadir)/@PACKAGE@ 38pkglibdir = $(libdir)/@PACKAGE@ 39pkgincludedir = $(includedir)/@PACKAGE@ 40 41top_builddir = .. 42 43ACLOCAL = @ACLOCAL@ 44AUTOCONF = @AUTOCONF@ 45AUTOMAKE = @AUTOMAKE@ 46AUTOHEADER = @AUTOHEADER@ 47 48INSTALL = @INSTALL@ 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 50INSTALL_DATA = @INSTALL_DATA@ 51INSTALL_SCRIPT = @INSTALL_SCRIPT@ 52transform = @program_transform_name@ 53 54NORMAL_INSTALL = : 55PRE_INSTALL = : 56POST_INSTALL = : 57NORMAL_UNINSTALL = : 58PRE_UNINSTALL = : 59POST_UNINSTALL = : 60CC = @CC@ 61LEX = @LEX@ 62MAKEINFO = @MAKEINFO@ 63PACKAGE = @PACKAGE@ 64RANLIB = @RANLIB@ 65READLINELIB = @READLINELIB@ 66VERSION = @VERSION@ 67YACC = @YACC@ 68 69bin_PROGRAMS = bc 70 71bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c 72 73EXTRA_DIST = bc.h bcdefs.h const.h fix-libmath_h global.h libmath.b proto.h sbc.y 74 75noinst_HEADERS = libmath.h 76 77DISTCLEANFILES = sbc sbc.c sbc.h 78 79MAINTAINERCLEANFILES = Makefile.in libmath.h bc.c bc.h scan.c 80 81INCLUDES = -I$(srcdir) -I$(srcdir)/../h 82LIBBC = ../lib/libbc.a 83LIBL = @LEXLIB@ 84LDADD = $(LIBBC) $(LIBL) @READLINELIB@ 85 86YFLAGS = -d 87 88CFLAGS = @CFLAGS@ -Wall -funsigned-char 89 90fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o 91 92sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o 93mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 94CONFIG_HEADER = ../config.h 95CONFIG_CLEAN_FILES = 96PROGRAMS = $(bin_PROGRAMS) 97 98 99DEFS = @DEFS@ -I. -I$(srcdir) -I.. 100CPPFLAGS = @CPPFLAGS@ 101LDFLAGS = @LDFLAGS@ 102LIBS = @LIBS@ 103bc_OBJECTS = main.o bc.o scan.o execute.o load.o storage.o util.o \ 104global.o 105bc_LDADD = $(LDADD) 106bc_DEPENDENCIES = ../lib/libbc.a 107bc_LDFLAGS = 108LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 109LEXLIB = @LEXLIB@ 110COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 111CCLD = $(CC) 112LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 113HEADERS = $(noinst_HEADERS) 114 115DIST_COMMON = Makefile.am Makefile.in bc.c scan.c 116 117 118DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 119 120TAR = tar 121GZIP_ENV = --best 122SOURCES = $(bc_SOURCES) 123OBJECTS = $(bc_OBJECTS) 124 125all: all-redirect 126.SUFFIXES: 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 130 131Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 132 cd $(top_builddir) \ 133 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 134 135 136mostlyclean-binPROGRAMS: 137 138clean-binPROGRAMS: 139 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 140 141distclean-binPROGRAMS: 142 143maintainer-clean-binPROGRAMS: 144 145install-binPROGRAMS: $(bin_PROGRAMS) 146 @$(NORMAL_INSTALL) 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)/'`; \ 152 else :; fi; \ 153 done 154 155uninstall-binPROGRAMS: 156 @$(NORMAL_UNINSTALL) 157 list='$(bin_PROGRAMS)'; for p in $$list; do \ 158 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 159 done 160 161.c.o: 162 $(COMPILE) -c $< 163 164.s.o: 165 $(COMPILE) -c $< 166 167.S.o: 168 $(COMPILE) -c $< 169 170mostlyclean-compile: 171 -rm -f *.o core *.core 172 173clean-compile: 174 175distclean-compile: 176 -rm -f *.tab.c 177 178maintainer-clean-compile: 179 180bc: $(bc_OBJECTS) $(bc_DEPENDENCIES) 181 @rm -f bc 182 $(LINK) $(bc_LDFLAGS) $(bc_OBJECTS) $(bc_LDADD) $(LIBS) 183.l.c: 184 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ 185.y.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; \ 189 else :; fi 190bc.h: bc.c 191 192 193tags: TAGS 194 195ID: $(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) 202 203TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 204 tags=; \ 205 here=`pwd`; \ 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) 212 213mostlyclean-tags: 214 215clean-tags: 216 217distclean-tags: 218 -rm -f TAGS ID 219 220maintainer-clean-tags: 221 222distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) 223 224subdir = bc 225 226distdir: $(DISTFILES) 227 @for file in $(DISTFILES); do \ 228 d=$(srcdir); \ 229 if test -d $$d/$$file; then \ 230 cp -pr $$/$$file $(distdir)/$$file; \ 231 else \ 232 test -f $(distdir)/$$file \ 233 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 234 || cp -p $$d/$$file $(distdir)/$$file || :; \ 235 fi; \ 236 done 237bc.o: bc.c bcdefs.h ../config.h const.h ../h/number.h global.h proto.h 238execute.o: execute.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 239 proto.h 240global.o: global.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 241 libmath.h 242load.o: load.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 243 proto.h 244main.o: main.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 245 proto.h ../h/getopt.h 246scan.o: scan.c bcdefs.h ../config.h const.h ../h/number.h bc.h global.h \ 247 proto.h 248storage.o: storage.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 249 proto.h 250util.o: util.c bcdefs.h ../config.h const.h ../h/number.h global.h \ 251 proto.h 252 253info-am: 254info: info-am 255dvi-am: 256dvi: dvi-am 257check-am: all-am 258check: check-am 259installcheck-am: 260installcheck: installcheck-am 261install-exec-am: install-binPROGRAMS 262install-exec: install-exec-am 263 264install-data-am: 265install-data: install-data-am 266 267install-am: all-am 268 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 269install: install-am 270uninstall-am: uninstall-binPROGRAMS 271uninstall: uninstall-am 272all-am: Makefile $(PROGRAMS) $(HEADERS) 273all-redirect: all-am 274install-strip: 275 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 276installdirs: 277 $(mkinstalldirs) $(DESTDIR)$(bindir) 278 279 280mostlyclean-generic: 281 282clean-generic: 283 284distclean-generic: 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) 288 289maintainer-clean-generic: 290 -test -z "scanlbchbcc$(MAINTAINERCLEANFILES)" || rm -f scanl bch bcc $(MAINTAINERCLEANFILES) 291mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ 292 mostlyclean-tags mostlyclean-generic 293 294mostlyclean: mostlyclean-am 295 296clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ 297 mostlyclean-am 298 299clean: clean-am 300 301distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ 302 distclean-generic clean-am 303 304distclean: distclean-am 305 306maintainer-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." 311 312maintainer-clean: maintainer-clean-am 313 314.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 315maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 316mostlyclean-compile distclean-compile clean-compile \ 317maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 318clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ 319check-am installcheck-am installcheck install-exec-am install-exec \ 320install-data-am install-data install-am install uninstall-am uninstall \ 321all-redirect all-am all installdirs mostlyclean-generic \ 322distclean-generic clean-generic maintainer-clean-generic clean \ 323mostlyclean distclean maintainer-clean 324 325 326$(PROGRAMS): $(LIBBC) 327 328scan.o: bc.h 329global.o: libmath.h 330 331libmath.h: libmath.b 332 echo '{0}' > libmath.h 333 $(MAKE) fbc 334 ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h 335 $(srcdir)/fix-libmath_h 336 rm -f ./fbc 337fbc: $(fbcOBJ) 338 $(LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) 339sbc.o: sbc.c 340sbc: $(sbcOBJ) 341 $(LINK) $(sbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) 342 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. 345.NOEXPORT: 346