~ubuntu-branches/ubuntu/maverick/bc/maverick

« back to all changes in this revision

Viewing changes to bc/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2002-04-13 11:33:49 UTC
  • Revision ID: james.westby@ubuntu.com-20020413113349-hl2r1t730b91ov68
Tags: upstream-1.06
ImportĀ upstreamĀ versionĀ 1.06

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
14
SHELL = @SHELL@
 
15
 
 
16
srcdir = @srcdir@
 
17
top_srcdir = @top_srcdir@
 
18
VPATH = @srcdir@
 
19
prefix = @prefix@
 
20
exec_prefix = @exec_prefix@
 
21
 
 
22
bindir = @bindir@
 
23
sbindir = @sbindir@
 
24
libexecdir = @libexecdir@
 
25
datadir = @datadir@
 
26
sysconfdir = @sysconfdir@
 
27
sharedstatedir = @sharedstatedir@
 
28
localstatedir = @localstatedir@
 
29
libdir = @libdir@
 
30
infodir = @infodir@
 
31
mandir = @mandir@
 
32
includedir = @includedir@
 
33
oldincludedir = /usr/include
 
34
 
 
35
DESTDIR =
 
36
 
 
37
pkgdatadir = $(datadir)/@PACKAGE@
 
38
pkglibdir = $(libdir)/@PACKAGE@
 
39
pkgincludedir = $(includedir)/@PACKAGE@
 
40
 
 
41
top_builddir = ..
 
42
 
 
43
ACLOCAL = @ACLOCAL@
 
44
AUTOCONF = @AUTOCONF@
 
45
AUTOMAKE = @AUTOMAKE@
 
46
AUTOHEADER = @AUTOHEADER@
 
47
 
 
48
INSTALL = @INSTALL@
 
49
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 
50
INSTALL_DATA = @INSTALL_DATA@
 
51
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
52
transform = @program_transform_name@
 
53
 
 
54
NORMAL_INSTALL = :
 
55
PRE_INSTALL = :
 
56
POST_INSTALL = :
 
57
NORMAL_UNINSTALL = :
 
58
PRE_UNINSTALL = :
 
59
POST_UNINSTALL = :
 
60
CC = @CC@
 
61
LEX = @LEX@
 
62
MAKEINFO = @MAKEINFO@
 
63
PACKAGE = @PACKAGE@
 
64
RANLIB = @RANLIB@
 
65
READLINELIB = @READLINELIB@
 
66
VERSION = @VERSION@
 
67
YACC = @YACC@
 
68
 
 
69
bin_PROGRAMS = bc
 
70
 
 
71
bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
 
72
 
 
73
EXTRA_DIST = bc.h bcdefs.h const.h fix-libmath_h global.h libmath.b proto.h              sbc.y
 
74
 
 
75
noinst_HEADERS = libmath.h
 
76
 
 
77
DISTCLEANFILES = sbc sbc.c sbc.h
 
78
 
 
79
MAINTAINERCLEANFILES = Makefile.in libmath.h bc.c bc.h scan.c
 
80
 
 
81
INCLUDES = -I$(srcdir) -I$(srcdir)/../h
 
82
LIBBC = ../lib/libbc.a
 
83
LIBL = @LEXLIB@
 
84
LDADD = $(LIBBC) $(LIBL) @READLINELIB@
 
85
 
 
86
YFLAGS = -d
 
87
 
 
88
CFLAGS = @CFLAGS@ -Wall -funsigned-char
 
89
 
 
90
fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o
 
91
 
 
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
 
95
CONFIG_CLEAN_FILES = 
 
96
PROGRAMS =  $(bin_PROGRAMS)
 
97
 
 
98
 
 
99
DEFS = @DEFS@ -I. -I$(srcdir) -I..
 
100
CPPFLAGS = @CPPFLAGS@
 
101
LDFLAGS = @LDFLAGS@
 
102
LIBS = @LIBS@
 
103
bc_OBJECTS =  main.o bc.o scan.o execute.o load.o storage.o util.o \
 
104
global.o
 
105
bc_LDADD = $(LDADD)
 
106
bc_DEPENDENCIES =  ../lib/libbc.a
 
107
bc_LDFLAGS = 
 
108
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
 
109
LEXLIB = @LEXLIB@
 
110
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
111
CCLD = $(CC)
 
112
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
 
113
HEADERS =  $(noinst_HEADERS)
 
114
 
 
115
DIST_COMMON =  Makefile.am Makefile.in bc.c scan.c
 
116
 
 
117
 
 
118
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
119
 
 
120
TAR = tar
 
121
GZIP_ENV = --best
 
122
SOURCES = $(bc_SOURCES)
 
123
OBJECTS = $(bc_OBJECTS)
 
124
 
 
125
all: 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
 
 
131
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
132
        cd $(top_builddir) \
 
133
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
134
 
 
135
 
 
136
mostlyclean-binPROGRAMS:
 
137
 
 
138
clean-binPROGRAMS:
 
139
        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 
140
 
 
141
distclean-binPROGRAMS:
 
142
 
 
143
maintainer-clean-binPROGRAMS:
 
144
 
 
145
install-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
 
 
155
uninstall-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
 
 
170
mostlyclean-compile:
 
171
        -rm -f *.o core *.core
 
172
 
 
173
clean-compile:
 
174
 
 
175
distclean-compile:
 
176
        -rm -f *.tab.c
 
177
 
 
178
maintainer-clean-compile:
 
179
 
 
180
bc: $(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
 
190
bc.h: bc.c
 
191
 
 
192
 
 
193
tags: TAGS
 
194
 
 
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)
 
202
 
 
203
TAGS:  $(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
 
 
213
mostlyclean-tags:
 
214
 
 
215
clean-tags:
 
216
 
 
217
distclean-tags:
 
218
        -rm -f TAGS ID
 
219
 
 
220
maintainer-clean-tags:
 
221
 
 
222
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
223
 
 
224
subdir = bc
 
225
 
 
226
distdir: $(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
 
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 \
 
239
        proto.h
 
240
global.o: global.c bcdefs.h ../config.h const.h ../h/number.h global.h \
 
241
        libmath.h
 
242
load.o: load.c bcdefs.h ../config.h const.h ../h/number.h global.h \
 
243
        proto.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 \
 
247
        proto.h
 
248
storage.o: storage.c bcdefs.h ../config.h const.h ../h/number.h global.h \
 
249
        proto.h
 
250
util.o: util.c bcdefs.h ../config.h const.h ../h/number.h global.h \
 
251
        proto.h
 
252
 
 
253
info-am:
 
254
info: info-am
 
255
dvi-am:
 
256
dvi: dvi-am
 
257
check-am: all-am
 
258
check: check-am
 
259
installcheck-am:
 
260
installcheck: installcheck-am
 
261
install-exec-am: install-binPROGRAMS
 
262
install-exec: install-exec-am
 
263
 
 
264
install-data-am:
 
265
install-data: install-data-am
 
266
 
 
267
install-am: all-am
 
268
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
269
install: install-am
 
270
uninstall-am: uninstall-binPROGRAMS
 
271
uninstall: uninstall-am
 
272
all-am: Makefile $(PROGRAMS) $(HEADERS)
 
273
all-redirect: all-am
 
274
install-strip:
 
275
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 
276
installdirs:
 
277
        $(mkinstalldirs)  $(DESTDIR)$(bindir)
 
278
 
 
279
 
 
280
mostlyclean-generic:
 
281
 
 
282
clean-generic:
 
283
 
 
284
distclean-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
 
 
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
 
293
 
 
294
mostlyclean: mostlyclean-am
 
295
 
 
296
clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
 
297
                mostlyclean-am
 
298
 
 
299
clean: clean-am
 
300
 
 
301
distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
 
302
                distclean-generic clean-am
 
303
 
 
304
distclean: distclean-am
 
305
 
 
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."
 
311
 
 
312
maintainer-clean: maintainer-clean-am
 
313
 
 
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
 
324
 
 
325
 
 
326
$(PROGRAMS): $(LIBBC)
 
327
 
 
328
scan.o: bc.h
 
329
global.o: libmath.h
 
330
 
 
331
libmath.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
 
337
fbc: $(fbcOBJ)
 
338
        $(LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)
 
339
sbc.o: sbc.c
 
340
sbc: $(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: