diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-02-10 14:28:34 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-02-10 14:28:34 +0100 |
commit | 2168b00f3c9cebd2f150a68034ab3f0cb6f0b767 (patch) | |
tree | 77e0fde348c3019b0e8a92ebb0160498cc0a61af /mpq | |
parent | b8b598b5a8e77ac4133af5da3bf9e96d28c69b90 (diff) | |
download | gmp-2168b00f3c9cebd2f150a68034ab3f0cb6f0b767.tar.gz |
New file
Diffstat (limited to 'mpq')
-rw-r--r-- | mpq/Makefile.am | 16 | ||||
-rw-r--r-- | mpq/tests/Makefile.am | 22 |
2 files changed, 38 insertions, 0 deletions
diff --git a/mpq/Makefile.am b/mpq/Makefile.am new file mode 100644 index 000000000..8bf79b416 --- /dev/null +++ b/mpq/Makefile.am @@ -0,0 +1,16 @@ +## Process this file with automake to generate Makefile.in + +#AUTOMAKE_OPTIONS = gnu no-dependencies +AUTOMAKE_OPTIONS = gnu + +# $top_srcdir is needed for `#include "gmp-impl.h"'. FIXME? +# FIXME: Need `-I$(srcdir)' and `-I.'? Where to find config.h? +INCLUDES = -I$(top_srcdir) + +EXTRA_DIST = tests + +noinst_LTLIBRARIES = libmpq.la +libmpq_la_SOURCES = \ + add.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 mul.c neg.c set.c set_den.c \ + set_num.c set_si.c set_ui.c sub.c equal.c set_z.c diff --git a/mpq/tests/Makefile.am b/mpq/tests/Makefile.am new file mode 100644 index 000000000..f82e36917 --- /dev/null +++ b/mpq/tests/Makefile.am @@ -0,0 +1,22 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = gnu + +INCLUDES = -I$(top_srcdir) +LDADD = ../../libgmp.la + +noinst_PROGRAMS = t-cmp t-cmp_ui t-get_d + +check: Makefile st-cmp st-cmp_ui st-get_d + @echo "The tests passed." + +st-cmp: t-cmp@EXEEXT@ + ./t-cmp + touch $@ +st-cmp_ui: t-cmp_ui@EXEEXT@ + ./t-cmp_ui + touch $@ +st-get_d: t-get_d@EXEEXT@ + ./t-get_d + touch $@ + |