summaryrefslogtreecommitdiff
path: root/mpq/Makefile.am
blob: d716f9f7fba97d0075d00d191d306bce804ec08f (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
## Process this file with automake to generate Makefile.in

# Copyright 1996, 1998, 2000, 2001 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

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

noinst_LTLIBRARIES = libmpq.la
libmpq_la_SOURCES = \
  abs.c canonicalize.c clear.c cmp.c cmp_ui.c div.c get_d.c \
  get_den.c get_num.c init.c inv.c md_2exp.c mul.c \
  neg.c out_str.c set.c set_den.c \
  set_num.c set_si.c set_ui.c equal.c set_z.c set_d.c set_f.c swap.c

nodist_libmpq_la_SOURCES = add.c sub.c

CLEANFILES = $(nodist_libmpq_la_SOURCES)

EXTRA_DIST = aors.c

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