version 1.1.1.1, 2000/01/10 15:35:21 |
version 1.1.1.2, 2000/09/09 14:12:13 |
|
|
# Top Makefile for GNU MP |
# Makefile.in generated automatically by automake 1.4a from Makefile.am |
# Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc. |
|
|
|
# This file is part of the GNU MP Library. |
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
|
# This Makefile.in is free software; the Free Software Foundation |
|
# gives unlimited permission to copy and/or distribute it, |
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
# This program is distributed in the hope that it will be useful, |
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
# PARTICULAR PURPOSE. |
|
|
|
SHELL = @SHELL@ |
|
|
|
srcdir = @srcdir@ |
|
top_srcdir = @top_srcdir@ |
|
VPATH = @srcdir@ |
|
prefix = @prefix@ |
|
exec_prefix = @exec_prefix@ |
|
|
|
bindir = @bindir@ |
|
sbindir = @sbindir@ |
|
libexecdir = @libexecdir@ |
|
datadir = @datadir@ |
|
sysconfdir = @sysconfdir@ |
|
sharedstatedir = @sharedstatedir@ |
|
localstatedir = @localstatedir@ |
|
libdir = @libdir@ |
|
infodir = @infodir@ |
|
mandir = @mandir@ |
|
includedir = @includedir@ |
|
oldincludedir = /usr/include |
|
|
|
DESTDIR = |
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@ |
|
pkglibdir = $(libdir)/@PACKAGE@ |
|
pkgincludedir = $(includedir)/@PACKAGE@ |
|
|
|
top_builddir = . |
|
|
|
ACLOCAL = @ACLOCAL@ |
|
AUTOCONF = @AUTOCONF@ |
|
AUTOMAKE = @AUTOMAKE@ |
|
AUTOHEADER = @AUTOHEADER@ |
|
|
|
INSTALL = @INSTALL@ |
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
INSTALL_DATA = @INSTALL_DATA@ |
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|
INSTALL_STRIP_FLAG = |
|
transform = @program_transform_name@ |
|
|
|
NORMAL_INSTALL = : |
|
PRE_INSTALL = : |
|
POST_INSTALL = : |
|
NORMAL_UNINSTALL = : |
|
PRE_UNINSTALL = : |
|
POST_UNINSTALL = : |
|
|
|
@SET_MAKE@ |
|
build_alias = @build_alias@ |
|
build_triplet = @build@ |
|
host_alias = @host_alias@ |
|
host_triplet = @host@ |
|
target_alias = @target_alias@ |
|
target_triplet = @target@ |
|
AMDEP = @AMDEP@ |
|
AMTAR = @AMTAR@ |
|
AR = @AR@ |
|
AS = @AS@ |
|
AWK = @AWK@ |
|
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ |
|
CC = @CC@ |
|
CCAS = @CCAS@ |
|
CPP = @CPP@ |
|
CXX = @CXX@ |
|
CXXCPP = @CXXCPP@ |
|
DEPDIR = @DEPDIR@ |
|
DLLTOOL = @DLLTOOL@ |
|
EXEEXT = @EXEEXT@ |
|
LIBTOOL = @LIBTOOL@ |
|
LN_S = @LN_S@ |
|
M4 = @M4@ |
|
MAINT = @MAINT@ |
|
MAKEINFO = @MAKEINFO@ |
|
OBJDUMP = @OBJDUMP@ |
|
OBJEXT = @OBJEXT@ |
|
PACKAGE = @PACKAGE@ |
|
RANLIB = @RANLIB@ |
|
SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@ |
|
STRIP = @STRIP@ |
|
U = @U@ |
|
VERSION = @VERSION@ |
|
gmp_srclinks = @gmp_srclinks@ |
|
install_sh = @install_sh@ |
|
mpn_objects = @mpn_objects@ |
|
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ |
|
|
|
# Copyright (C) 1991, 1993, 1994, 1996, 1997, 1999, 2000 Free Software |
|
# Foundation, Inc. |
|
# |
|
# This file is part of the GNU MP Library. |
|
# |
# The GNU MP Library is free software; you can redistribute it and/or modify |
# The GNU MP Library is free software; you can redistribute it and/or modify |
# it under the terms of the GNU Library General Public License as published by |
# it under the terms of the GNU Lesser General Public License as published by |
# the Free Software Foundation; either version 2 of the License, or (at your |
# the Free Software Foundation; either version 2.1 of the License, or (at your |
# option) any later version. |
# option) any later version. |
|
# |
# The GNU MP Library is distributed in the hope that it will be useful, but |
# The GNU MP Library is distributed in the hope that it will be useful, but |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public |
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
# License for more details. |
# License for more details. |
|
# |
# You should have received a copy of the GNU Library General Public License |
# You should have received a copy of the GNU Lesser General Public License |
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to |
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to |
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
# MA 02111-1307, USA. |
# MA 02111-1307, USA. |
|
|
srcdir = . |
# make check |
|
# |
|
# It'd be good if "make check" first did a "make all" or whatever to |
|
# build libgmp.la, but it's not clear how best to do this. Putting a |
|
# "check:" target is overridden by automake, and a "check-local:" runs |
|
# too late (due to depth-first subdirectory processing). For now it's |
|
# necessary to do "make && make check". |
|
# |
|
# MPF_OBJECTS etc |
|
# |
|
# Libtool needs all the .lo files passed to it if it's going to build |
|
# both a static and shared library. If a convenience library like |
|
# mpf/libmpf.la is passed then the resulting libgmp.a gets the PIC .lo |
|
# objects rather than the non-PIC .o's. |
|
# |
|
# Unfortunately this leads to the big lists of objects below. Something |
|
# like mpz/*.lo would probably work, but might risk missing something |
|
# out or getting something extra. The source files for each .lo are |
|
# listed in the Makefile.am's in the subdirectories. |
|
|
prefix = /usr/local |
# Libtool -version-info for libgmp.la and libmp.la. See (libtool)Versioning |
|
# |
|
# 1. No interfaces changed, only implementations (good): Increment REVISION. |
|
# |
|
# 2. Interfaces added, none removed (good): Increment CURRENT, increment |
|
# AGE, set REVISION to 0. |
|
# |
|
# 3. Interfaces removed (BAD, breaks upward compatibility): Increment |
|
# CURRENT, set AGE and REVISION to 0. |
|
# |
|
# Do this separately for libgmp and libmp, only do it just before a release. |
|
# |
|
# GMP -version-info |
|
# release libgmp libmp |
|
# 2.0.x - - |
|
# 3.0 3:0:0 3:0:0 |
|
# 3.0.1 3:1:0 3:0:0 |
|
# 3.1 4:0:1 4:0:1 |
|
# |
|
# |
|
# Starting at 3:0:0 is a slight abuse of the versioning system, but it |
|
# ensures we're past soname libgmp.so.2, which is what has been used on |
|
# Debian GNU/Linux packages of gmp 2. Pretend gmp 2 was 2:0:0, so the |
|
# interface changes for gmp 3 mean 3:0:0 is right. |
|
|
exec_prefix = $(prefix) |
|
libdir = $(exec_prefix)/lib |
|
infodir = $(prefix)/info |
|
includedir = $(prefix)/include |
|
|
|
CC = gcc |
LIBGMP_LT_CURRENT = 4 |
LOCAL_CC = $(CC) |
LIBGMP_LT_REVISION = 0 |
CFLAGS = -g -O |
LIBGMP_LT_AGE = 1 |
XCFLAGS = |
|
AR = ar |
LIBMP_LT_CURRENT = 4 |
AR_FLAGS = rc |
LIBMP_LT_REVISION = 0 |
RANLIB_TEST = [ -f /usr/bin/ranlib -o -f /bin/ranlib ] |
LIBMP_LT_AGE = 1 |
RANLIB = ranlib |
|
SHELL = /bin/sh |
AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr |
INSTALL = $(srcdir)/install.sh -c |
|
INSTALL_PROGRAM = $(INSTALL) |
SUBDIRS = mpn mpz mpq mpf mpbsd mpfr tests demos tune |
INSTALL_DATA = $(INSTALL) |
|
MAKEINFO = makeinfo |
include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) $(MPFR_HEADERS_OPTION) |
MAKEINFOFLAGS = |
EXTRA_HEADERS = mp.h |
|
|
|
lib_LTLIBRARIES = libgmp.la $(MPBSD_LTLIBRARIES_OPTION) |
|
|
|
EXTRA_DIST = .gdbinit gmp-impl.h longlong.h stack-alloc.h urandom.h doc macos |
|
|
|
DISTCLEANFILES = asm-syntax.h config.m4 @gmp_srclinks@ |
|
|
|
MPF_OBJECTS = mpf/init.lo mpf/init2.lo mpf/set.lo mpf/set_ui.lo mpf/set_si.lo \ |
|
mpf/set_str.lo mpf/set_d.lo mpf/set_z.lo mpf/iset.lo mpf/iset_ui.lo \ |
|
mpf/iset_si.lo mpf/iset_str.lo mpf/iset_d.lo mpf/clear.lo mpf/get_str.lo \ |
|
mpf/dump.lo mpf/size.lo mpf/eq.lo mpf/reldiff.lo mpf/sqrt.lo mpf/random2.lo \ |
|
mpf/inp_str.lo mpf/out_str.lo mpf/add.lo mpf/add_ui.lo mpf/sub.lo \ |
|
mpf/sub_ui.lo mpf/ui_sub.lo mpf/mul.lo mpf/mul_ui.lo mpf/div.lo \ |
|
mpf/div_ui.lo mpf/cmp.lo mpf/cmp_ui.lo mpf/cmp_si.lo mpf/mul_2exp.lo \ |
|
mpf/div_2exp.lo mpf/abs.lo mpf/neg.lo mpf/set_q.lo mpf/get_d.lo \ |
|
mpf/set_dfl_prec.lo mpf/set_prc.lo mpf/set_prc_raw.lo mpf/get_prc.lo \ |
|
mpf/ui_div.lo mpf/sqrt_ui.lo mpf/floor.lo mpf/ceil.lo mpf/trunc.lo \ |
|
mpf/pow_ui.lo mpf/urandomb.lo mpf/swap.lo |
|
|
|
MPZ_OBJECTS = mpz/abs.lo mpz/add.lo mpz/add_ui.lo mpz/addmul_ui.lo mpz/and.lo \ |
|
mpz/array_init.lo mpz/bin_ui.lo mpz/bin_uiui.lo mpz/cdiv_q.lo \ |
|
mpz/cdiv_q_ui.lo mpz/cdiv_qr.lo mpz/cdiv_qr_ui.lo mpz/cdiv_r.lo \ |
|
mpz/cdiv_r_ui.lo mpz/cdiv_ui.lo mpz/clear.lo mpz/clrbit.lo mpz/cmp.lo \ |
|
mpz/cmp_si.lo mpz/cmp_ui.lo mpz/cmpabs.lo mpz/cmpabs_ui.lo mpz/com.lo \ |
|
mpz/divexact.lo mpz/dump.lo mpz/fac_ui.lo mpz/fdiv_q.lo mpz/fdiv_q_2exp.lo \ |
|
mpz/fdiv_q_ui.lo mpz/fdiv_qr.lo mpz/fdiv_qr_ui.lo mpz/fdiv_r.lo \ |
|
mpz/fdiv_r_2exp.lo mpz/fdiv_r_ui.lo mpz/fdiv_ui.lo mpz/fib_ui.lo \ |
|
mpz/fits_sint_p.lo mpz/fits_slong_p.lo mpz/fits_sshort_p.lo \ |
|
mpz/fits_uint_p.lo mpz/fits_ulong_p.lo mpz/fits_ushort_p.lo mpz/gcd.lo \ |
|
mpz/gcd_ui.lo mpz/gcdext.lo mpz/get_d.lo mpz/get_si.lo mpz/get_str.lo \ |
|
mpz/get_ui.lo mpz/getlimbn.lo mpz/hamdist.lo mpz/init.lo mpz/inp_raw.lo \ |
|
mpz/inp_str.lo mpz/invert.lo mpz/ior.lo mpz/iset.lo mpz/iset_d.lo \ |
|
mpz/iset_si.lo mpz/iset_str.lo mpz/iset_ui.lo mpz/jacobi.lo \ |
|
mpz/kronsz.lo mpz/kronuz.lo mpz/kronzs.lo mpz/kronzu.lo \ |
|
mpz/lcm.lo mpz/legendre.lo \ |
|
mpz/mod.lo mpz/mul.lo mpz/mul_2exp.lo mpz/mul_si.lo mpz/mul_ui.lo \ |
|
mpz/neg.lo mpz/nextprime.lo mpz/out_raw.lo mpz/out_str.lo mpz/perfpow.lo mpz/perfsqr.lo \ |
|
mpz/popcount.lo mpz/pow_ui.lo mpz/powm.lo mpz/powm_ui.lo mpz/pprime_p.lo \ |
|
mpz/random.lo mpz/random2.lo mpz/realloc.lo mpz/remove.lo mpz/root.lo \ |
|
mpz/rrandomb.lo \ |
|
mpz/scan0.lo mpz/scan1.lo mpz/set.lo mpz/set_d.lo mpz/set_f.lo mpz/set_q.lo \ |
|
mpz/set_si.lo mpz/set_str.lo mpz/set_ui.lo mpz/setbit.lo mpz/size.lo \ |
|
mpz/sizeinbase.lo mpz/sqrt.lo mpz/sqrtrem.lo mpz/sub.lo mpz/sub_ui.lo \ |
|
mpz/swap.lo mpz/tdiv_ui.lo mpz/tdiv_q.lo mpz/tdiv_q_2exp.lo mpz/tdiv_q_ui.lo \ |
|
mpz/tdiv_qr.lo mpz/tdiv_qr_ui.lo mpz/tdiv_r.lo mpz/tdiv_r_2exp.lo \ |
|
mpz/tdiv_r_ui.lo mpz/tstbit.lo mpz/ui_pow_ui.lo mpz/urandomb.lo \ |
|
mpz/urandomm.lo mpz/xor.lo |
|
|
|
MPQ_OBJECTS = mpq/add.lo mpq/canonicalize.lo mpq/clear.lo mpq/cmp.lo \ |
|
mpq/cmp_ui.lo mpq/div.lo mpq/get_d.lo mpq/get_den.lo mpq/get_num.lo \ |
|
mpq/init.lo mpq/inv.lo mpq/mul.lo mpq/neg.lo mpq/out_str.lo \ |
|
mpq/set.lo mpq/set_den.lo \ |
|
mpq/set_num.lo mpq/set_si.lo mpq/set_ui.lo mpq/sub.lo mpq/equal.lo \ |
|
mpq/set_z.lo mpq/set_d.lo mpq/swap.lo |
|
|
|
MPN_OBJECTS = @mpn_objs_in_libgmp@ |
|
|
|
MPBSD_OBJECTS = mpbsd/add.lo mpbsd/tdiv_qr.lo mpbsd/move.lo mpbsd/powm.lo \ |
|
mpbsd/sub.lo mpbsd/cmp.lo mpbsd/mfree.lo mpbsd/mtox.lo mpbsd/realloc.lo \ |
|
mpbsd/gcd.lo mpbsd/itom.lo mpbsd/min.lo mpbsd/mul.lo mpbsd/mout.lo \ |
|
mpbsd/pow_ui.lo mpbsd/sdiv.lo mpbsd/sqrtrem.lo mpbsd/xtom.lo |
|
|
|
|
|
# FIXME: Add mpfr/rnd_mode.lo when it's clean. |
|
MPFR_OBJECTS = mpfr/add.lo mpfr/div_2exp.lo mpfr/neg.lo mpfr/set_dfl_prec.lo \ |
|
mpfr/set_str_raw.lo mpfr/agm.lo mpfr/get_str.lo mpfr/print_raw.lo \ |
|
mpfr/set_dfl_rnd.lo mpfr/sqrt.lo mpfr/clear.lo mpfr/init.lo \ |
|
mpfr/set_f.lo mpfr/sub.lo mpfr/cmp.lo mpfr/mul.lo mpfr/round.lo \ |
|
mpfr/set_prec.lo mpfr/cmp_ui.lo mpfr/mul_2exp.lo mpfr/set.lo mpfr/set_si.lo \ |
|
mpfr/div.lo mpfr/mul_ui.lo mpfr/set_d.lo mpfr/pow.lo mpfr/out_str.lo \ |
|
mpfr/pi.lo mpfr/set_z.lo mpfr/add_ulp.lo mpfr/log2.lo mpfr/random.lo \ |
|
mpfr/log.lo mpfr/exp.lo mpfr/div_ui.lo mpfr/zeta.lo mpfr/karadiv.lo \ |
|
mpfr/karasqrt.lo mpfr/print_rnd_mode.lo |
|
|
|
|
|
@WANT_MPFR_TRUE@MPFR_HEADERS_OPTION = @WANT_MPFR_TRUE@mpfr/mpfr.h |
|
@WANT_MPFR_TRUE@MPFR_OBJECTS_OPTION = @WANT_MPFR_TRUE@$(MPFR_OBJECTS) |
|
@WANT_MPFR_TRUE@MPFR_LIBADD_OPTION = @WANT_MPFR_TRUE@-lm |
|
libgmp_la_SOURCES = assert.c compat.c errno.c memory.c mp_set_fns.c \ |
|
mp_clz_tab.c mp_minv_tab.c \ |
|
rand.c randclr.c randlc.c randlc2x.c randraw.c randsd.c \ |
|
randsdui.c version.c stack-alloc.c mp_bpl.c extract-dbl.c insert-dbl.c |
|
|
|
libgmp_la_DEPENDENCIES = \ |
|
$(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \ |
|
$(MPFR_OBJECTS_OPTION) |
|
|
|
libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) $(MPFR_LIBADD_OPTION) |
|
libgmp_la_LDFLAGS = \ |
|
-version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) |
|
|
|
|
|
@WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = @WANT_MPBSD_TRUE@mp.h |
|
@WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = @WANT_MPBSD_TRUE@libmp.la |
|
libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \ |
|
mp_minv_tab.c mp_set_fns.c stack-alloc.c |
|
|
|
libmp_la_DEPENDENCIES = $(MPBSD_OBJECTS) $(MPN_OBJECTS) \ |
|
mpz/add.lo mpz/clear.lo mpz/cmp.lo mpz/init.lo mpz/mod.lo mpz/mul.lo \ |
|
mpz/mul_2exp.lo mpz/realloc.lo mpz/set.lo mpz/set_ui.lo mpz/tdiv_r.lo \ |
|
mpz/sub.lo |
|
|
|
libmp_la_LIBADD = $(libmp_la_DEPENDENCIES) |
|
libmp_la_LDFLAGS = \ |
|
-version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) |
|
|
|
|
|
info_TEXINFOS = gmp.texi |
|
subdir = . |
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
|
CONFIG_HEADER = config.h |
|
CONFIG_CLEAN_FILES = |
|
LTLIBRARIES = $(lib_LTLIBRARIES) |
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I. |
|
CPPFLAGS = @CPPFLAGS@ |
|
LDFLAGS = @LDFLAGS@ |
|
LIBS = @LIBS@ |
|
ANSI2KNR = @ANSI2KNR@ |
|
am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo memory$U.lo \ |
|
mp_set_fns$U.lo mp_clz_tab$U.lo mp_minv_tab$U.lo rand$U.lo randclr$U.lo \ |
|
randlc$U.lo randlc2x$U.lo randraw$U.lo randsd$U.lo randsdui$U.lo \ |
|
version$U.lo stack-alloc$U.lo mp_bpl$U.lo extract-dbl$U.lo \ |
|
insert-dbl$U.lo |
|
libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS) |
|
am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \ |
|
mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo stack-alloc$U.lo |
|
libmp_la_OBJECTS = $(am_libmp_la_OBJECTS) |
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
CFLAGS = @CFLAGS@ |
|
CCLD = $(CC) |
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
|
DIST_SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES) |
TEXI2DVI = texi2dvi |
TEXI2DVI = texi2dvi |
LN = ln -s |
INFO_DEPS = gmp.info |
|
DVIS = gmp.dvi |
|
TEXINFOS = gmp.texi |
|
HEADERS = $(include_HEADERS) |
|
|
#### host and target specific makefile fragments come in here. |
DIST_COMMON = README $(EXTRA_HEADERS) $(include_HEADERS) ./stamp-h.in \ |
### |
AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am Makefile.in \ |
|
NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 ansi2knr.c \ |
|
config.guess config.in config.sub configure configure.in depcomp \ |
|
install-sh ltconfig ltmain.sh mdate-sh missing mkinstalldirs stamp-vti \ |
|
texinfo.tex version.texi |
|
|
SRCS = memory.c mp_set_fns.c mp_clz_tab.c version.c stack-alloc.c mp_bpl.c \ |
|
extract-double.c insert-double.c |
|
OBJS = memory.o mp_set_fns.o mp_clz_tab.o version.o stack-alloc.o mp_bpl.o \ |
|
extract-double.o insert-double.o |
|
FILES = gmp.h mp.h gmp-impl.h longlong.h urandom.h move-if-change \ |
|
mkinstalldirs INSTALL COPYING.LIB ChangeLog Makefile.in \ |
|
NEWS README SPEED TODO config.guess config.sub configure configure.in \ |
|
gmp.info* gmp.texi texinfo.tex $(SRCS) |
|
|
|
INCLUDES = -I. -Impn -I$(srcdir) |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
FLAGS_TO_PASS = "CC=$(CC)" "CFLAGS=$(CFLAGS)" "XCFLAGS=$(XCFLAGS)" |
|
|
|
all: libgmp.a |
GZIP_ENV = --best |
|
depcomp = |
|
SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES) |
|
OBJECTS = $(am_libgmp_la_OBJECTS) $(am_libmp_la_OBJECTS) |
|
|
|
all: all-redirect |
|
.SUFFIXES: |
|
.SUFFIXES: .c .dvi .info .lo .o .obj .ps .texi .texinfo .txi |
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile |
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
cd $(top_builddir) \ |
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 |
|
cd $(srcdir) && $(ACLOCAL) |
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
|
$(SHELL) ./config.status --recheck |
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
|
cd $(srcdir) && $(AUTOCONF) |
|
|
|
config.h: stamp-h |
|
@if test ! -f $@; then \ |
|
rm -f stamp-h; \ |
|
$(MAKE) stamp-h; \ |
|
else :; fi |
|
stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
|
@rm -f stamp-h stamp-hT |
|
@echo timestamp > stamp-hT 2> /dev/null |
|
cd $(top_builddir) \ |
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ |
|
$(SHELL) ./config.status |
|
@mv stamp-hT stamp-h |
|
$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in |
|
@if test ! -f $@; then \ |
|
rm -f $(srcdir)/./stamp-h.in; \ |
|
$(MAKE) $(srcdir)/./stamp-h.in; \ |
|
else :; fi |
|
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h |
|
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT |
|
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null |
|
cd $(top_srcdir) && $(AUTOHEADER) |
|
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in |
|
|
|
mostlyclean-hdr: |
|
|
|
clean-hdr: |
|
|
|
distclean-hdr: |
|
-rm -f config.h |
|
|
|
maintainer-clean-hdr: |
|
|
|
mostlyclean-libLTLIBRARIES: |
|
|
|
clean-libLTLIBRARIES: |
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
|
|
|
distclean-libLTLIBRARIES: |
|
|
|
maintainer-clean-libLTLIBRARIES: |
|
|
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
|
@$(NORMAL_INSTALL) |
|
$(mkinstalldirs) $(DESTDIR)$(libdir) |
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
|
if test -f $$p; then \ |
|
echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \ |
|
$(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \ |
|
else :; fi; \ |
|
done |
|
|
|
uninstall-libLTLIBRARIES: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
|
echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ |
|
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ |
|
done |
|
|
|
mostlyclean-compile: |
|
-rm -f *.o core *.core |
|
-rm -f *.$(OBJEXT) |
|
|
|
clean-compile: |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
maintainer-clean-compile: |
|
|
|
mostlyclean-libtool: |
|
-rm -f *.lo |
|
|
|
clean-libtool: |
|
-rm -rf .libs _libs |
|
|
|
distclean-libtool: |
|
|
|
maintainer-clean-libtool: |
|
|
|
mostlyclean-krextra: |
|
|
|
clean-krextra: |
|
-rm -f ansi2knr |
|
|
|
distclean-krextra: |
|
|
|
maintainer-clean-krextra: |
|
ansi2knr: ansi2knr.$(OBJEXT) |
|
$(LINK) ansi2knr.$(OBJEXT) $(LIBS) |
|
ansi2knr.$(OBJEXT): $(CONFIG_HEADER) |
|
|
|
|
|
mostlyclean-kr: |
|
-rm -f *_.c |
|
|
|
clean-kr: |
|
|
|
distclean-kr: |
|
|
|
maintainer-clean-kr: |
|
|
|
libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES) |
|
$(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS) |
|
|
|
libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES) |
|
$(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS) |
.c.o: |
.c.o: |
$(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $< |
$(COMPILE) -c $< |
|
.c.obj: |
|
$(COMPILE) -c `cygpath -w $<` |
|
.c.lo: |
|
$(LTCOMPILE) -c -o $@ $< |
|
assert_.c: assert.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/assert.c; then echo $(srcdir)/assert.c; else echo assert.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > assert_.c |
|
compat_.c: compat.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/compat.c; then echo $(srcdir)/compat.c; else echo compat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > compat_.c |
|
errno_.c: errno.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/errno.c; then echo $(srcdir)/errno.c; else echo errno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > errno_.c |
|
extract-dbl_.c: extract-dbl.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/extract-dbl.c; then echo $(srcdir)/extract-dbl.c; else echo extract-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > extract-dbl_.c |
|
insert-dbl_.c: insert-dbl.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/insert-dbl.c; then echo $(srcdir)/insert-dbl.c; else echo insert-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > insert-dbl_.c |
|
memory_.c: memory.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memory_.c |
|
mp_bpl_.c: mp_bpl.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_bpl.c; then echo $(srcdir)/mp_bpl.c; else echo mp_bpl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_bpl_.c |
|
mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_clz_tab.c; then echo $(srcdir)/mp_clz_tab.c; else echo mp_clz_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_clz_tab_.c |
|
mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_minv_tab.c; then echo $(srcdir)/mp_minv_tab.c; else echo mp_minv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_minv_tab_.c |
|
mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_set_fns.c; then echo $(srcdir)/mp_set_fns.c; else echo mp_set_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_set_fns_.c |
|
rand_.c: rand.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rand.c; then echo $(srcdir)/rand.c; else echo rand.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rand_.c |
|
randclr_.c: randclr.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randclr.c; then echo $(srcdir)/randclr.c; else echo randclr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randclr_.c |
|
randlc_.c: randlc.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc.c; then echo $(srcdir)/randlc.c; else echo randlc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc_.c |
|
randlc2x_.c: randlc2x.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2x.c; then echo $(srcdir)/randlc2x.c; else echo randlc2x.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2x_.c |
|
randraw_.c: randraw.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randraw.c; then echo $(srcdir)/randraw.c; else echo randraw.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randraw_.c |
|
randsd_.c: randsd.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsd.c; then echo $(srcdir)/randsd.c; else echo randsd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsd_.c |
|
randsdui_.c: randsdui.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsdui.c; then echo $(srcdir)/randsdui.c; else echo randsdui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsdui_.c |
|
stack-alloc_.c: stack-alloc.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/stack-alloc.c; then echo $(srcdir)/stack-alloc.c; else echo stack-alloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > stack-alloc_.c |
|
version_.c: version.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > version_.c |
|
assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \ |
|
errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \ |
|
insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \ |
|
mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \ |
|
mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \ |
|
mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \ |
|
randlc_.$(OBJEXT) randlc_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \ |
|
randraw_.$(OBJEXT) randraw_.lo randsd_.$(OBJEXT) randsd_.lo \ |
|
randsdui_.$(OBJEXT) randsdui_.lo stack-alloc_.$(OBJEXT) stack-alloc_.lo \ |
|
version_.$(OBJEXT) version_.lo : $(ANSI2KNR) |
|
|
libgmp.a: mpn/libmpn.a mpz/libmpz.a mpf/libmpf.a mpq/libmpq.a $(OBJS) |
$(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@stamp-vti |
rm -rf tmpdir |
@: |
mkdir tmpdir |
|
for i in mpn mpz mpf mpq; \ |
|
do \ |
|
mkdir tmpdir/$$i; \ |
|
( cd tmpdir/$$i; $(AR) x ../../$$i/lib$$i.a ); \ |
|
done |
|
cp $(OBJS) tmpdir |
|
cd tmpdir; $(AR) $(AR_FLAGS) $@ *.o */*.o |
|
if $(RANLIB_TEST) ; then $(RANLIB) tmpdir/$@; else true; fi |
|
mv tmpdir/$@ . |
|
rm -rf tmpdir |
|
|
|
libmp.a: mpn/libmpn.a mpbsd/libmpbsd.a $(OBJS) |
$(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in |
rm -rf tmpdir |
@echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`" > vti.tmp |
mkdir tmpdir |
@echo "@set EDITION $(VERSION)" >> vti.tmp |
for i in mpn mpbsd; \ |
@echo "@set VERSION $(VERSION)" >> vti.tmp |
do \ |
@cmp -s vti.tmp $(srcdir)/version.texi \ |
mkdir tmpdir/$$i; \ |
|| (echo "Updating $(srcdir)/version.texi"; \ |
( cd tmpdir/$$i; $(AR) x ../../$$i/lib$$i.a ); \ |
cp vti.tmp $(srcdir)/version.texi) |
done |
-@rm -f vti.tmp |
cp $(OBJS) tmpdir |
@cp $(srcdir)/version.texi $@ |
cd tmpdir; $(AR) $(AR_FLAGS) $@ *.o */*.o |
|
if $(RANLIB_TEST) ; then $(RANLIB) tmpdir/$@; else true; fi |
|
mv tmpdir/$@ . |
|
rm -rf tmpdir |
|
|
|
mpn/libmpn.a: force |
mostlyclean-vti: |
cd mpn; $(MAKE) $(FLAGS_TO_PASS) libmpn.a |
-rm -f vti.tmp |
mpz/libmpz.a: force |
|
cd mpz; $(MAKE) $(FLAGS_TO_PASS) libmpz.a |
|
mpf/libmpf.a: force |
|
cd mpf; $(MAKE) $(FLAGS_TO_PASS) libmpf.a |
|
mpq/libmpq.a: force |
|
cd mpq; $(MAKE) $(FLAGS_TO_PASS) libmpq.a |
|
mpbsd/libmpbsd.a: force |
|
cd mpbsd; $(MAKE) $(FLAGS_TO_PASS) libmpbsd.a |
|
|
|
check: libgmp.a |
clean-vti: |
cd mpz/tests; $(MAKE) $(FLAGS_TO_PASS) check |
|
cd mpq/tests; $(MAKE) $(FLAGS_TO_PASS) check |
|
cd mpf/tests; $(MAKE) $(FLAGS_TO_PASS) check |
|
|
|
doc: gmp.dvi gmp.info |
distclean-vti: |
|
|
info: $(srcdir)/gmp.info |
maintainer-clean-vti: |
$(srcdir)/gmp.info: $(srcdir)/gmp.texi |
-@MAINTAINER_MODE_TRUE@rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi |
cd $(srcdir); $(MAKEINFO) gmp.texi |
|
|
|
dvi: gmp.dvi |
gmp.info: gmp.texi version.texi |
gmp.dvi: $(srcdir)/gmp.texi |
gmp.dvi: gmp.texi version.texi |
rm -f tmp.texi |
|
$(LN) $(srcdir)/gmp.texi tmp.texi |
|
TEXINPUTS=.:$(srcdir) $(TEXI2DVI) tmp.texi |
|
rm -f tmp.texi |
|
mv tmp.dvi gmp.dvi |
|
rm -f tmp.* |
|
|
|
ps: gmp.ps |
|
gmp.ps: gmp.dvi |
|
dvips gmp.dvi -o gmp.ps |
|
|
|
html: gmp_toc.html |
DVIPS = dvips |
gmp_toc.html: $(srcdir)/gmp.texi |
|
texi2html -acc -split_chapter $(srcdir)/gmp.texi |
|
|
|
# The semicolon is to prevent the install.sh -> install default rule |
.texi.info: |
# from doing anything. Having it run true helps avoid problems and |
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
# noise from versions of make which don't like to have null commands. |
cd $(srcdir) \ |
install: install-normal ; @true |
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
|
|
install-strip: install-normal |
.texi.dvi: |
install-normal: installdirs libgmp.a gmp.info install-info-files |
TEXINPUTS=$(srcdir):$$TEXINPUTS \ |
$(INSTALL_DATA) libgmp.a $(libdir)/libgmp.a |
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
-chmod a-x $(libdir)/libgmp.a |
|
$(INSTALL_DATA) $(srcdir)/gmp.h $(includedir)/gmp.h |
|
-chmod a-x $(includedir)/gmp.h |
|
install-bsdmp: installdirs libmp.a gmp.info install-info-files |
|
$(INSTALL_DATA) libmp.a $(libdir)/libmp.a |
|
-chmod a-x $(libdir)/libmp.a |
|
$(INSTALL_DATA) $(srcdir)/mp.h $(includedir)/mp.h |
|
-chmod a-x $(includedir)/mp.h |
|
install-info-files: installdirs $(srcdir)/gmp.info |
|
cd $(srcdir); for f in gmp.info*; \ |
|
do $(INSTALL_DATA) $$f $(infodir)/$$f; done |
|
-chmod a-x $(infodir)/gmp.info* |
|
# Attempt to edit the info directory node |
|
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ |
|
install-info --dir-file=$(infodir)/dir $(infodir)/gmp.info; \ |
|
else true; fi |
|
|
|
installdirs: $(srcdir)/mkinstalldirs |
.texi: |
$(srcdir)/mkinstalldirs $(includedir) $(libdir) $(infodir) |
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
|
cd $(srcdir) \ |
|
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
|
|
uninstall: |
.texinfo.info: |
rm -f $(libdir)/libgmp.a |
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
rm -f $(includedir)/gmp.h |
cd $(srcdir) \ |
rm -f $(libdir)/libmp.a |
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
rm -f $(includedir)/mp.h |
|
rm -f $(infodir)/gmp.info* |
|
|
|
clean mostlyclean: |
.texinfo: |
rm -f *.o libgmp.a libmp.a gmp.dvi gmp.ps tmp.* tmp-* |
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
rm -f gmp.?? gmp.??s gmp.log gmp.toc gmp.*aux gmp*.html |
cd $(srcdir) \ |
-cd mpn; $(MAKE) $@ |
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
-cd mpz; $(MAKE) $@ |
|
-cd mpf; $(MAKE) $@ |
|
-cd mpq; $(MAKE) $@ |
|
-cd mpbsd; $(MAKE) $@ |
|
distclean: clean |
|
rm -f Makefile config.status |
|
-cd mpn; $(MAKE) $@ |
|
-cd mpz; $(MAKE) $@ |
|
-cd mpf; $(MAKE) $@ |
|
-cd mpq; $(MAKE) $@ |
|
-cd mpbsd; $(MAKE) $@ |
|
maintainer-clean: distclean |
|
rm -f $(srcdir)/gmp.info* |
|
|
|
TAGS: force |
.texinfo.dvi: |
cd $(srcdir); etags *.[ch] mp*/*.c mpn/generic/*.c >TAGS |
TEXINPUTS=$(srcdir):$$TEXINPUTS \ |
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
|
|
dist: |
.txi.info: |
@echo "sorry, not supported target" |
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
@exit 1 |
cd $(srcdir) \ |
|
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
|
|
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) |
.txi.dvi: |
$(SHELL) ./config.status |
TEXINPUTS=$(srcdir):$$TEXINPUTS \ |
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
|
|
H = $(srcdir)/gmp.h $(srcdir)/gmp-impl.h mpn/gmp-mparam.h |
.txi: |
|
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
|
cd $(srcdir) \ |
|
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
|
.dvi.ps: |
|
$(DVIPS) $< -o $@ |
|
|
extract-double.o: $(srcdir)/extract-double.c $(H) |
install-info-am: $(INFO_DEPS) |
insert-double.o: $(srcdir)/insert-double.c $(H) |
@$(NORMAL_INSTALL) |
memory.o: $(srcdir)/memory.c $(H) |
$(mkinstalldirs) $(DESTDIR)$(infodir) |
mp_bpl.o: $(srcdir)/mp_bpl.c |
@list='$(INFO_DEPS)'; \ |
mp_clz_tab.o: $(srcdir)/mp_clz_tab.c |
for file in $$list; do \ |
mp_set_fns.o: $(srcdir)/mp_set_fns.c $(H) |
d=$(srcdir); \ |
stack-alloc.o: $(srcdir)/stack-alloc.c $(srcdir)/stack-alloc.h |
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ |
version.o: $(srcdir)/version.c |
if test -f $$d/$$ifile; then \ |
|
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ |
|
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ |
|
else : ; fi; \ |
|
done; \ |
|
done |
|
@$(POST_INSTALL) |
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
|
list='$(INFO_DEPS)'; \ |
|
for file in $$list; do \ |
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ |
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ |
|
done; \ |
|
else : ; fi |
|
|
force: |
uninstall-info: |
.PNONY: check install install-bsdmp install-info-files install-strip uninstall |
$(PRE_UNINSTALL) |
.PHONY: doc clean distclean maintainer-clean force info dvi |
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
|
list='$(INFO_DEPS)'; \ |
|
for file in $$list; do \ |
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ |
|
install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ |
|
done; \ |
|
else :; fi |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(INFO_DEPS)'; \ |
|
for file in $$list; do \ |
|
(if cd $(DESTDIR)$(infodir); then \ |
|
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \ |
|
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \ |
|
else :; fi); \ |
|
done |
|
|
|
dist-info: $(INFO_DEPS) |
|
list='$(INFO_DEPS)'; \ |
|
for base in $$list; do \ |
|
d=$(srcdir); \ |
|
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \ |
|
test -f $(distdir)/$$file \ |
|
|| cp -p $$d/$$file $(distdir)/$$file; \ |
|
done; \ |
|
done |
|
|
|
mostlyclean-aminfo: |
|
-rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.pgs gmp.ky \ |
|
gmp.kys gmp.ps gmp.log gmp.pg gmp.toc gmp.tp gmp.tps gmp.vr \ |
|
gmp.vrs gmp.op gmp.tr gmp.cv gmp.cn gmp.cm gmp.ov |
|
|
|
clean-aminfo: |
|
|
|
distclean-aminfo: |
|
|
|
maintainer-clean-aminfo: |
|
cd $(srcdir) && for i in $(INFO_DEPS); do \ |
|
rm -f $$i; \ |
|
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ |
|
rm -f $$i-[0-9]*; \ |
|
fi; \ |
|
done |
|
|
|
install-includeHEADERS: $(include_HEADERS) |
|
@$(NORMAL_INSTALL) |
|
$(mkinstalldirs) $(DESTDIR)$(includedir) |
|
@list='$(include_HEADERS)'; for p in $$list; do \ |
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ |
|
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
|
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ |
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \ |
|
done |
|
|
|
uninstall-includeHEADERS: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(include_HEADERS)'; for p in $$list; do \ |
|
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
|
echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ |
|
rm -f $(DESTDIR)$(includedir)/$$f; \ |
|
done |
|
|
|
# This directory's subdirectories are mostly independent; you can cd |
|
# into them and run `make' without going through this Makefile. |
|
# To change the values of `make' variables: instead of editing Makefiles, |
|
# (1) if the variable is set in `config.status', edit `config.status' |
|
# (which will cause the Makefiles to be regenerated when you run `make'); |
|
# (2) otherwise, pass the desired values on the `make' command line. |
|
|
|
all-recursive install-data-recursive install-exec-recursive \ |
|
installdirs-recursive install-recursive uninstall-recursive \ |
|
check-recursive installcheck-recursive info-recursive dvi-recursive: |
|
@set fnord $(MAKEFLAGS); amf=$$2; \ |
|
dot_seen=no; \ |
|
target=`echo $@ | sed s/-recursive//`; \ |
|
list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
echo "Making $$target in $$subdir"; \ |
|
if test "$$subdir" = "."; then \ |
|
dot_seen=yes; \ |
|
local_target="$$target-am"; \ |
|
else \ |
|
local_target="$$target"; \ |
|
fi; \ |
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
|
done; \ |
|
if test "$$dot_seen" = "no"; then \ |
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
|
fi; test -z "$$fail" |
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \ |
|
maintainer-clean-recursive: |
|
@set fnord $(MAKEFLAGS); amf=$$2; \ |
|
dot_seen=no; \ |
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
rev="$$subdir $$rev"; \ |
|
if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \ |
|
done; \ |
|
test "$$dot_seen" = "no" && rev=". $$rev"; \ |
|
target=`echo $@ | sed s/-recursive//`; \ |
|
for subdir in $$rev; do \ |
|
echo "Making $$target in $$subdir"; \ |
|
if test "$$subdir" = "."; then \ |
|
local_target="$$target-am"; \ |
|
else \ |
|
local_target="$$target"; \ |
|
fi; \ |
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
|
done && test -z "$$fail" |
|
tags-recursive: |
|
list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
|
done |
|
|
|
tags: TAGS |
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) ' { files[$$0] = 1; } \ |
|
END { for (i in files) print i; }'`; \ |
|
mkid -f$$here/ID $$unique $(LISP) |
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ |
|
$(TAGS_FILES) $(LISP) |
|
tags=; \ |
|
here=`pwd`; \ |
|
list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
if test "$$subdir" = .; then :; else \ |
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
|
fi; \ |
|
done; \ |
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) ' { files[$$0] = 1; } \ |
|
END { for (i in files) print i; }'`; \ |
|
test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ |
|
|| etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) |
|
|
|
mostlyclean-tags: |
|
|
|
clean-tags: |
|
|
|
distclean-tags: |
|
-rm -f TAGS ID |
|
|
|
maintainer-clean-tags: |
|
|
|
distdir = $(PACKAGE)-$(VERSION) |
|
top_distdir = $(distdir) |
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then |
|
# it guarantees that the distribution is self-contained by making another |
|
# tarfile. |
|
distcheck: dist |
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - |
|
chmod -R a-w $(distdir); chmod a+w $(distdir) |
|
mkdir $(distdir)/=build |
|
mkdir $(distdir)/=inst |
|
chmod a-w $(distdir) |
|
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \ |
|
&& cd $(distdir)/=build \ |
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) check \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) install \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
|
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) distclean \ |
|
&& rm -f $(distdir).tar.gz \ |
|
&& test `find . -type f -print | wc -l` -eq 0 |
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
|
@banner="$(distdir).tar.gz is ready for distribution"; \ |
|
dashes=`echo "$$banner" | sed s/./=/g`; \ |
|
echo "$$dashes"; \ |
|
echo "$$banner"; \ |
|
echo "$$dashes" |
|
dist: distdir |
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
|
|| chmod -R a+r $(distdir) |
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz |
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
|
dist-all: distdir |
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
|
|| chmod -R a+r $(distdir) |
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz |
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
|
distdir: $(DISTFILES) |
|
@if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \ |
|
echo "NEWS not updated; not releasing" 1>&2; \ |
|
exit 1; \ |
|
fi |
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
|
mkdir $(distdir) |
|
$(mkinstalldirs) $(distdir)/mpfr |
|
@for file in $(DISTFILES); do \ |
|
d=$(srcdir); \ |
|
if test -d $$d/$$file; then \ |
|
cp -pR $$d/$$file $(distdir); \ |
|
else \ |
|
test -f $(distdir)/$$file \ |
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
|
fi; \ |
|
done |
|
for subdir in $(SUBDIRS); do \ |
|
if test "$$subdir" = .; then :; else \ |
|
test -d $(distdir)/$$subdir \ |
|
|| mkdir $(distdir)/$$subdir \ |
|
|| exit 1; \ |
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ |
|
|| exit 1; \ |
|
fi; \ |
|
done |
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook |
|
info-am: $(INFO_DEPS) |
|
info: info-recursive |
|
dvi-am: $(DVIS) |
|
dvi: dvi-recursive |
|
check-am: all-am |
|
check: check-recursive |
|
installcheck-am: |
|
installcheck: installcheck-recursive |
|
all-recursive-am: config.h |
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive |
|
|
|
install-exec-am: install-libLTLIBRARIES |
|
install-exec: install-exec-recursive |
|
|
|
install-data-am: install-info-am install-includeHEADERS |
|
install-data: install-data-recursive |
|
|
|
install-am: all-am |
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
install: install-recursive |
|
uninstall-am: uninstall-libLTLIBRARIES uninstall-info \ |
|
uninstall-includeHEADERS |
|
uninstall: uninstall-recursive |
|
all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \ |
|
config.h |
|
all-redirect: all-recursive-am |
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install |
|
installdirs: installdirs-recursive |
|
installdirs-am: |
|
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) \ |
|
$(DESTDIR)$(includedir) |
|
|
|
|
|
mostlyclean-generic: |
|
|
|
clean-generic: |
|
|
|
distclean-generic: |
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
|
|
|
maintainer-clean-generic: |
|
-rm -f Makefile.in |
|
mostlyclean-am: mostlyclean-hdr mostlyclean-libLTLIBRARIES \ |
|
mostlyclean-compile mostlyclean-libtool \ |
|
mostlyclean-krextra mostlyclean-kr mostlyclean-vti \ |
|
mostlyclean-aminfo mostlyclean-tags mostlyclean-generic |
|
|
|
mostlyclean: mostlyclean-recursive |
|
|
|
clean-am: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \ |
|
clean-krextra clean-kr clean-vti clean-aminfo \ |
|
clean-tags clean-generic mostlyclean-am |
|
|
|
clean: clean-recursive |
|
|
|
distclean-am: distclean-hdr distclean-libLTLIBRARIES distclean-compile \ |
|
distclean-libtool distclean-krextra distclean-kr \ |
|
distclean-vti distclean-aminfo distclean-tags \ |
|
distclean-generic clean-am |
|
-rm -f libtool |
|
|
|
distclean: distclean-recursive |
|
-rm -f config.status |
|
|
|
maintainer-clean-am: maintainer-clean-hdr \ |
|
maintainer-clean-libLTLIBRARIES \ |
|
maintainer-clean-compile maintainer-clean-libtool \ |
|
maintainer-clean-krextra maintainer-clean-kr \ |
|
maintainer-clean-vti maintainer-clean-aminfo \ |
|
maintainer-clean-tags maintainer-clean-generic \ |
|
distclean-am |
|
@echo "This command is intended for maintainers to use;" |
|
@echo "it deletes files that may require special tools to rebuild." |
|
|
|
maintainer-clean: maintainer-clean-recursive |
|
-rm -f config.status |
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
|
mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ |
|
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ |
|
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ |
|
distclean-compile clean-compile maintainer-clean-compile \ |
|
mostlyclean-libtool distclean-libtool clean-libtool \ |
|
maintainer-clean-libtool mostlyclean-krextra distclean-krextra \ |
|
clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \ |
|
clean-kr maintainer-clean-kr mostlyclean-vti distclean-vti clean-vti \ |
|
maintainer-clean-vti install-info-am uninstall-info mostlyclean-aminfo \ |
|
distclean-aminfo clean-aminfo maintainer-clean-aminfo \ |
|
uninstall-includeHEADERS install-includeHEADERS install-recursive \ |
|
uninstall-recursive install-data-recursive uninstall-data-recursive \ |
|
install-exec-recursive uninstall-exec-recursive installdirs-recursive \ |
|
uninstalldirs-recursive all-recursive check-recursive \ |
|
installcheck-recursive info-recursive dvi-recursive \ |
|
mostlyclean-recursive distclean-recursive clean-recursive \ |
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ |
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ |
|
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ |
|
install-exec-am install-exec install-data-am install-data install-am \ |
|
install uninstall-am uninstall all-redirect all-am all install-strip \ |
|
installdirs-am installdirs mostlyclean-generic distclean-generic \ |
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \ |
|
maintainer-clean |
|
|
|
|
|
# Don't ship CVS directories or emacs backups. |
|
dist-hook: |
|
-find $(distdir) \( -name CVS -type d \) -o -name "*.~*" \ |
|
| xargs rm -rf |
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
# Otherwise a system limit (for SysV at least) may be exceeded. |
|
.NOEXPORT: |