Annotation of OpenXM_contrib/gmp/mpz/tests/Makefile.in, Revision 1.1.1.1
1.1 maekawa 1: # Makefile for mpz/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-mul.c t-tdiv.c t-tdiv_ui.c t-fdiv.c t-fdiv_ui.c t-gcd.c \
15: t-gcd2.c dive.c t-sqrtrem.c convert.c io.c logic.c t-powm.c t-powm_ui.c \
16: reuse.c
17: TEST_OBJS = t-mul.o t-tdiv.o t-tdiv_ui.o t-fdiv.o t-fdiv_ui.o t-gcd.o \
18: t-gcd2.o dive.o t-sqrtrem.o convert.o io.o logic.o t-powm.o t-powm_ui.o \
19: reuse.o
20: TESTS = t-mul t-tdiv t-tdiv_ui t-fdiv t-fdiv_ui t-gcd t-gcd2 \
21: dive t-sqrtrem convert io logic t-powm t-powm_ui reuse
22:
23: check: Makefile st-mul st-tdiv st-tdiv_ui st-fdiv st-fdiv_ui st-gcd st-gcd2 st-dive \
24: st-sqrtrem st-convert st-io st-logic st-powm st-powm_ui st-reuse
25: @echo "The tests passed."
26:
27: st-mul: t-mul
28: ./t-mul
29: touch $@
30: st-tdiv: t-tdiv
31: ./t-tdiv
32: touch $@
33: st-tdiv_ui: t-tdiv_ui
34: ./t-tdiv_ui
35: touch $@
36: st-fdiv: t-fdiv
37: ./t-fdiv
38: touch $@
39: st-fdiv_ui: t-fdiv_ui
40: ./t-fdiv_ui
41: touch $@
42: st-gcd: t-gcd
43: ./t-gcd
44: touch $@
45: st-gcd2: t-gcd2
46: ./t-gcd2
47: touch $@
48: st-dive: dive
49: ./dive
50: touch $@
51: st-sqrtrem: t-sqrtrem
52: ./t-sqrtrem
53: touch $@
54: st-convert: convert
55: ./convert
56: touch $@
57: st-io: io
58: ./io
59: touch $@
60: st-logic: logic
61: ./logic
62: touch $@
63: st-powm: t-powm
64: ./t-powm
65: touch $@
66: st-powm_ui: t-powm_ui
67: ./t-powm_ui
68: touch $@
69: st-reuse: reuse
70: ./reuse
71: touch $@
72:
73: t-mul: t-mul.o $(TEST_LIBS)
74: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
75: t-tdiv: t-tdiv.o $(TEST_LIBS)
76: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
77: t-tdiv_ui: t-tdiv_ui.o $(TEST_LIBS)
78: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
79: t-fdiv: t-fdiv.o $(TEST_LIBS)
80: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
81: t-fdiv_ui: t-fdiv_ui.o $(TEST_LIBS)
82: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
83: t-gcd: t-gcd.o $(TEST_LIBS)
84: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
85: t-gcd2: t-gcd2.o $(TEST_LIBS)
86: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
87: dive: dive.o $(TEST_LIBS)
88: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
89: t-sqrtrem: t-sqrtrem.o $(TEST_LIBS)
90: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
91: convert: convert.o $(TEST_LIBS)
92: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
93: io: io.o $(TEST_LIBS)
94: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
95: logic: logic.o $(TEST_LIBS)
96: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
97: t-powm: t-powm.o $(TEST_LIBS)
98: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
99: t-powm_ui: t-powm_ui.o $(TEST_LIBS)
100: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
101: reuse: reuse.o $(TEST_LIBS)
102: $(CC) -o $@ $@.o $(TEST_LIBS) $(CFLAGS)
103:
104: t-mul.o: $(srcdir)/t-mul.c
105: t-tdiv.o: $(srcdir)/t-tdiv.c
106: t-tdiv_ui.o: $(srcdir)/t-tdiv_ui.c
107: t-fdiv.o: $(srcdir)/t-fdiv.c
108: t-fdiv_ui.o: $(srcdir)/t-fdiv_ui.c
109: t-gcd.o: $(srcdir)/t-gcd.c
110: t-gcd2.o: $(srcdir)/t-gcd2.c
111: dive.o: $(srcdir)/dive.c
112: t-sqrtrem.o: $(srcdir)/t-sqrtrem.c
113: convert.o: $(srcdir)/convert.c
114: io.o: $(srcdir)/io.c
115: logic.o: $(srcdir)/logic.c
116: t-powm.o: $(srcdir)/t-powm.c
117: t-powm_ui.o: $(srcdir)/t-powm_ui.c
118: reuse.o: $(srcdir)/reuse.c
119:
120: clean mostlyclean:
121: rm -f *.o st-* $(TESTS)
122: distclean maintainer-clean: clean
123: rm -f Makefile config.status
124:
125: Makefile: $(srcdir)/Makefile.in
126: $(SHELL) ./config.status
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>