1 | lib_LIBRARIES = libfactory.a libfactory_g.a |
---|
2 | |
---|
3 | # factory source files |
---|
4 | SOURCES := \ |
---|
5 | canonicalform.cc \ |
---|
6 | cf_algorithm.cc \ |
---|
7 | cf_binom.cc \ |
---|
8 | cf_char.cc \ |
---|
9 | cf_chinese.cc \ |
---|
10 | cf_cyclo.cc \ |
---|
11 | cf_eval.cc \ |
---|
12 | cf_factor.cc \ |
---|
13 | cf_factory.cc \ |
---|
14 | cf_gcd.cc \ |
---|
15 | cf_gcd_charp.cc \ |
---|
16 | cf_gcd_smallp.cc \ |
---|
17 | cf_generator.cc \ |
---|
18 | cfGEval.cc \ |
---|
19 | cf_globals.cc \ |
---|
20 | cf_hnf.cc \ |
---|
21 | cf_inline.cc \ |
---|
22 | cf_irred.cc \ |
---|
23 | cf_iter.cc \ |
---|
24 | cf_iter_inline.cc \ |
---|
25 | cf_linsys.cc \ |
---|
26 | cf_map.cc \ |
---|
27 | cf_map_ext.cc \ |
---|
28 | cf_ops.cc \ |
---|
29 | cf_primes.cc \ |
---|
30 | cf_random.cc \ |
---|
31 | cf_resultant.cc \ |
---|
32 | cf_reval.cc \ |
---|
33 | cf_switches.cc \ |
---|
34 | cf_util.cc \ |
---|
35 | debug.cc \ |
---|
36 | DegreePattern.cc \ |
---|
37 | ExtensionInfo.cc \ |
---|
38 | facAlgExt.cc \ |
---|
39 | fac_berlekamp.cc \ |
---|
40 | fac_cantzass.cc \ |
---|
41 | fac_distrib.cc \ |
---|
42 | fac_ezgcd.cc \ |
---|
43 | fac_iterfor.cc \ |
---|
44 | fac_multihensel.cc \ |
---|
45 | fac_multivar.cc \ |
---|
46 | fac_sqrfree.cc \ |
---|
47 | fac_univar.cc \ |
---|
48 | fac_util.cc \ |
---|
49 | facFqBivar.cc \ |
---|
50 | facFqBivarUtil.cc \ |
---|
51 | facFqFactorize.cc \ |
---|
52 | facFqFactorizeUtil.cc \ |
---|
53 | facFqSquarefree.cc \ |
---|
54 | facHensel.cc \ |
---|
55 | facIrredTest.cc \ |
---|
56 | fieldGCD.cc \ |
---|
57 | ffops.cc \ |
---|
58 | ffreval.cc \ |
---|
59 | gf_tabutil.cc \ |
---|
60 | gfops.cc \ |
---|
61 | imm.cc \ |
---|
62 | int_cf.cc \ |
---|
63 | int_int.cc \ |
---|
64 | int_intdiv.cc \ |
---|
65 | int_poly.cc \ |
---|
66 | int_pp.cc \ |
---|
67 | int_rat.cc \ |
---|
68 | sm_sparsemod.cc \ |
---|
69 | sm_util.cc \ |
---|
70 | variable.cc \ |
---|
71 | NTLconvert.cc \ |
---|
72 | abs_fac.cc \ |
---|
73 | bifac.cc \ |
---|
74 | lgs.cc \ |
---|
75 | singext.cc |
---|
76 | |
---|
77 | libfactory_a_SOURCES = $(SOURCES) |
---|
78 | libfactory_g_a_SOURCES = $(SOURCES) |
---|
79 | |
---|
80 | # factory header files |
---|
81 | HEADERS := \ |
---|
82 | cf_assert.h \ |
---|
83 | canonicalform.h \ |
---|
84 | cf_algorithm.h \ |
---|
85 | cf_binom.h \ |
---|
86 | cf_defs.h \ |
---|
87 | cf_eval.h \ |
---|
88 | cf_factory.h \ |
---|
89 | cf_generator.h \ |
---|
90 | cfGEval.h \ |
---|
91 | cf_globals.h \ |
---|
92 | cf_gcd_smallp.h \ |
---|
93 | cf_hnf.h \ |
---|
94 | cf_irred.h \ |
---|
95 | cf_iter.h \ |
---|
96 | cf_map.h \ |
---|
97 | cf_primes.h \ |
---|
98 | cf_primetab.h \ |
---|
99 | cf_random.h \ |
---|
100 | cf_reval.h \ |
---|
101 | cf_switches.h \ |
---|
102 | cf_util.h \ |
---|
103 | debug.h \ |
---|
104 | DegreePattern.h \ |
---|
105 | ExtensionInfo.h \ |
---|
106 | facAlgExt.h \ |
---|
107 | fac_berlekamp.h \ |
---|
108 | fac_cantzass.h \ |
---|
109 | fac_distrib.h \ |
---|
110 | fac_iterfor.h \ |
---|
111 | fac_multivar.h \ |
---|
112 | fac_sqrfree.h \ |
---|
113 | fac_univar.h \ |
---|
114 | fac_util.h \ |
---|
115 | facFqBivar.h \ |
---|
116 | facFqBivarUtil.h \ |
---|
117 | facFqFactorize.h \ |
---|
118 | facFqFactorizeUtil.h \ |
---|
119 | facFqSquarefree.h \ |
---|
120 | facHensel.h \ |
---|
121 | facIrredTest.h \ |
---|
122 | fieldGCD.h \ |
---|
123 | ffops.h \ |
---|
124 | ffreval.h \ |
---|
125 | ftmpl_list.h \ |
---|
126 | ftmpl_matrix.h \ |
---|
127 | gf_tabutil.h \ |
---|
128 | gfops.h \ |
---|
129 | gmpext.h \ |
---|
130 | imm.h \ |
---|
131 | int_cf.h \ |
---|
132 | int_int.h \ |
---|
133 | int_poly.h \ |
---|
134 | int_pp.h \ |
---|
135 | int_rat.h \ |
---|
136 | sm_sparsemod.h \ |
---|
137 | sm_util.h \ |
---|
138 | timing.h \ |
---|
139 | variable.h \ |
---|
140 | NTLconvert.h \ |
---|
141 | bifac.h \ |
---|
142 | bifacConfig.h \ |
---|
143 | lgs.h \ |
---|
144 | algext.h \ |
---|
145 | singext.h |
---|
146 | |
---|
147 | include_HEADERS = $(HEADERS) |
---|
148 | |
---|
149 | # Documentation |
---|
150 | include $(top_srcdir)/aminclude.am |
---|
151 | |
---|
152 | doxysrc := $(SOURCES) parseutil.cc |
---|
153 | doxyincl := $(HEADERS) parseutil.h |
---|
154 | |
---|
155 | # files and environment variables to export for doxygen |
---|
156 | doxyfiles := $(addprefix $(srcdir)/,$(doxysrc) $(doxyincl)) |
---|
157 | |
---|
158 | # doxygen targets |
---|
159 | doxy: factory.cfg $(doxysrc) $(doxyincl) |
---|
160 | doxygen $< |
---|
161 | |
---|
162 | doxyclean: |
---|
163 | rm -rf doxygen |
---|
164 | |
---|
165 | # Support for building GF(q)-tables |
---|
166 | |
---|
167 | templatesrc := \ |
---|
168 | ftmpl_array.cc \ |
---|
169 | ftmpl_factor.cc \ |
---|
170 | ftmpl_functions.h \ |
---|
171 | ftmpl_list.cc \ |
---|
172 | ftmpl_matrix.cc |
---|
173 | templateincl := \ |
---|
174 | ftmpl_array.h \ |
---|
175 | ftmpl_factor.h \ |
---|
176 | ftmpl_list.h \ |
---|
177 | ftmpl_matrix.h |
---|
178 | |
---|
179 | noinst_PROGRAMS = gengftables |
---|
180 | |
---|
181 | gengftables_SOURCES = gengftables-conway.cc ftmpl_inst.cc |
---|
182 | |
---|
183 | gftables: gengftables |
---|
184 | @echo "This command will take quite a long time to execute;" |
---|
185 | @echo "maybe you want to get the tables directly via ftp (see" |
---|
186 | @echo "the INSTALL file)." |
---|
187 | $(MKINSTALLDIRS) gftables |
---|
188 | ./gengftables |
---|
189 | |
---|
190 | # These files listed below are not used anywhere but are included in |
---|
191 | # the distribution. So they will be tacked on to EXTRA_DIST. |
---|
192 | |
---|
193 | # header templates |
---|
194 | hdrtemplsrc := \ |
---|
195 | factoryconf.template \ |
---|
196 | factory.template |
---|
197 | |
---|
198 | # FTE source files |
---|
199 | ftestsrc := \ |
---|
200 | ftest_io.cc \ |
---|
201 | ftest_util.cc \ |
---|
202 | ntl_util.cc |
---|
203 | |
---|
204 | # FTE header files |
---|
205 | ftestincl := \ |
---|
206 | ftest_io.h \ |
---|
207 | ftest_util.h \ |
---|
208 | ntl_util.h |
---|
209 | |
---|
210 | # FTE m4 source files (exported for `GNUmakefile' in `ftest/'). |
---|
211 | # The variable `$(ftestm4develsrc)' may be already initialized |
---|
212 | # from the development `GNUmakefile'. |
---|
213 | ftestm4src := $(ftestm4develsrc) \ |
---|
214 | commonden.m4 \ |
---|
215 | degree.m4 \ |
---|
216 | deriv.m4 \ |
---|
217 | divides.m4 \ |
---|
218 | divrem.m4 \ |
---|
219 | extgcd.m4 \ |
---|
220 | factorize.m4 \ |
---|
221 | fbinops.m4 \ |
---|
222 | feval.m4 \ |
---|
223 | gcd.m4 \ |
---|
224 | gcd.ntl.m4 \ |
---|
225 | insert.m4 \ |
---|
226 | norm.m4 \ |
---|
227 | resultant.m4 \ |
---|
228 | revert.m4 \ |
---|
229 | sqrfree.m4 \ |
---|
230 | size.m4 \ |
---|
231 | totaldegree.m4 |
---|
232 | |
---|
233 | # other files from the FTE |
---|
234 | ftestdistfiles := \ |
---|
235 | ChangeLog \ |
---|
236 | GNUmakefile.in \ |
---|
237 | ftest_util.m4 |
---|
238 | |
---|
239 | EXTRA_DIST := readcf.cc ftmpl_inst.cc \ |
---|
240 | gengftables.cc gengftables-conway.cc test_install.cc \ |
---|
241 | parseutil.cc \ |
---|
242 | readcf.y \ |
---|
243 | $(templatesrc) $(templateincl) $(hdrtemplsrc) \ |
---|
244 | $(ftestsrc) $(ftestincl) $(ftestm4src) $(ftestdistfiles) \ |
---|
245 | doxygen.cfg factory.cfg gen_cf_gmp.template \ |
---|
246 | examples/application.cc \ |
---|
247 | examples/factorize.cc examples/gcd.cc \ |
---|
248 | bin/folding.el bin/fold-docu.el \ |
---|
249 | bin/makeheader bin/gen-readcf |
---|