[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpbsd

Annotation of OpenXM_contrib/gmp/mpbsd/Makefile.am, Revision 1.1.1.2

1.1       maekawa     1: ## Process this file with automake to generate Makefile.in
                      2:
1.1.1.2 ! ohara       3: # Copyright 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
1.1       maekawa     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 2.1 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; see the file COPYING.LIB.  If not, write to
                     19: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
                     20: # MA 02111-1307, USA.
                     21:
                     22:
1.1.1.2 ! ohara      23: AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
1.1       maekawa    24:
1.1.1.2 ! ohara      25: # -I$(top_srcdir)/mpz is for #includes done by mpz .c files.  Perhaps most
        !            26: # compilers are smart enough to look in the same directory as the .c file
        !            27: # already, but lets make absolutely sure.
        !            28: #
        !            29: INCLUDES = -DBERKELEY_MP -D__GMP_WITHIN_GMP -D__gmpz_realloc=_mp_realloc \
        !            30:        -I$(top_srcdir) -I$(top_srcdir)/mpz
1.1       maekawa    31:
1.1.1.2 ! ohara      32: # The mpz sources here all know to look for -DBERKELEY_MP to compile to in
        !            33: # mpbsd form.
        !            34: #
        !            35: # FIXME: Would have just put ../mpz/add.c etc in libmpbsd_la_SOURCES, but as
        !            36: # of automake 1.5 that doesn't work in combination with ansi2knr.
        !            37: #
        !            38: libmpbsd_la_SOURCES = itom.c mfree.c min.c mout.c mtox.c rpow.c sdiv.c xtom.c
        !            39: nodist_libmpbsd_la_SOURCES = \
        !            40:   add.c cmp.c gcd.c mul.c powm.c realloc.c set.c sqrtrem.c sub.c tdiv_qr.c
1.1       maekawa    41:
1.1.1.2 ! ohara      42: $(nodist_libmpbsd_la_SOURCES):
        !            43:        for i in $(nodist_libmpbsd_la_SOURCES); do \
        !            44:          cp $(top_srcdir)/mpz/$$i .; \
        !            45:         done
1.1       maekawa    46:
1.1.1.2 ! ohara      47: CLEANFILES = $(nodist_libmpbsd_la_SOURCES)
1.1       maekawa    48:
                     49: if WANT_MPBSD
                     50: noinst_LTLIBRARIES = libmpbsd.la
                     51: endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>