summaryrefslogtreecommitdiff
path: root/mpbsd
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-09 22:39:30 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-09 22:39:30 +0200
commitfcd3bbd3e3b2d723851db55918098a66997b9718 (patch)
tree2f7e0cd21ab9fdd73064b0f479532348471d7fe8 /mpbsd
parentdae0a48be99e414f2e9d4be44d157040ec1e93e3 (diff)
downloadgmp-fcd3bbd3e3b2d723851db55918098a66997b9718.tar.gz
Initial version, derived from old Makefile.in.
Diffstat (limited to 'mpbsd')
-rw-r--r--mpbsd/Makefile.am64
1 files changed, 64 insertions, 0 deletions
diff --git a/mpbsd/Makefile.am b/mpbsd/Makefile.am
new file mode 100644
index 000000000..e7298f3f5
--- /dev/null
+++ b/mpbsd/Makefile.am
@@ -0,0 +1,64 @@
+## Process this file with automake to generate Makefile.in
+
+# Copyright (C) 1996, 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
+# it under the terms of the GNU Library General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# 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
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Library General Public License
+# 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,
+# MA 02111-1307, USA.
+
+
+AUTOMAKE_OPTIONS = gnu
+
+# $(top_srcdir)/mpz is for #include "dmincl.c" in mdiv.c
+INCLUDES = -DBERKELEY_MP -I$(top_srcdir) -I$(top_srcdir)/mpz -I$(top_builddir)
+
+libmpbsd_la_SOURCES = \
+ itom.c mdiv.c mfree.c min.c mout.c move.c mtox.c sdiv.c xtom.c \
+ realloc.c
+
+nodist_libmpbsd_la_SOURCES = \
+ add.c cmp.c gcd.c mul.c pow_ui.c powm.c sqrtrem.c sub.c
+
+if WANT_MPBSD
+noinst_LTLIBRARIES = libmpbsd.la
+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
+
+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