version 1.1.1.1, 2000/09/09 14:13:16 |
version 1.1.1.2, 2003/08/25 16:06:36 |
|
|
## Process this file with automake to generate Makefile.in |
## Process this file with automake to generate Makefile.in |
|
|
# Copyright (C) 1996, 1999, 2000 Free Software Foundation, Inc. |
# Copyright 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
# |
# |
# This file is part of the GNU MP Library. |
# This file is part of the GNU MP Library. |
# |
# |
|
|
# MA 02111-1307, USA. |
# MA 02111-1307, USA. |
|
|
|
|
AUTOMAKE_OPTIONS = gnu no-dependencies |
AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr |
|
|
SUBDIRS = tests |
# -I$(top_srcdir)/mpz is for #includes done by mpz .c files. Perhaps most |
|
# compilers are smart enough to look in the same directory as the .c file |
|
# already, but lets make absolutely sure. |
|
# |
|
INCLUDES = -DBERKELEY_MP -D__GMP_WITHIN_GMP -D__gmpz_realloc=_mp_realloc \ |
|
-I$(top_srcdir) -I$(top_srcdir)/mpz |
|
|
|
# The mpz sources here all know to look for -DBERKELEY_MP to compile to in |
|
# mpbsd form. |
|
# |
|
# FIXME: Would have just put ../mpz/add.c etc in libmpbsd_la_SOURCES, but as |
|
# of automake 1.5 that doesn't work in combination with ansi2knr. |
|
# |
|
libmpbsd_la_SOURCES = itom.c mfree.c min.c mout.c mtox.c rpow.c sdiv.c xtom.c |
|
nodist_libmpbsd_la_SOURCES = \ |
|
add.c cmp.c gcd.c mul.c powm.c realloc.c set.c sqrtrem.c sub.c tdiv_qr.c |
|
|
INCLUDES = -DBERKELEY_MP -D__gmpz_realloc=_mp_realloc -I$(top_srcdir) |
$(nodist_libmpbsd_la_SOURCES): |
|
for i in $(nodist_libmpbsd_la_SOURCES); do \ |
|
cp $(top_srcdir)/mpz/$$i .; \ |
|
done |
|
|
nodist_libmpbsd_la_SOURCES = \ |
CLEANFILES = $(nodist_libmpbsd_la_SOURCES) |
add.c cmp.c gcd.c mul.c pow_ui.c powm.c realloc.c sqrtrem.c sub.c \ |
|
tdiv_qr.c |
|
libmpbsd_la_SOURCES = \ |
|
itom.c mfree.c min.c mout.c move.c mtox.c sdiv.c xtom.c |
|
|
|
if WANT_MPBSD |
if WANT_MPBSD |
noinst_LTLIBRARIES = libmpbsd.la |
noinst_LTLIBRARIES = libmpbsd.la |
endif |
endif |
|
|
CLEANFILES = $(nodist_libmpbsd_la_SOURCES) |
|
|
|
|
|
add.c: $(top_srcdir)/mpz/add.c |
|
cp $(top_srcdir)/mpz/add.c add.c |
|
|
|
cmp.c: $(top_srcdir)/mpz/cmp.c |
|
cp $(top_srcdir)/mpz/cmp.c cmp.c |
|
|
|
gcd.c: $(top_srcdir)/mpz/gcd.c |
|
cp $(top_srcdir)/mpz/gcd.c gcd.c |
|
|
|
mul.c: $(top_srcdir)/mpz/mul.c |
|
cp $(top_srcdir)/mpz/mul.c mul.c |
|
|
|
pow_ui.c: $(top_srcdir)/mpz/pow_ui.c |
|
cp $(top_srcdir)/mpz/pow_ui.c pow_ui.c |
|
|
|
powm.c: $(top_srcdir)/mpz/powm.c |
|
cp $(top_srcdir)/mpz/powm.c powm.c |
|
|
|
realloc.c: $(top_srcdir)/mpz/realloc.c |
|
cp $(top_srcdir)/mpz/realloc.c realloc.c |
|
|
|
sqrtrem.c: $(top_srcdir)/mpz/sqrtrem.c |
|
cp $(top_srcdir)/mpz/sqrtrem.c sqrtrem.c |
|
|
|
sub.c: $(top_srcdir)/mpz/sub.c |
|
cp $(top_srcdir)/mpz/sub.c sub.c |
|
|
|
tdiv_qr.c: $(top_srcdir)/mpz/tdiv_qr.c |
|
cp $(top_srcdir)/mpz/tdiv_qr.c tdiv_qr.c |
|