summaryrefslogtreecommitdiff
path: root/mpq
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-09 22:24:06 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-09 22:24:06 +0200
commitc0301acfc4b53e9b62979309d937c540824d4a51 (patch)
tree45111d0be7ec87912ca03ff5b373bcd1961ecced /mpq
parent4a51bb8369bac4982ace54a7d6a681f6870c61d9 (diff)
downloadgmp-c0301acfc4b53e9b62979309d937c540824d4a51.tar.gz
Use TESTS rather than explicit check rules.
Diffstat (limited to 'mpq')
-rw-r--r--mpq/tests/Makefile.am39
1 files changed, 23 insertions, 16 deletions
diff --git a/mpq/tests/Makefile.am b/mpq/tests/Makefile.am
index 887041b04..5e7e9664f 100644
--- a/mpq/tests/Makefile.am
+++ b/mpq/tests/Makefile.am
@@ -1,22 +1,29 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = gnu
-
-INCLUDES = -I$(top_srcdir) -I../..
-LDADD = ../../libgmp.la
+# Copyright (C) 1996, 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 Library General Public License as published by
+# the Free Software Foundation; either version 2 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 Library General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Library 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.
-noinst_PROGRAMS = t-cmp t-cmp_ui t-get_d
-check: Makefile st-cmp st-cmp_ui st-get_d
- @echo "The tests passed."
+AUTOMAKE_OPTIONS = gnu
-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 $@
+INCLUDES = -I$(top_srcdir) -I$(top_builddir)
+LDADD = $(top_builddir)/libgmp.la
+check_PROGRAMS = t-cmp t-cmp_ui t-get_d
+TESTS = $(check_PROGRAMS)