summaryrefslogtreecommitdiff
path: root/mpz/Makefile.am
blob: 9f4f6a368ecd75617bfa6347f999c6091a195676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
## Process this file with automake to generate Makefile.in

# Copyright 1996, 1998, 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 Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 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 Lesser General Public
# License for more details.
#
# 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
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.


AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr

SUBDIRS = tests

INCLUDES = -I$(top_srcdir) -DOPERATION_`echo $* | sed 's/_$$//'`

noinst_LTLIBRARIES = libmpz.la
libmpz_la_SOURCES = \
  abs.c addmul_ui.c and.c array_init.c \
  bin_ui.c bin_uiui.c cdiv_q.c \
  cdiv_q_ui.c cdiv_qr.c cdiv_qr_ui.c cdiv_r.c cdiv_r_ui.c cdiv_ui.c \
  clear.c clrbit.c cmp.c cmp_si.c cmp_ui.c cmpabs.c cmpabs_ui.c com.c \
  divexact.c dump.c fac_ui.c fdiv_q.c fdiv_q_2exp.c fdiv_q_ui.c \
  fdiv_qr.c fdiv_qr_ui.c fdiv_r.c fdiv_r_2exp.c fdiv_r_ui.c fdiv_ui.c \
  fib_ui.c gcd.c gcd_ui.c gcdext.c get_d.c get_si.c \
  get_str.c get_ui.c getlimbn.c hamdist.c init.c inp_raw.c inp_str.c \
  invert.c ior.c iset.c iset_d.c iset_si.c iset_str.c iset_ui.c \
  jacobi.c kronsz.c kronuz.c kronzs.c kronzu.c \
  lcm.c legendre.c mod.c mul.c mul_2exp.c neg.c nextprime.c \
  out_raw.c out_str.c perfpow.c perfsqr.c popcount.c pow_ui.c powm.c \
  powm_ui.c pprime_p.c random.c random2.c realloc.c remove.c root.c rrandomb.c \
  scan0.c scan1.c set.c set_d.c set_f.c set_q.c set_si.c set_str.c \
  set_ui.c setbit.c size.c sizeinbase.c sqrt.c sqrtrem.c \
  swap.c tdiv_ui.c tdiv_q.c tdiv_q_2exp.c tdiv_q_ui.c tdiv_qr.c \
  tdiv_qr_ui.c tdiv_r.c tdiv_r_2exp.c tdiv_r_ui.c tstbit.c ui_pow_ui.c \
  urandomb.c urandomm.c xor.c

EXTRA_DIST = aors.c aors_ui.c fits.c mul_siui.c

nodist_libmpz_la_SOURCES =			\
  add.c sub.c					\
  add_ui.c sub_ui.c 				\
  fits_sint.c fits_slong.c fits_sshort.c	\
  fits_uint.c fits_ulong.c fits_ushort.c	\
  mul_si.c mul_ui.c

CLEANFILES = $(nodist_libmpz_la_SOURCES)

add.c: $(srcdir)/aors.c
	cp $(srcdir)/aors.c add.c
sub.c: $(srcdir)/aors.c
	cp $(srcdir)/aors.c sub.c

add_ui.c: $(srcdir)/aors_ui.c
	cp $(srcdir)/aors_ui.c add_ui.c
sub_ui.c: $(srcdir)/aors_ui.c
	cp $(srcdir)/aors_ui.c sub_ui.c

fits_sint.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_sint.c
fits_slong.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_slong.c
fits_sshort.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_sshort.c
fits_uint.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_uint.c
fits_ulong.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_ulong.c
fits_ushort.c: $(srcdir)/fits.c
	cp $(srcdir)/fits.c fits_ushort.c

mul_si.c: $(srcdir)/mul_siui.c
	cp $(srcdir)/mul_siui.c mul_si.c
mul_ui.c: $(srcdir)/mul_siui.c
	cp $(srcdir)/mul_siui.c mul_ui.c