1
## Process this file with automake to generate Makefile.in
3
# Copyright (C) 2000 Free Software Foundation, Inc.
5
# This file is part of the GNU MP Library.
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.
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.
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,
23
AUTOMAKE_OPTIONS = gnu $(top_builddir)/ansi2knr no-dependencies
25
INCLUDES = -I$(top_srcdir)
26
LDADD = $(top_builddir)/libgmp.la
29
add_n addmul_1 copy divmod_1 divrem lshift mul_1 rshift \
30
sub_n submul_1 tst-addsub try
32
# addsub_n addsub_n_2 not yet built since mpn_addsub_n doesn't yet exist
34
EXTRA_HEADERS = ref.h try.h
35
EXTRA_DIST = x86call.asm x86check.c
37
try_SOURCES = try.c ref.c trace.c spinner.c
38
try_LDADD = @CALLING_CONVENTIONS_OBJS@ $(top_builddir)/libgmp.la
39
try_DEPENDENCIES = $(try_LDADD)
41
allprogs: $(EXTRA_PROGRAMS)
43
CLEANFILES = $(EXTRA_PROGRAMS)
48
# Relative paths don't work out right when running m4 from a second level
49
# subdirectory, so copy the necessary files up to build them.
51
cp $< ..; cd ..; $(MAKE) $(AM_MAKEFLAGS) $@; rm $*.asm; mv $*.* tests;
53
cp $< ..; cd ..; $(MAKE) $(AM_MAKEFLAGS) $@; rm $*.asm; mv $*.* tests;
55
cp $< ..; cd ..; $(MAKE) $(AM_MAKEFLAGS) $@; rm $*.asm; mv $*.* tests;