Annotation of OpenXM_contrib/gmp/mpf/tests/Makefile.in, Revision 1.1
1.1 ! maekawa 1: # Makefile for mpf/tests for GNU MP
! 2:
! 3: srcdir = .
! 4:
! 5: CC = gcc
! 6:
! 7: TEST_LIBS = ../../libgmp.a
! 8: INCLUDES = -I../../mpn -I$(srcdir)/../..
! 9: CFLAGS = -g -O
! 10:
! 11: .c.o:
! 12: $(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $<
! 13:
! 14: TEST_SRCS = t-add.c t-sub.c t-conv.c t-sqrt.c t-muldiv.c t-dm2exp.c t-reuse.c ref.c
! 15: TEST_OBJS = t-add.o t-sub.o t-conv.o t-sqrt.o t-muldiv.o t-dm2exp.c reuse.o
! 16: TESTS = t-add t-sub t-conv t-sqrt t-muldiv t-dm2exp reuse
! 17:
! 18: check: Makefile st-add st-sub st-conv st-sqrt st-muldiv st-dm2exp st-reuse
! 19: @echo "The tests passed."
! 20:
! 21: st-add: t-add
! 22: ./t-add
! 23: touch $@
! 24: st-sub: t-sub
! 25: ./t-sub
! 26: touch $@
! 27: st-conv: t-conv
! 28: ./t-conv
! 29: touch $@
! 30: st-sqrt: t-sqrt
! 31: ./t-sqrt
! 32: touch $@
! 33: st-muldiv: t-muldiv
! 34: ./t-muldiv
! 35: touch $@
! 36: st-dm2exp: t-dm2exp
! 37: ./t-dm2exp
! 38: touch $@
! 39: st-reuse: reuse
! 40: ./reuse
! 41: touch $@
! 42:
! 43: H = $(srcdir)/../../gmp.h $(srcdir)/../../gmp-impl.h \
! 44: $(srcdir)/../../urandom.h ../../mpn/gmp-mparam.h
! 45:
! 46: t-add: t-add.o ref.o $(TEST_LIBS)
! 47: $(CC) -o $@ $@.o ref.o $(TEST_LIBS) $(CFLAGS)
! 48: t-sub: t-sub.o ref.o $(TEST_LIBS)
! 49: $(CC) -o $@ $@.o ref.o $(TEST_LIBS) $(CFLAGS)
! 50: t-conv: t-conv.o $(TEST_LIBS)
! 51: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
! 52: t-sqrt: t-sqrt.o $(TEST_LIBS)
! 53: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
! 54: t-muldiv: t-muldiv.o $(TEST_LIBS)
! 55: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
! 56: t-dm2exp: t-dm2exp.o $(TEST_LIBS)
! 57: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
! 58: reuse: reuse.o $(TEST_LIBS)
! 59: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
! 60:
! 61: t-add.o: $(srcdir)/t-add.c
! 62: t-sub.o: $(srcdir)/t-sub.c
! 63: t-conv.o: $(srcdir)/t-conv.c
! 64: t-sqrt.o: $(srcdir)/t-sqrt.c
! 65: t-muldiv.o: $(srcdir)/t-muldiv.c
! 66: t-dm2exp.o: $(srcdir)/t-dm2exp.c
! 67: reuse.o: $(srcdir)/reuse.c
! 68:
! 69: clean mostlyclean:
! 70: rm -f *.o st-* $(TESTS)
! 71: distclean maintainer-clean: clean
! 72: rm -f Makefile config.status
! 73:
! 74: Makefile: $(srcdir)/Makefile.in
! 75: $(SHELL) ./config.status
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>