1
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
3
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
# 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.
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
16
# Copyright 2000, 2001 Free Software Foundation, Inc.
18
# This file is part of the GNU MP Library.
20
# The GNU MP Library is free software; you can redistribute it and/or modify
21
# it under the terms of the GNU Lesser General Public License as published by
22
# the Free Software Foundation; either version 2.1 of the License, or (at your
23
# option) any later version.
25
# The GNU MP Library is distributed in the hope that it will be useful, but
26
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
27
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
28
# License for more details.
30
# You should have received a copy of the GNU Lesser General Public License
31
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
32
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
38
top_srcdir = @top_srcdir@
41
exec_prefix = @exec_prefix@
45
libexecdir = @libexecdir@
47
sysconfdir = @sysconfdir@
48
sharedstatedir = @sharedstatedir@
49
localstatedir = @localstatedir@
53
includedir = @includedir@
54
oldincludedir = /usr/include
55
pkgdatadir = $(datadir)/@PACKAGE@
56
pkglibdir = $(libdir)/@PACKAGE@
57
pkgincludedir = $(includedir)/@PACKAGE@
63
AUTOHEADER = @AUTOHEADER@
66
INSTALL_PROGRAM = @INSTALL_PROGRAM@
67
INSTALL_DATA = @INSTALL_DATA@
68
INSTALL_SCRIPT = @INSTALL_SCRIPT@
69
INSTALL_HEADER = $(INSTALL_DATA)
70
transform = @program_transform_name@
77
host_alias = @host_alias@
83
BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
84
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
90
DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
97
GMP_LDFLAGS = @GMP_LDFLAGS@
98
GMP_NAIL_BITS = @GMP_NAIL_BITS@
99
HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@
100
HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
101
HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
102
HAVE_MPFR_01 = @HAVE_MPFR_01@
103
HAVE_STACK_T_01 = @HAVE_STACK_T_01@
104
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
106
LIBGMP_DLL = @LIBGMP_DLL@
108
LIBREADLINE = @LIBREADLINE@
113
MPFR_CFLAGS = @MPFR_CFLAGS@
114
MPFR_LIBS = @MPFR_LIBS@
120
REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
121
REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
122
SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
124
TAL_OBJECT = @TAL_OBJECT@
125
TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
128
WITH_READLINE_01 = @WITH_READLINE_01@
130
am__include = @am__include@
131
am__quote = @am__quote@
132
gmp_srclinks = @gmp_srclinks@
133
install_sh = @install_sh@
134
mpn_objects = @mpn_objects@
135
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
136
mpn_objs_in_libmp = @mpn_objs_in_libmp@
138
AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
140
INCLUDES = -I$(top_srcdir)
142
# $(LEXLIB) seems to be unnecessary when using flex, but put it here for the
143
# benefit of anyone rebuilding using a standard lex.
144
LDADD = $(top_builddir)/libgmp.la $(LIBREADLINE) $(LEXLIB)
146
EXTRA_DIST = calc.y calclex.l
147
EXTRA_PROGRAMS = calc
148
calc_SOURCES = calc.c calclex.c calcread.c calc.h calc-common.h
150
CLEANFILES = $(EXTRA_PROGRAMS)
152
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
153
CONFIG_HEADER = $(top_builddir)/config.h
154
CONFIG_CLEAN_FILES = calc-config.h
155
EXTRA_PROGRAMS = calc$(EXEEXT)
156
am_calc_OBJECTS = calc$U.$(OBJEXT) calclex$U.$(OBJEXT) \
158
calc_OBJECTS = $(am_calc_OBJECTS)
159
calc_LDADD = $(LDADD)
160
calc_DEPENDENCIES = $(top_builddir)/libgmp.la
164
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
165
CPPFLAGS = @CPPFLAGS@
169
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
170
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
171
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
172
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
174
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
175
$(AM_LDFLAGS) $(LDFLAGS) -o $@
177
DIST_SOURCES = $(calc_SOURCES)
178
DIST_COMMON = README Makefile.am Makefile.in calc-config-h.in
179
SOURCES = $(calc_SOURCES)
184
.SUFFIXES: .c .lo .o .obj
194
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
195
cd $(top_srcdir) && \
196
$(AUTOMAKE) --gnu demos/calc/Makefile
197
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
198
cd $(top_builddir) && \
199
CONFIG_HEADERS= CONFIG_LINKS= \
200
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
201
calc-config.h: $(top_builddir)/config.status calc-config-h.in
202
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@:demos/calc/calc-config-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
203
calc$(EXEEXT): $(calc_OBJECTS) $(calc_DEPENDENCIES)
205
$(LINK) $(calc_LDFLAGS) $(calc_OBJECTS) $(calc_LDADD) $(LIBS)
208
-rm -f *.$(OBJEXT) core *.core
213
ANSI2KNR = $(top_builddir)/ansi2knr
214
$(top_builddir)/ansi2knr:
215
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
218
-test "$U" = "" || rm -f *_.c
221
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
224
$(COMPILE) -c `cygpath -w $<`
227
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
228
calc_.c: calc.c $(ANSI2KNR)
229
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calc.c; then echo $(srcdir)/calc.c; else echo calc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calc_.c || rm -f calc_.c
230
calclex_.c: calclex.c $(ANSI2KNR)
231
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calclex.c; then echo $(srcdir)/calclex.c; else echo calclex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calclex_.c || rm -f calclex_.c
232
calcread_.c: calcread.c $(ANSI2KNR)
233
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calcread.c; then echo $(srcdir)/calcread.c; else echo calcread.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calcread_.c || rm -f calcread_.c
234
calc_.$(OBJEXT) calc_.lo calclex_.$(OBJEXT) calclex_.lo \
235
calcread_.$(OBJEXT) calcread_.lo : $(ANSI2KNR)
240
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
241
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
242
unique=`for i in $$list; do \
243
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
245
$(AWK) ' { files[$$0] = 1; } \
246
END { for (i in files) print i; }'`; \
247
mkid -fID $$unique $(LISP)
249
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
250
$(TAGS_FILES) $(LISP)
253
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
254
unique=`for i in $$list; do \
255
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
257
$(AWK) ' { files[$$0] = 1; } \
258
END { for (i in files) print i; }'`; \
259
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
260
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
263
here=`CDPATH=: && cd $(top_builddir) && pwd` \
264
&& cd $(top_srcdir) \
265
&& gtags -i $(GTAGS_ARGS) $$here
268
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
270
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
273
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
275
distdir: $(DISTFILES)
276
@for file in $(DISTFILES); do \
277
if test -f $$file; then d=.; else d=$(srcdir); fi; \
278
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
279
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
280
$(mkinstalldirs) "$(distdir)/$$dir"; \
282
if test -d $$d/$$file; then \
283
cp -pR $$d/$$file $(distdir) \
286
test -f $(distdir)/$$file \
287
|| cp -p $$d/$$file $(distdir)/$$file \
298
install-exec: install-exec-am
299
install-data: install-data-am
300
uninstall: uninstall-am
303
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
305
installcheck: installcheck-am
307
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
308
`test -z '$(STRIP)' || \
309
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
313
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
316
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
318
maintainer-clean-generic:
319
@echo "This command is intended for maintainers to use"
320
@echo "it deletes files that may require special tools to rebuild."
323
clean-am: clean-generic clean-libtool mostlyclean-am
325
distclean: distclean-am
327
distclean-am: clean-am distclean-compile distclean-generic \
328
distclean-libtool distclean-tags
342
install-info: install-info-am
348
maintainer-clean: maintainer-clean-am
350
maintainer-clean-am: distclean-am maintainer-clean-generic
352
mostlyclean: mostlyclean-am
354
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
357
uninstall-am: uninstall-info-am
359
.PHONY: GTAGS all all-am check check-am clean clean-generic \
360
clean-libtool distclean distclean-compile distclean-generic \
361
distclean-libtool distclean-tags distdir dvi dvi-am info \
362
info-am install install-am install-data install-data-am \
363
install-exec install-exec-am install-info install-info-am \
364
install-man install-strip installcheck installcheck-am \
365
installdirs maintainer-clean maintainer-clean-generic \
366
mostlyclean mostlyclean-compile mostlyclean-generic \
367
mostlyclean-kr mostlyclean-libtool tags uninstall uninstall-am \
371
allprogs: $(EXTRA_PROGRAMS)
373
# The distribution includes calc.c, calc.h and calclex.c, generated with
374
# bison and flex, so the calc program will build even if yacc and lex aren't
375
# available. The rules below regenerate those files if you modify calc.y or
378
# Using "cd"s instead of a $(srcdir) path ensures $(srcdir) doesn't get into
379
# the "#line"s in the generated files.
381
# FIXME: Automake knows about .y and .l, but as of version 1.5 doesn't do
382
# the right thing when building in a separate object directory, hence the
383
# explicit rules. Not sure if these rules cover all the portability
384
# problems that automake does.
386
# FIXME: With ansi2knr and no-dependencies, there doesn't seem any easy way
387
# to manually express that calclex$U.lo depends on calc.h. Making calclex.c
388
# depend on calc.h gets the right result, but the extra lex runs are
391
$(srcdir)/calclex.c: calclex.l calc.h
392
cd $(srcdir); $(LEX) -ocalclex.c calclex.l
393
$(srcdir)/calc.c $(srcdir)/calc.h: calc.y
394
cd $(srcdir); $(YACC) -d -ocalc.c calc.y
395
# Tell versions [3.59,3.63) of GNU make to not export all variables.
396
# Otherwise a system limit (for SysV at least) may be exceeded.