version 1.1.1.1, 2000/01/10 15:35:26 |
version 1.1.1.2, 2000/09/09 14:13:06 |
|
|
# Makefile for mpq/tests for GNU MP |
# Makefile.in generated automatically by automake 1.4a from Makefile.am |
|
|
srcdir = . |
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
|
# This Makefile.in is free software; the Free Software Foundation |
|
# gives unlimited permission to copy and/or distribute it, |
|
# with or without modifications, as long as this notice is preserved. |
|
|
CC = gcc |
# This program is distributed in the hope that it will be useful, |
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
# PARTICULAR PURPOSE. |
|
|
TEST_LIBS = ../../libgmp.a |
SHELL = @SHELL@ |
INCLUDES = -I../../mpn -I$(srcdir)/../.. |
|
CFLAGS = -g -O |
|
|
|
|
srcdir = @srcdir@ |
|
top_srcdir = @top_srcdir@ |
|
VPATH = @srcdir@ |
|
prefix = @prefix@ |
|
exec_prefix = @exec_prefix@ |
|
|
|
bindir = @bindir@ |
|
sbindir = @sbindir@ |
|
libexecdir = @libexecdir@ |
|
datadir = @datadir@ |
|
sysconfdir = @sysconfdir@ |
|
sharedstatedir = @sharedstatedir@ |
|
localstatedir = @localstatedir@ |
|
libdir = @libdir@ |
|
infodir = @infodir@ |
|
mandir = @mandir@ |
|
includedir = @includedir@ |
|
oldincludedir = /usr/include |
|
|
|
DESTDIR = |
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@ |
|
pkglibdir = $(libdir)/@PACKAGE@ |
|
pkgincludedir = $(includedir)/@PACKAGE@ |
|
|
|
top_builddir = ../.. |
|
|
|
ACLOCAL = @ACLOCAL@ |
|
AUTOCONF = @AUTOCONF@ |
|
AUTOMAKE = @AUTOMAKE@ |
|
AUTOHEADER = @AUTOHEADER@ |
|
|
|
INSTALL = @INSTALL@ |
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
INSTALL_DATA = @INSTALL_DATA@ |
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|
INSTALL_STRIP_FLAG = |
|
transform = @program_transform_name@ |
|
|
|
NORMAL_INSTALL = : |
|
PRE_INSTALL = : |
|
POST_INSTALL = : |
|
NORMAL_UNINSTALL = : |
|
PRE_UNINSTALL = : |
|
POST_UNINSTALL = : |
|
|
|
@SET_MAKE@ |
|
build_alias = @build_alias@ |
|
build_triplet = @build@ |
|
host_alias = @host_alias@ |
|
host_triplet = @host@ |
|
target_alias = @target_alias@ |
|
target_triplet = @target@ |
|
AMDEP = @AMDEP@ |
|
AMTAR = @AMTAR@ |
|
AR = @AR@ |
|
AS = @AS@ |
|
AWK = @AWK@ |
|
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ |
|
CC = @CC@ |
|
CCAS = @CCAS@ |
|
CPP = @CPP@ |
|
CXX = @CXX@ |
|
CXXCPP = @CXXCPP@ |
|
DEPDIR = @DEPDIR@ |
|
DLLTOOL = @DLLTOOL@ |
|
EXEEXT = @EXEEXT@ |
|
LIBTOOL = @LIBTOOL@ |
|
LN_S = @LN_S@ |
|
M4 = @M4@ |
|
MAINT = @MAINT@ |
|
MAKEINFO = @MAKEINFO@ |
|
OBJDUMP = @OBJDUMP@ |
|
OBJEXT = @OBJEXT@ |
|
PACKAGE = @PACKAGE@ |
|
RANLIB = @RANLIB@ |
|
SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@ |
|
STRIP = @STRIP@ |
|
U = @U@ |
|
VERSION = @VERSION@ |
|
gmp_srclinks = @gmp_srclinks@ |
|
install_sh = @install_sh@ |
|
mpn_objects = @mpn_objects@ |
|
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ |
|
|
|
# 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 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 |
|
|
|
INCLUDES = -I$(top_srcdir) |
|
LDADD = $(top_builddir)/libgmp.la |
|
|
|
check_PROGRAMS = t-cmp t-cmp_ui t-get_d |
|
TESTS = $(check_PROGRAMS) |
|
subdir = mpq/tests |
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
|
CONFIG_HEADER = ../../config.h |
|
CONFIG_CLEAN_FILES = |
|
check_PROGRAMS = t-cmp$(EXEEXT) t-cmp_ui$(EXEEXT) t-get_d$(EXEEXT) |
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I../.. |
|
CPPFLAGS = @CPPFLAGS@ |
|
LDFLAGS = @LDFLAGS@ |
|
LIBS = @LIBS@ |
|
t_cmp_SOURCES = t-cmp.c |
|
t_cmp_OBJECTS = t-cmp.$(OBJEXT) |
|
t_cmp_LDADD = $(LDADD) |
|
t_cmp_DEPENDENCIES = $(top_builddir)/libgmp.la |
|
t_cmp_LDFLAGS = |
|
t_cmp_ui_SOURCES = t-cmp_ui.c |
|
t_cmp_ui_OBJECTS = t-cmp_ui.$(OBJEXT) |
|
t_cmp_ui_LDADD = $(LDADD) |
|
t_cmp_ui_DEPENDENCIES = $(top_builddir)/libgmp.la |
|
t_cmp_ui_LDFLAGS = |
|
t_get_d_SOURCES = t-get_d.c |
|
t_get_d_OBJECTS = t-get_d.$(OBJEXT) |
|
t_get_d_LDADD = $(LDADD) |
|
t_get_d_DEPENDENCIES = $(top_builddir)/libgmp.la |
|
t_get_d_LDFLAGS = |
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
CFLAGS = @CFLAGS@ |
|
CCLD = $(CC) |
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
|
DIST_SOURCES = t-cmp.c t-cmp_ui.c t-get_d.c |
|
DIST_COMMON = Makefile.am Makefile.in |
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
|
|
GZIP_ENV = --best |
|
depcomp = |
|
SOURCES = t-cmp.c t-cmp_ui.c t-get_d.c |
|
OBJECTS = t-cmp.$(OBJEXT) t-cmp_ui.$(OBJEXT) t-get_d.$(OBJEXT) |
|
|
|
all: all-redirect |
|
.SUFFIXES: |
|
.SUFFIXES: .c .lo .o .obj |
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu mpq/tests/Makefile |
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
cd $(top_builddir) \ |
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
|
|
|
|
|
mostlyclean-checkPROGRAMS: |
|
|
|
clean-checkPROGRAMS: |
|
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) |
|
|
|
distclean-checkPROGRAMS: |
|
|
|
maintainer-clean-checkPROGRAMS: |
|
|
|
mostlyclean-compile: |
|
-rm -f *.o core *.core |
|
-rm -f *.$(OBJEXT) |
|
|
|
clean-compile: |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
maintainer-clean-compile: |
|
|
|
mostlyclean-libtool: |
|
-rm -f *.lo |
|
|
|
clean-libtool: |
|
-rm -rf .libs _libs |
|
|
|
distclean-libtool: |
|
|
|
maintainer-clean-libtool: |
|
|
|
t-cmp$(EXEEXT): $(t_cmp_OBJECTS) $(t_cmp_DEPENDENCIES) |
|
@rm -f t-cmp$(EXEEXT) |
|
$(LINK) $(t_cmp_LDFLAGS) $(t_cmp_OBJECTS) $(t_cmp_LDADD) $(LIBS) |
|
|
|
t-cmp_ui$(EXEEXT): $(t_cmp_ui_OBJECTS) $(t_cmp_ui_DEPENDENCIES) |
|
@rm -f t-cmp_ui$(EXEEXT) |
|
$(LINK) $(t_cmp_ui_LDFLAGS) $(t_cmp_ui_OBJECTS) $(t_cmp_ui_LDADD) $(LIBS) |
|
|
|
t-get_d$(EXEEXT): $(t_get_d_OBJECTS) $(t_get_d_DEPENDENCIES) |
|
@rm -f t-get_d$(EXEEXT) |
|
$(LINK) $(t_get_d_LDFLAGS) $(t_get_d_OBJECTS) $(t_get_d_LDADD) $(LIBS) |
.c.o: |
.c.o: |
$(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $< |
$(COMPILE) -c $< |
|
.c.obj: |
|
$(COMPILE) -c `cygpath -w $<` |
|
.c.lo: |
|
$(LTCOMPILE) -c -o $@ $< |
|
|
TEST_SRCS = t-cmp.c t-cmp_ui.c t-get_d.c |
tags: TAGS |
TEST_OBJS = t-cmp.o t-cmp_ui.o t-get_d.o |
|
TESTS = t-cmp t-cmp_ui t-get_d |
|
|
|
check: Makefile st-cmp st-cmp_ui st-get_d |
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
@echo "The tests passed." |
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) ' { files[$$0] = 1; } \ |
|
END { for (i in files) print i; }'`; \ |
|
mkid -f$$here/ID $$unique $(LISP) |
|
|
st-cmp: t-cmp |
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
./t-cmp |
$(TAGS_FILES) $(LISP) |
touch $@ |
tags=; \ |
st-cmp_ui: t-cmp_ui |
here=`pwd`; \ |
./t-cmp_ui |
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
touch $@ |
unique=`for i in $$list; do \ |
st-get_d: t-get_d |
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
./t-get_d |
done | \ |
touch $@ |
$(AWK) ' { files[$$0] = 1; } \ |
|
END { for (i in files) print i; }'`; \ |
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP) |
|
|
t-cmp: t-cmp.o $(TEST_LIBS) |
mostlyclean-tags: |
$(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS) |
|
t-cmp_ui: t-cmp_ui.o $(TEST_LIBS) |
|
$(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS) |
|
t-get_d: t-get_d.o $(TEST_LIBS) |
|
$(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS) |
|
|
|
t-cmp.o: $(srcdir)/t-cmp.c |
clean-tags: |
t-cmp_ui.o: $(srcdir)/t-cmp_ui.c |
|
t-get_d.o: $(srcdir)/t-get_d.c |
|
|
|
clean mostlyclean: |
distclean-tags: |
rm -f *.o st-* $(TESTS) |
-rm -f TAGS ID |
distclean maintainer-clean: clean |
|
rm -f Makefile config.status |
|
|
|
Makefile: $(srcdir)/Makefile.in |
maintainer-clean-tags: |
$(SHELL) ./config.status |
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
|
|
|
distdir: $(DISTFILES) |
|
@for file in $(DISTFILES); do \ |
|
d=$(srcdir); \ |
|
if test -d $$d/$$file; then \ |
|
cp -pR $$d/$$file $(distdir); \ |
|
else \ |
|
test -f $(distdir)/$$file \ |
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
|
fi; \ |
|
done |
|
check-TESTS: $(TESTS) |
|
@failed=0; all=0; xfail=0; xpass=0; \ |
|
srcdir=$(srcdir); export srcdir; \ |
|
for tst in $(TESTS); do \ |
|
if test -f ./$$tst; then dir=./; \ |
|
elif test -f $$tst; then dir=; \ |
|
else dir="$(srcdir)/"; fi; \ |
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ |
|
all=`expr $$all + 1`; \ |
|
case " $(XFAIL_TESTS) " in \ |
|
*" $$tst "*) \ |
|
xpass=`expr $$xpass + 1`; \ |
|
failed=`expr $$failed + 1`; \ |
|
echo "XPASS: $$tst"; \ |
|
;; \ |
|
*) \ |
|
echo "PASS: $$tst"; \ |
|
;; \ |
|
esac; \ |
|
elif test $$? -ne 77; then \ |
|
all=`expr $$all + 1`; \ |
|
case " $(XFAIL_TESTS) " in \ |
|
*" $$tst "*) \ |
|
xfail=`expr $$xfail + 1`; \ |
|
echo "XFAIL: $$tst"; \ |
|
;; \ |
|
*) \ |
|
failed=`expr $$failed + 1`; \ |
|
echo "FAIL: $$tst"; \ |
|
;; \ |
|
esac; \ |
|
fi; \ |
|
done; \ |
|
if test "$$failed" -eq 0; then \ |
|
if test "$$xfail" -eq 0; then \ |
|
banner="All $$all tests passed"; \ |
|
else \ |
|
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ |
|
fi; \ |
|
else \ |
|
if test "$$xpass" -eq 0; then \ |
|
banner="$$failed of $$all tests failed"; \ |
|
else \ |
|
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ |
|
fi; \ |
|
fi; \ |
|
dashes=`echo "$$banner" | sed s/./=/g`; \ |
|
echo "$$dashes"; \ |
|
echo "$$banner"; \ |
|
echo "$$dashes"; \ |
|
test "$$failed" -eq 0 |
|
info-am: |
|
info: info-am |
|
dvi-am: |
|
dvi: dvi-am |
|
check-am: all-am |
|
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) |
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS |
|
check: check-am |
|
installcheck-am: |
|
installcheck: installcheck-am |
|
install-exec-am: |
|
install-exec: install-exec-am |
|
|
|
install-data-am: |
|
install-data: install-data-am |
|
|
|
install-am: all-am |
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
install: install-am |
|
uninstall-am: |
|
uninstall: uninstall-am |
|
all-am: Makefile |
|
all-redirect: all-am |
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install |
|
installdirs: |
|
|
|
|
|
mostlyclean-generic: |
|
|
|
clean-generic: |
|
|
|
distclean-generic: |
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
|
|
|
maintainer-clean-generic: |
|
-rm -f Makefile.in |
|
mostlyclean-am: mostlyclean-checkPROGRAMS mostlyclean-compile \ |
|
mostlyclean-libtool mostlyclean-tags \ |
|
mostlyclean-generic |
|
|
|
mostlyclean: mostlyclean-am |
|
|
|
clean-am: clean-checkPROGRAMS clean-compile clean-libtool clean-tags \ |
|
clean-generic mostlyclean-am |
|
|
|
clean: clean-am |
|
|
|
distclean-am: distclean-checkPROGRAMS distclean-compile \ |
|
distclean-libtool distclean-tags distclean-generic \ |
|
clean-am |
|
-rm -f libtool |
|
|
|
distclean: distclean-am |
|
|
|
maintainer-clean-am: maintainer-clean-checkPROGRAMS \ |
|
maintainer-clean-compile maintainer-clean-libtool \ |
|
maintainer-clean-tags maintainer-clean-generic \ |
|
distclean-am |
|
@echo "This command is intended for maintainers to use;" |
|
@echo "it deletes files that may require special tools to rebuild." |
|
|
|
maintainer-clean: maintainer-clean-am |
|
|
|
.PHONY: mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \ |
|
clean-checkPROGRAMS maintainer-clean-checkPROGRAMS mostlyclean-compile \ |
|
distclean-compile clean-compile maintainer-clean-compile \ |
|
mostlyclean-libtool distclean-libtool clean-libtool \ |
|
maintainer-clean-libtool tags mostlyclean-tags distclean-tags \ |
|
clean-tags maintainer-clean-tags distdir check-TESTS info-am info \ |
|
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ |
|
install-exec install-data-am install-data install-am install \ |
|
uninstall-am uninstall all-redirect all-am all install-strip \ |
|
installdirs mostlyclean-generic distclean-generic clean-generic \ |
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
# Otherwise a system limit (for SysV at least) may be exceeded. |
|
.NOEXPORT: |