Upload Tizen:Base source
[external/gmp.git] / mpbsd / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 # Copyright 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4 #
5 # This file is part of the GNU MP Library.
6 #
7 # The GNU MP Library is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or (at your
10 # option) any later version.
11 #
12 # The GNU MP Library is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 # License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
19
20
21 # -I$(top_srcdir)/mpz is for #includes done by mpz .c files.  Perhaps most
22 # compilers are smart enough to look in the same directory as the .c file
23 # already, but lets make absolutely sure.
24 #
25 INCLUDES = -DBERKELEY_MP -D__GMP_WITHIN_GMP -D__gmpz_realloc=_mp_realloc \
26         -I$(top_srcdir) -I$(top_srcdir)/mpz
27
28 # The mpz sources here all know to look for -DBERKELEY_MP to compile to in
29 # mpbsd form.
30 #
31 libmpbsd_la_SOURCES = itom.c mfree.c min.c mout.c mtox.c rpow.c sdiv.c xtom.c \
32   ../mpz/add.c ../mpz/cmp.c ../mpz/gcd.c ../mpz/mul.c ../mpz/powm.c \
33   ../mpz/realloc.c ../mpz/set.c ../mpz/sqrtrem.c ../mpz/sub.c ../mpz/tdiv_qr.c
34
35 if WANT_MPBSD
36 noinst_LTLIBRARIES = libmpbsd.la
37 endif