5762563 [rkeene@sledge /home/rkeene/devel/old/bc-dos/bc]$ cat -n Makefile
  1 # Generated automatically from Makefile.in by configure.
  2 # Makefile.in generated automatically by automake 1.3 from Makefile.am
  3 
  4 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
  5 # This Makefile.in is free software; the Free Software Foundation
  6 # gives unlimited permission to copy and/or distribute it,
  7 # with or without modifications, as long as this notice is preserved.
  8 
  9 # This program is distributed in the hope that it will be useful,
 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 12 # PARTICULAR PURPOSE.
 13 
 14 
 15 SHELL = /bin/sh
 16 
 17 srcdir = .
 18 top_srcdir = ..
 19 prefix = /usr/local
 20 exec_prefix = ${prefix}
 21 
 22 bindir = ${exec_prefix}/bin
 23 sbindir = ${exec_prefix}/sbin
 24 libexecdir = ${exec_prefix}/libexec
 25 sysconfdir = ${prefix}/etc
 26 sharedstatedir = ${prefix}/com
 27 localstatedir = ${prefix}/var
 28 libdir = ${exec_prefix}/lib
 29 infodir = ${prefix}/info
 30 mandir = ${prefix}/man
 31 includedir = ${prefix}/include
 32 oldincludedir = /usr/include
 33 
 34 DISTDIR =
 35 
 36 pkgdatadir = $(datadir)/bc
 37 pkglibdir = $(libdir)/bc
 38 pkgincludedir = $(includedir)/bc
 39 
 40 top_builddir = ..
 41 
 42 ACLOCAL = aclocal
 43 AUTOCONF = autoconf
 44 AUTOMAKE = automake
 45 AUTOHEADER = autoheader
 46 
 47 INSTALL = /usr/bin/ginstall -c
 48 INSTALL_PROGRAM = ${INSTALL}
 49 INSTALL_DATA = ${INSTALL} -m 644
 50 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
 51 transform = s,x,x,
 52 
 53 NORMAL_INSTALL = :
 54 PRE_INSTALL = :
 55 POST_INSTALL = :
 56 NORMAL_UNINSTALL = :
 57 PRE_UNINSTALL = :
 58 POST_UNINSTALL = :
 59 CC = i586-pc-msdosdjgpp-gcc
 60 LEX = flex -I8
 61 MAKEINFO = makeinfo
 62 PACKAGE = bc
 63 RANLIB = i586-pc-msdosdjgpp-ranlib
 64 VERSION = 1.05
 65 YACC = bison -y
 66 
 67 bin_PROGRAMS = bc
 68 
 69 bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
 70 
 71 EXTRA_DIST = bc.h fix-libmath_h libmath.b sbc.y
 72 noinst_HEADERS = libmath.h
 73 
 74 DISTCLEANFILES = sbc sbc.c sbc.h
 75 MAINTAINERCLEANFILES = libmath.h bc.c bc.h 
 76 
 77 datadir = $(prefix)/@DATADIRNAME@
 78 
 79 INCLUDES = -I$(srcdir) -I$(srcdir)/../h
 80 LDADD = ../lib/libbc.a 
 81 
 82 YFLAGS = -d
 83 
 84 fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o
 85 
 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
 89 CONFIG_CLEAN_FILES = 
 90 PROGRAMS =  $(bin_PROGRAMS)
 91 
 92 
 93 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
 94 CPPFLAGS = 
 95 LDFLAGS = 
 96 LIBS = 
 97 bc_OBJECTS =  main.o bc.o scan.o execute.o load.o storage.o util.o \
 98 global.o
 99 bc_LDADD = $(LDADD)
100 bc_DEPENDENCIES =  ../lib/libbc.a
101 bc_LDFLAGS = 
102 LEX_OUTPUT_ROOT = lex.yy
103 LEXLIB = 
104 CFLAGS = -g -O2
105 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
106 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
107 HEADERS =  $(noinst_HEADERS)
108 
109 DIST_COMMON =  Makefile.am Makefile.in bc.c scan.c
110 
111 
112 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
113 
114 TAR = tar
115 GZIP = --best
116 SOURCES = $(bc_SOURCES)
117 OBJECTS = $(bc_OBJECTS)
118 
119 all: Makefile $(PROGRAMS) $(HEADERS)
120 
121 .SUFFIXES:
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
125 
126 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
127     cd $(top_builddir) \
128       && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
129 
130 
131 mostlyclean-binPROGRAMS:
132 
133 clean-binPROGRAMS:
134     -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
135 
136 distclean-binPROGRAMS:
137 
138 maintainer-clean-binPROGRAMS:
139 
140 install-binPROGRAMS: $(bin_PROGRAMS)
141     @$(NORMAL_INSTALL)
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)'`; \
147       else :; fi; \
148     done
149 
150 uninstall-binPROGRAMS:
151     @$(NORMAL_UNINSTALL)
152     list='$(bin_PROGRAMS)'; for p in $$list; do \
153       rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
154     done
155 
156 .c.o:
157     $(COMPILE) -c $<
158 
159 .s.o:
160     $(COMPILE) -c $<
161 
162 .S.o:
163     $(COMPILE) -c $<
164 
165 mostlyclean-compile:
166     -rm -f *.o core *.core
167 
168 clean-compile:
169 
170 distclean-compile:
171     -rm -f *.tab.c
172 
173 maintainer-clean-compile:
174 
175 bc: $(bc_OBJECTS) $(bc_DEPENDENCIES)
176     @rm -f bc
177     $(LINK) $(bc_LDFLAGS) $(bc_OBJECTS) $(bc_LDADD) $(LIBS)
178 .y.c:
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; \
182     else :; fi
183 bc.h: bc.c
184 
185 .l.c:
186     $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
187 
188 tags: TAGS
189 
190 ID: $(HEADERS) $(SOURCES) $(LISP)
191     here=`pwd` && cd $(srcdir) \
192       && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
193 
194 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
195     tags=; \
196     here=`pwd`; \
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)
203 
204 mostlyclean-tags:
205 
206 clean-tags:
207 
208 distclean-tags:
209     -rm -f TAGS ID
210 
211 maintainer-clean-tags:
212 
213 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
214 
215 subdir = bc
216 
217 distdir: $(DISTFILES)
218     @for file in $(DISTFILES); do \
219       d=$(srcdir); \
220       test -f $(distdir)/$$file \
221       || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
222       || cp -p $$d/$$file $(distdir)/$$file; \
223     done
224 info:
225 dvi:
226 check: all
227     $(MAKE)
228 installcheck:
229 install-exec: install-binPROGRAMS
230     @$(NORMAL_INSTALL)
231 
232 install-data: install-data-local
233     @$(NORMAL_INSTALL)
234 
235 install: install-exec install-data all
236     @:
237 
238 uninstall: uninstall-binPROGRAMS
239 
240 install-strip:
241     $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
242 installdirs:
243     $(mkinstalldirs)  $(DATADIR)$(bindir)
244 
245 
246 mostlyclean-generic:
247     -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
248 
249 clean-generic:
250     -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
251 
252 distclean-generic:
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)
256 
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
262 
263 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
264         mostlyclean
265 
266 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
267         distclean-generic clean
268     -rm -f config.status
269 
270 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
271         maintainer-clean-tags maintainer-clean-generic \
272         distclean
273     @echo "This command is intended for maintainers to use;"
274     @echo "it deletes files that may require special tools to rebuild."
275 
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
284 
285 
286 $(PROGRAMS): $(LDADD)
287 
288 scan.o: bc.h
289 global.o: libmath.h
290 
291 libmath.h: libmath.b
292     echo \"\" > libmath.h
293     $(MAKE) fbc
294     ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h
295     $(srcdir)/fix-libmath_h
296     rm -f ./fbc
297 
298 install-data-local:
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; \
304       else true; \
305     fi
306 fbc: $(fbcOBJ)
307     $(LINK) $(fbcOBJ) $(LDADD) $(LIBS)
308 sbc.o: sbc.c
309 sbc: $(sbcOBJ)
310     $(LINK) $(sbcOBJ) $(LDADD) $(LIBS)
311 
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.
314 .NOEXPORT:
5762564 [rkeene@sledge /home/rkeene/devel/old/bc-dos/bc]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2000-02-09 05:39:21