1#	$NetBSD: Makefile.inc,v 1.5 2017/08/22 09:59:37 mrg Exp $
2
3GMP_LIMB_BITS=64
4
5C_SRCS_LIST= \
6	random.c		mpn/generic/random.c \
7	toom_interpolate_7pts.c		mpn/generic/toom_interpolate_7pts.c \
8	sbpi1_divappr_q.c		mpn/generic/sbpi1_divappr_q.c \
9	random2.c		mpn/generic/random2.c \
10	mu_bdiv_q.c		mpn/generic/mu_bdiv_q.c \
11	mulmid_basecase.c		mpn/generic/mulmid_basecase.c \
12	jacobi_2.c		mpn/generic/jacobi_2.c \
13	toom32_mul.c		mpn/generic/toom32_mul.c \
14	toom44_mul.c		mpn/generic/toom44_mul.c \
15	toom8h_mul.c		mpn/generic/toom8h_mul.c \
16	toom2_sqr.c		mpn/generic/toom2_sqr.c \
17	zero.c		mpn/generic/zero.c \
18	mod_1_4.c		mpn/generic/mod_1_4.c \
19	gcdext.c		mpn/generic/gcdext.c \
20	hamdist.c		mpn/generic/popham.c \
21	sec_powm.c		mpn/generic/sec_powm.c \
22	add_err3_n.c		mpn/generic/add_err3_n.c \
23	binvert.c		mpn/generic/binvert.c \
24	mu_div_q.c		mpn/generic/mu_div_q.c \
25	and_n.c		mpn/generic/logops_n.c \
26	invertappr.c		mpn/generic/invertappr.c \
27	add_n_sub_n.c		mpn/generic/add_n_sub_n.c \
28	dump.c		mpn/generic/dump.c \
29	mu_divappr_q.c		mpn/generic/mu_divappr_q.c \
30	dcpi1_div_qr.c		mpn/generic/dcpi1_div_qr.c \
31	hgcd_reduce.c		mpn/generic/hgcd_reduce.c \
32	matrix22_mul1_inverse_vector.c		mpn/generic/matrix22_mul1_inverse_vector.c \
33	toom6_sqr.c		mpn/generic/toom6_sqr.c \
34	divrem_1.c		mpn/generic/divrem_1.c \
35	hgcd_step.c		mpn/generic/hgcd_step.c \
36	sub_err3_n.c		mpn/generic/sub_err3_n.c \
37	mod_1.c		mpn/generic/mod_1.c \
38	toom42_mulmid.c		mpn/generic/toom42_mulmid.c \
39	sec_div_qr.c		mpn/generic/sec_div.c \
40	andn_n.c		mpn/generic/logops_n.c \
41	divexact.c		mpn/generic/divexact.c \
42	jacobi.c		mpn/generic/jacobi.c \
43	powlo.c		mpn/generic/powlo.c \
44	mul.c		mpn/generic/mul.c \
45	set_str.c		mpn/generic/set_str.c \
46	toom42_mul.c		mpn/generic/toom42_mul.c \
47	toom_interpolate_6pts.c		mpn/generic/toom_interpolate_6pts.c \
48	toom54_mul.c		mpn/generic/toom54_mul.c \
49	dcpi1_divappr_q.c		mpn/generic/dcpi1_divappr_q.c \
50	toom_eval_dgr3_pm2.c		mpn/generic/toom_eval_dgr3_pm2.c \
51	mod_1_3.c		mpn/generic/mod_1_3.c \
52	xor_n.c		mpn/generic/logops_n.c \
53	nior_n.c		mpn/generic/logops_n.c \
54	toom_couple_handling.c		mpn/generic/toom_couple_handling.c \
55	add.c		mpn/generic/add.c \
56	div_qr_2.c		mpn/generic/div_qr_2.c \
57	toom_interpolate_12pts.c		mpn/generic/toom_interpolate_12pts.c \
58	perfsqr.c		mpn/generic/perfsqr.c \
59	toom53_mul.c		mpn/generic/toom53_mul.c \
60	toom_eval_pm2exp.c		mpn/generic/toom_eval_pm2exp.c \
61	mu_div_qr.c		mpn/generic/mu_div_qr.c \
62	toom_interpolate_16pts.c		mpn/generic/toom_interpolate_16pts.c \
63	bdiv_q.c		mpn/generic/bdiv_q.c \
64	sec_invert.c		mpn/generic/sec_invert.c \
65	toom22_mul.c		mpn/generic/toom22_mul.c \
66	bsqrtinv.c		mpn/generic/bsqrtinv.c \
67	toom4_sqr.c		mpn/generic/toom4_sqr.c \
68	div_q.c		mpn/generic/div_q.c \
69	jacbase.c		mpn/generic/jacbase.c \
70	sec_sqr.c		mpn/generic/sec_sqr.c \
71	hgcd_matrix.c		mpn/generic/hgcd_matrix.c \
72	toom_eval_dgr3_pm1.c		mpn/generic/toom_eval_dgr3_pm1.c \
73	mullo_n.c		mpn/generic/mullo_n.c \
74	toom33_mul.c		mpn/generic/toom33_mul.c \
75	mod_1_2.c		mpn/generic/mod_1_2.c \
76	sqrlo.c		mpn/generic/sqrlo.c \
77	sub_1.c		mpn/generic/sub_1.c \
78	add_err2_n.c		mpn/generic/add_err2_n.c \
79	trialdiv.c		mpn/generic/trialdiv.c \
80	add_1.c		mpn/generic/add_1.c \
81	sqr_basecase.c		mpn/generic/sqr_basecase.c \
82	toom_interpolate_5pts.c		mpn/generic/toom_interpolate_5pts.c \
83	sbpi1_bdiv_q.c		mpn/generic/sbpi1_bdiv_q.c \
84	pre_mod_1.c		mpn/generic/pre_mod_1.c \
85	hgcd.c		mpn/generic/hgcd.c \
86	div_qr_1.c		mpn/generic/div_qr_1.c \
87	sqrtrem.c		mpn/generic/sqrtrem.c \
88	bdiv_q_1.c		mpn/generic/bdiv_q_1.c \
89	gcdext_1.c		mpn/generic/gcdext_1.c \
90	toom63_mul.c		mpn/generic/toom63_mul.c \
91	div_qr_2u_pi1.c		mpn/generic/div_qr_2u_pi1.c \
92	mul_basecase.c		mpn/generic/mul_basecase.c \
93	toom8_sqr.c		mpn/generic/toom8_sqr.c \
94	neg.c		mpn/generic/neg.c \
95	gcdext_lehmer.c		mpn/generic/gcdext_lehmer.c \
96	divis.c		mpn/generic/divis.c \
97	dcpi1_div_q.c		mpn/generic/dcpi1_div_q.c \
98	sec_div_r.c		mpn/generic/sec_div.c \
99	toom_eval_pm2.c		mpn/generic/toom_eval_pm2.c \
100	hgcd2.c		mpn/generic/hgcd2.c \
101	toom62_mul.c		mpn/generic/toom62_mul.c \
102	comb_tables.c		mpn/generic/comb_tables.c \
103	sbpi1_bdiv_qr.c		mpn/generic/sbpi1_bdiv_qr.c \
104	sub_err2_n.c		mpn/generic/sub_err2_n.c \
105	scan1.c		mpn/generic/scan1.c \
106	brootinv.c		mpn/generic/brootinv.c \
107	pre_divrem_1.c		mpn/generic/pre_divrem_1.c \
108	perfpow.c		mpn/generic/perfpow.c \
109	get_str.c		mpn/generic/get_str.c \
110	mulmod_bnm1.c		mpn/generic/mulmod_bnm1.c \
111	mullo_basecase.c		mpn/generic/mullo_basecase.c \
112	ior_n.c		mpn/generic/logops_n.c \
113	tdiv_qr.c		mpn/generic/tdiv_qr.c \
114	sec_pi1_div_qr.c		mpn/generic/sec_pi1_div.c \
115	div_qr_2n_pi1.c		mpn/generic/div_qr_2n_pi1.c \
116	toom43_mul.c		mpn/generic/toom43_mul.c \
117	mod_1_1.c		mpn/generic/mod_1_1.c \
118	matrix22_mul.c		mpn/generic/matrix22_mul.c \
119	sec_pi1_div_r.c		mpn/generic/sec_pi1_div.c \
120	xnor_n.c		mpn/generic/logops_n.c \
121	iorn_n.c		mpn/generic/logops_n.c \
122	divrem.c		mpn/generic/divrem.c \
123	bsqrt.c		mpn/generic/bsqrt.c \
124	gcd_1.c		mpn/generic/gcd_1.c \
125	dcpi1_bdiv_qr.c		mpn/generic/dcpi1_bdiv_qr.c \
126	mul_n.c		mpn/generic/mul_n.c \
127	redc_2.c		mpn/generic/redc_2.c \
128	toom6h_mul.c		mpn/generic/toom6h_mul.c \
129	sqrmod_bnm1.c		mpn/generic/sqrmod_bnm1.c \
130	mul_fft.c		mpn/generic/mul_fft.c \
131	mulmid.c		mpn/generic/mulmid.c \
132	powm.c		mpn/generic/powm.c \
133	rootrem.c		mpn/generic/rootrem.c \
134	cnd_sub_n.c		mpn/generic/cnd_sub_n.c \
135	cnd_add_n.c		mpn/generic/cnd_add_n.c \
136	toom_interpolate_8pts.c		mpn/generic/toom_interpolate_8pts.c \
137	remove.c		mpn/generic/remove.c \
138	lshiftc.c		mpn/generic/lshiftc.c \
139	sec_mul.c		mpn/generic/sec_mul.c \
140	dive_1.c		mpn/alpha/dive_1.c \
141	cmp.c		mpn/generic/cmp.c \
142	toom_eval_pm1.c		mpn/generic/toom_eval_pm1.c \
143	nand_n.c		mpn/generic/logops_n.c \
144	hgcd_appr.c		mpn/generic/hgcd_appr.c \
145	cnd_swap.c		mpn/generic/cnd_swap.c \
146	scan0.c		mpn/generic/scan0.c \
147	gcd_subdiv_step.c		mpn/generic/gcd_subdiv_step.c \
148	sbpi1_div_qr.c		mpn/generic/sbpi1_div_qr.c \
149	invert.c		mpn/generic/invert.c \
150	sub.c		mpn/generic/sub.c \
151	sqrlo_basecase.c		mpn/generic/sqrlo_basecase.c \
152	toom_eval_pm2rexp.c		mpn/generic/toom_eval_pm2rexp.c \
153	sec_sub_1.c		mpn/generic/sec_aors_1.c \
154	broot.c		mpn/generic/broot.c \
155	sec_add_1.c		mpn/generic/sec_aors_1.c \
156	popcount.c		mpn/generic/popham.c \
157	dcpi1_bdiv_q.c		mpn/generic/dcpi1_bdiv_q.c \
158	hgcd2_jacobi.c		mpn/generic/hgcd2_jacobi.c \
159	add_err1_n.c		mpn/generic/add_err1_n.c \
160	mulmid_n.c		mpn/generic/mulmid_n.c \
161	redc_1.c		mpn/generic/redc_1.c \
162	sqr.c		mpn/generic/sqr.c \
163	nussbaumer_mul.c		mpn/generic/nussbaumer_mul.c \
164	zero_p.c		mpn/generic/zero_p.c \
165	mu_bdiv_qr.c		mpn/generic/mu_bdiv_qr.c \
166	pow_1.c		mpn/generic/pow_1.c \
167	get_d.c		mpn/generic/get_d.c \
168	toom52_mul.c		mpn/generic/toom52_mul.c \
169	sbpi1_div_q.c		mpn/generic/sbpi1_div_q.c \
170	diveby3.c		mpn/generic/diveby3.c \
171	fib2_ui.c		mpn/generic/fib2_ui.c \
172	bdiv_qr.c		mpn/generic/bdiv_qr.c \
173	hgcd_jacobi.c		mpn/generic/hgcd_jacobi.c \
174	div_qr_1n_pi1.c		mpn/generic/div_qr_1n_pi1.c \
175	sizeinbase.c		mpn/generic/sizeinbase.c \
176	toom3_sqr.c		mpn/generic/toom3_sqr.c \
177	gcd.c		mpn/generic/gcd.c \
178	redc_n.c		mpn/generic/redc_n.c \
179	sub_err1_n.c		mpn/generic/sub_err1_n.c \
180
181ASM_SRCS_LIST= \
182	sqr_diag_addlsh1.asm		mpn/alpha/sqr_diag_addlsh1.asm \
183	sec_tabselect.asm		mpn/alpha/sec_tabselect.asm \
184	add_n.asm		mpn/alpha/add_n.asm \
185	sublsh1_n.asm		mpn/alpha/aorslsh1_n.asm \
186	cntlz.asm		mpn/alpha/cntlz.asm \
187	submul_1.asm		mpn/alpha/submul_1.asm \
188	umul.asm		mpn/alpha/umul.asm \
189	lshift.asm		mpn/alpha/lshift.asm \
190	mul_1.asm		mpn/alpha/mul_1.asm \
191	addlsh2_n.asm		mpn/alpha/aorslsh2_n.asm \
192	copyd.asm		mpn/alpha/copyd.asm \
193	bdiv_dbm1c.asm		mpn/alpha/bdiv_dbm1c.asm \
194	com.asm		mpn/alpha/com.asm \
195	copyi.asm		mpn/alpha/copyi.asm \
196	rshift.asm		mpn/alpha/rshift.asm \
197	mod_34lsub1.asm		mpn/alpha/mod_34lsub1.asm \
198	sublsh2_n.asm		mpn/alpha/aorslsh2_n.asm \
199	mode1o.asm		mpn/alpha/mode1o.asm \
200	addlsh1_n.asm		mpn/alpha/aorslsh1_n.asm \
201	invert_limb.asm		mpn/alpha/invert_limb.asm \
202	addmul_1.asm		mpn/alpha/addmul_1.asm \
203	divrem_2.asm		mpn/alpha/divrem_2.asm \
204	sub_n.asm		mpn/alpha/sub_n.asm \
205